[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Splitting multiple node occurrences into separate xmls

Subject: Splitting multiple node occurrences into separate xmls
From: "Vishwajit Pantvaidya" <pantvaidya@xxxxxxxxxxx>
Date: Thu, 28 Apr 2005 12:58:01 -0700
splitting xmls nodes
I need to do a transformation that will take an input xml string in a format that is something like
and apart from transforming it, will split the multiple node occurrences for "a" into different xml's i.e.

I was thnking that if xsl offers some kind of looping facility, that may help. But then xsl transformation presumably being single-input, single-output process, just an xsl maynot by itself suffice. Is there a possibility that somehow I can have a java loop pass a looping variable into the xsl-sheet, so that the first transformation gives me the first occurrence of "a", and so on.

Another approach could be to let the xsl transformation return a single xml that has the multiple "a" occurrences and then subsequently seperate them out by carrying out XPath/DOM operations on the transformed xml.

- Vishwajit.

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.