on 02-18-2008 2:40 PM
Hello,
I've got following source structure.
<struct>
<field>
</field>
<field1>
</field1>
<field2>
</field2>
<field3>
</field4>
</struct>
Is it possible to multiply the complete struct in one mapping or have I to create serveral mappings with "useoneasmany" for each <field*> Tag
Thanks Christian
Christian,
I would suggest you to go for CopyValue function.
field1->Copyvalue(0)-->field1
field2->Copyvalue(0)-->field2
field3->Copyvalue(0)-->field3
The above will solve your problem. One more thing, what's the occurence of field1....field3, is it 0..1 or 1..1?
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes,
the source structure is following:
<struct>
<field>
</field>
<field1>
</field1>
<field2>
</field2>
<field3>
</field4>
</struct>
<table>
<item>
<field></field>
<field></field>
</item> (occurance 0..unbounded)
</table>
this i want to map to following struc
<line> (0..unbounded)
<struct>
<field>
</field>
<field1>
</field1>
<field2>
</field2>
<field3>
</field4>
</struct>
<field></field>
<field></field>
</line>
I hope you understand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
target structure is
<bla>
<struct>
<field>
</field>
<field1>
</field1>
<field2>
</field2>
<field3>
</field4>
</struct>
<field5></field5>
<field6></field6>
<bla>
<bla1>
<struct>
<field>
</field>
<field1>
</field1>
<field2>
</field2>
<field3>
</field4>
</struct>
<field7></field7>
<field8></field8>
<bla1>
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
how does your target structure look like and how exactly you want to map your source to your target?
Regards
Patrick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.