|
|
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):

|
|
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.
|
|
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.
|
|
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.
|
|
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?
|
|
Rank: Advanced Member
Joined: 12/13/2005 Posts: 2,856 Location: Mauritius
|
You can answer this question better than me - just try.
|
|
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)
|
|
|
guest |