creating nested structures
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 9
- Joined: Fri Jan 30, 2009 6:57 pm
creating nested structures
How can I do the following, using XSLT:
source XML:
<elements>
<elementA/>
<elementB/>
<elementA/>
<elementB/>
<elementC/>
<elements>
destination XML:
<elementsZ>
<elementsX>
<elementA/>
<elementB/>
<elementA/>
<elementB/>
<elementsX>
<elementC/>
<elementsZ>
When I use a "for-each... elementA"
I get the elementA-elements in the right orther,
but how do I get de following elementB, with it ?
Kind Regards,
Droom
source XML:
<elements>
<elementA/>
<elementB/>
<elementA/>
<elementB/>
<elementC/>
<elements>
destination XML:
<elementsZ>
<elementsX>
<elementA/>
<elementB/>
<elementA/>
<elementB/>
<elementsX>
<elementC/>
<elementsZ>
When I use a "for-each... elementA"
I get the elementA-elements in the right orther,
but how do I get de following elementB, with it ?
Kind Regards,
Droom
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Re: creating nested structures
Hi,
I do not understand your problem and I cannot see the link between your input and your output. Maybe you can try again, eventually also showing your XSLT that you tried so far.
Regards,
George
I do not understand your problem and I cannot see the link between your input and your output. Maybe you can try again, eventually also showing your XSLT that you tried so far.
Regards,
George
George Cristian Bina
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service