[xsl] xsl:perform-sort (in 2.0)

Subject: [xsl] xsl:perform-sort (in 2.0)
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 5 Apr 2005 11:30:39 +0100
I just noticed this new instruction (although it was in the last draft
as well)

Is there any difference bewteen

  <xsl:perform-sort select="$in">
    <xsl:sort select="."/>
  </xsl:perform-sort>

and

  <xsl:for-each select="$in">
    <xsl:sort select="."/>
    <xsl:copy-of select="."/>
  </xsl:for-each>

either from a definitional or efficiency point of view?

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. 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
________________________________________________________________________

Current Thread