Write an identity template
http://www.dpawson.co.uk/xsl/sect2/identity.html
, and supplement with
<xsl:template match="Slide">
<Slide>
<xsl:copy-of select="Title"/>
<xsl:copy-of select="Filename"/>
</Slide>
</xsl:template>
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: Don Rinderknecht [mailto:developer(_at_)lcrweb(_dot_)com]
Sent: 09 December 2005 01:24
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Change Element Order?
Hi,
I am transforming XML to XML... and I'm new at this!
I have:
<Presentation>
<Slide>
<Filename>File1.swf</Filename>
<Title>XYZ Title</Title>
</Slide>
</Presentation>
But I want:
<Presentation>
<Slide>
<Title>XYZ Title</Title>
<Filename>File1.swf</Filename>
</Slide>
</Presentation>
I haven't been able to figure this out. Any ideas?
Thanks,
Don
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--