xsl-list
[Top] [All Lists]

Re: sort problem

2002-09-05 02:11:31
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



<Prev in Thread] Current Thread [Next in Thread>