[no subject]

From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 9 Sep 2003 17:27:27 +0100
In-reply-to: <5295.1063122940@xxxxxxxxxxxxx> (message from marcel salathe on
	Tue, 9 Sep 2003 17:55:40 +0200 (MEST))
Subject: Re: [xsl] sorting AND copying of XML via XSL
FCC: ~/Mail/sent
References:  <5295.1063122940@xxxxxxxxxxxxx>
--text follows this line--

<xsl:template match="foo">
<foo>
<xsl:for-each select="bar">
<xsl:sort select="@id" datatype="number"/>
<bar>
<xsl:copy-of select="@*"/>
<xsl:for-each select="item">
<xsl:sort select="@id" datatype="number"/>
<xsl:copy-of select="."/>
</xsl:for-each>
</xsl:for-each>
</foo>
</xsl:template>

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • [no subject]
    • David Carlisle - Tue, 9 Sep 2003 17:27:27 +0100 <=