This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sort problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]