Skip to Content
0
Former Member
Sep 24, 2008 at 12:36 PM

Manipulating XML

23 Views

Hi all,

I have to create in a transaction an XML variable with multiple occurrencies of an element.

I mean

<xml>

<record>

<el1>el1</el1>

<el2>el2</el2>

</record>

<record>

<el1>el1</el1>

<el2>el2</el2>

</record>

</xml>

What is the best way to do it? With a simple xml, without multiple occurrencies, I created an xml variable with the XML structure and used XPath, in the assignment action, to populate it. What about multiple occurrencies of an element (like 'record' in my example)?

Thank you