Subject: Re: sort problem
From: Peter Davis <pdavis152@xxxxxxxxx>
Date: Thu, 5 Sep 2002 02:11:31 -0700
|
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
|