New topic Closed topic
avatar image
1
How to loop through data in a XML
By Created , last editted

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?

Answers
Sort by:

This topic is closed.