
How to loop through data in a XML
If you have data in a XML which is in an array. For example:
<members>
<member>
<name>Jack</name>
</member>
<member>
<name>Dwight</name>
</member>
</members>
In an action how can I loop through the members? Parsing the members in a collection didn't work for me. By doing 'xpath(var:response, "/members", true) in the expression of a collection. How can I loop through the members?
If you have data in a XML which is in an array. For example:
<members>
<member>
<name>Jack</name>
</member>
<member>
<name>Dwight</name>
</member>
</members>
In an action how can I loop through the members? Parsing the members in a collection didn't work for me. By doing 'xpath(var:response, "/members", true) in the expression of a collection. How can I loop through the members?
Login to reply