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.

Recursive Options · View
lai43235
Posted: Wednesday, November 11, 2009 8:19:05 PM
Rank: Member

Joined: 8/26/2008
Posts: 16
Location: OH
I have a recursive mixed text field in the input, see attachment. I have the same recursive field in the output.

Is there any way to map those recursive field with arbitrary levels into output?


lai43235 attached the following image(s):
recursive.GIF

vlad
Posted: Wednesday, November 11, 2009 9:09:00 PM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,856
Location: Mauritius
If you have exactly the same field on target side, then all you need is to connect parent element and modify the connection to a Copy-All.
lai43235
Posted: Thursday, November 12, 2009 7:40:53 PM
Rank: Member

Joined: 8/26/2008
Posts: 16
Location: OH
does copy-all work with mixed content? I tried it with mixed content but it failed.
vlad
Posted: Thursday, November 12, 2009 8:29:01 PM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,856
Location: Mauritius
I knew that you are using mixed content, therefore I've tried exactly this before posting my answer - yes, it works.

What version of MapForce are you using? If v2010, can you post your schema and explain what didn't work on your side.
lai43235
Posted: Friday, November 13, 2009 12:57:51 PM
Rank: Member

Joined: 8/26/2008
Posts: 16
Location: OH
I am using 2008 rel 2 sp2. We are going to upgrade to the newest soon. Will copy-all work with mixed content using 2008 version?
vlad
Posted: Friday, November 13, 2009 4:30:19 PM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,856
Location: Mauritius
You can answer this question better than me - just try.
lai43235
Posted: Friday, November 13, 2009 6:59:33 PM
Rank: Member

Joined: 8/26/2008
Posts: 16
Location: OH
I tried and it failed. I got the following error while trying to generate output.

nomenclature.mfd: Execution failed - 1 error(s), 0 warning(s)
XQuery Transformation failed: Unexpected token - "for $ttitle_simple in $so"

The output generation is fine if I use mixed content link (vs copy-all link)
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

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