IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Profile: thzman
About
User Name: thzman
Forum Rank: Newbie
Real Name:
Location Sweden
Occupation:
Interests:
Gender: None Specified
Statistics
Joined: Monday, March 25, 2019
Last Visit: Tuesday, October 1, 2019 2:40:08 PM
Number of Posts: 2
[0.01% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: How to do Copy-of?
Posted: Tuesday, October 1, 2019 2:40:08 PM
Ahhh…... Excellent!
Exactly what I was looking for.


Thanks for the quick reply!

Topic: How to do Copy-of?
Posted: Tuesday, October 1, 2019 1:48:56 PM
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?

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.