09-02-04 11:19 PM
Seems like a pretty basic operation, but I can't seem to make it
happen
Source:
<Root>
<Item>
<Name>A</Name>
<Value>1</Value>
</Item>
<Item>
<Name>B</Name>
<Value>2</Value>
</Item>
</Root>
Destination:
<Root>
<A></A>
<B></B>
</Root>
I've got a map set up with two equals functoids linking into
value-mapper functoids. The equals functoid has link from the Name
node in the source schema and a constant "A". The Value Mapper has a
second input from the Value node.
Iduplicated this for "B" as well. The equal/value functionality seems
to work, but my dest xml always looks like:
<Root>
<A>1</A>
</Root>
I can't get the B node in the dest xml. I know I need to use a looping
functoid, but i've added input links from 1 to All nodes in the source
schema, and the dest xml always looks the same.
Hope this makes sense. I'm thining its simple...I just can't make it
work.
[ Post a follow-up to this message ]
|