@wc_sumpton said in Problem with foreach:
@rogercooper
variableList section is within attachmentList section. variableList needs its own section like resourceList, playerList, unitList.
Most xml's have variableList section at the top prior to the map section.
Cheers...
Thank you for your help. That fixed it.