Sorting a nodeset inside a variable Options
mattjk
Posted: Monday, March 10, 2008 8:14:18 AM
Rank: Devotee

Joined: 3/14/2007
Posts: 49
Hi,

Is there any way to sort a nodeset and store the sorted output in variable? I understand sorting in for-each loops, but I want to be able to do something like:

<xsl:variable name="testNodeSet" select="$someRootNode::descendant" />

And have the resultant nodes stored in $testNodeSet sorted by, for example, their creation date.

Is this possible?

Thanks.
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.