|
Rank: Newbie
Joined: 3/25/2019 Posts: 2 Location: Sweden
|
Hi!
I'm doing a tranformation where the input file contains a field that is a XML structure. It's stored in the database "as is" and is just needed to be copied over to the output in the correct place accodring to the output schema file.
If I do it in XSLT code it simply looks like this:
Quote:<xsl:copy-of select="/print_file/datalist/specification/DocumentSpecifications"/>
What I can't seem to figure out is how to do this in MapForce? I don't want to map each individual field, I just want to copy the whole structure since it's up to the customer to send the correct XML structure in this node.
See the attached pictures. There must be some way to do this other than to export the code and edit it by hand, right? thzman attached the following image(s):
|
|
Rank: Advanced Member
Joined: 6/16/2006 Posts: 486 Location: AT
|
Connect DocumentSpecifications (instead of "specification") to DocumentSpecifications, right-click the connection and select "Copy-All".
|
|
Rank: Newbie
Joined: 3/25/2019 Posts: 2 Location: Sweden
|
Ahhh…... Excellent! Exactly what I was looking for.
Thanks for the quick reply!
|
|
guest |