Subject:XML to XML using Mapper Author:V NV Date:07 Dec 2005 06:15 AM
Hi,
I have a source and target xml document, and I'm trying to use the XSLT Mapper feature of Stylus Studio to generate a xsl file, I'm not able to.
If someone can help me in generating the xsl file, I would appreciate it.
When I use the mapper, I can see the source document in the Source pane. I'm not able to graphically delete the last 2 <Member> elements.
Subject:XML to XML using Mapper Author:V NV Date:08 Dec 2005 02:04 AM
Thanks for the reply. But this works only if the source xml file has only one 'dad' element. My xml file has several 'dad' elements, and I was trying to generalize this zsl by using 'for-each' etc.
I was hoping that the mapper would do this for me. I'm still not sure how to use the mapper?
Subject:XML to XML using Mapper Author:Minollo I. Date:08 Dec 2005 09:08 AM
You can open the XSLT in mapper, delete one of the links and create it again to make it a "repeatable" link. When drag&dropping one source node to the target, do that using the right button of the mouse, and you'll notice you have quite a few choices to model the mapping.
That way you'll be able to change the handling of the "Dad" element to loop (for-each) on all its occurrences.