This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: sort problem
- From: Peter Davis <pdavis152 at attbi dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 5 Sep 2002 02:11:31 -0700
- Subject: Re: [xsl] sort problem
- References: <000e01c254b4$66add530$6401a8c0@pcukmka>
- Reply-to: xsl-list at lists dot mulberrytech dot com
On Thursday 05 September 2002 01:15, Michael Kay wrote:
> If the template rule is
>
> <xsl:template match="@*">
> <xsl:element name="{name()}">
> <xsl:value-of select="."/>
> </xsl:element>
> </xsl:template>
>
> then the sort does make a difference: it guarantees that the output
> elements will be in alphabetical order by name.
That is if you really want to be pedantic :)
He was just using an identity template, in which case it won't matter (except
for his canonicalization stuff -- in another post).
--
Peter Davis
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list