This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
WG: How to reorder an XML tree?
- To: "'XSL-List at lists dot mulberrytech dot com'" <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl] WG: How to reorder an XML tree?
- From: "Griebel, Peer" <Peer dot Griebel at entire dot de>
- Date: Tue, 19 Jun 2001 15:24:39 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi,
I would like to mostly copy an XML file unmodified. BUT some single sub-tree
should be moved to a different location - regardless of it's original
position.
Example (each of these elements can be quite complex):
<o id="a">
<o id="b"/>
</o>
<o id="c"/>
<o id="d"/>
should result in
<o id="a"/>
<o id="c"/>
<o id="d">
<o id="b"/>
</o>
The same XSLT should also process the following input to the output shown
above:
<o id="a"/>
<o id="c">
<o id="b"/>
</o>
<o id="d"/>
Should be simple - I hope - I'm just a beginner.
Thank you for your help!
connection reset by
Peer
--
Dr. Peer Griebel Tel: +49(0) 731 / 9 74 95-0
Dipl. Inform. Fax: +49(0) 731 / 9 74 95-20
Entire Software AG mailto:Peer.Griebel@entire.de
Pfarrer-Weiß-Weg 10 - 12
D-89077 Ulm http://www.entire.de
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list