Setting up the Extraction XML Collection Action
Use the Extract XML Collection action to extract a row or a collection of rows from an XML string or from a section of an XML string. Each row in the collection must have the same predefined set of properties.
A collection extracted in this way is equivalent in operation to one resulting from a Load Collection event action. This means that:
- It can be manipulated by a subsequent Update Collection action.
- On any subsequent relevant action, it can be converted back to an XML string using the XML() function.
- On any subsequent relevant action, its rows can be iterated using the ROWS() function, and each row's properties can be referenced using the P() or FP() functions.
This event action provides a convenient way to work with XML data without having to parse through the tags.
To set up the action and its parameters: