Subject: WG: How to reorder an XML tree?
From: "Griebel, Peer" <Peer.Griebel@xxxxxxxxx>
Date: Tue, 19 Jun 2001 15:24:39 +0200
|
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@xxxxxxxxx
Pfarrer-Weiß-Weg 10 - 12
D-89077 Ulm http://www.entire.de
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|