cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Manipulating XML

Former Member
0 Likes
198

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

View Entire Topic
Former Member
0 Likes

Append or append after xml in the links editor. fiddle with it using tracers till you get the desired output.

Regards,

Christian