ColdFusion - how to loop through XML output and adding to struct or array?
问题 I am trying to create a list of Chapter Officers and their respective positions. The data comes from a series of XML key/value pairs accessed via web service (Key: Member_Name, Value: Joe Member. Key: Position_Name, Value: President, and so forth.) Each officer for a given chapter has their own Member_Name and Position_Name. The API I am working with will only return an entire object, so I set up an array to convert the XML name and hold everything: <cfset keyValue = xmlSearch(soapBody,"//*