Hello All,
I have a map. The schema on the left has a repeating node, where the node has two attributes, say "att1" and "att2". Keep in mind that this node only appears once on the left, it just happens to be repeatable. The schema on the right is flat, a bunch of nodes at the same level. I need to map the att2 values to the nodes on the right, but their location is dependant on att1. That is:
On the left
===========
<base>
<foo att1="mostfavorite" att2="apple"/>
</base>
<base>
<foo att1="leastfavorite" att2="pear"/>
</base>
and I need on right
===================
<loveit>apple</loveit>
<hateit>pear</hateit>
The <loveit> node gets populated with the att2 in <foo> where att1="mostfavorite", and similarly with leastfavorite.
Seems simple enough. I tried a table looping functoid and I can gather up the values, but I can't figure out how to get them into their appropriate destination nodes.
Any help would be helpful. Details appreciated.
Thanks,
Chris