Hi!
The left side has a looping name-value set. The values identified by their names have to be spread across three nested elements on the right and stored in the attributes of those elements. Example of the left side XML:
<name-value-pair>
<name>Name1</name>
<value>value1</value>
<name>Name2</name>
<value>value2</value>
<name>Name3</name>
<value>value3</value>
</name-value-pair>
Example of the right side that I need to arrive at:
<element1 attrib11=value1>
<element2 attrib22=value2>
<element3 attrib33=value3/>
</element2>
</element1>
I tried looping the name-value-set and using conditional equal functoid to cause creation of the elements, but it only works on the bottom most level, element3. It sounds like multiple looping has to be used on the same name-value set, but then how do I cause creation of only one element1 and one element2?
Thx!