Re: [xsl] Order of items in current-group()

Subject: Re: [xsl] Order of items in current-group()
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Wed, 24 Feb 2010 20:02:02 +0100
Vladimir Nesterovsky wrote:

Whether the xslt 2.0 spec defines the order of items in sequence returned from current-group() function?

The select attribute of xsl:for-each-group selects a sequence of items, called the population. The order of items in that sequence is called the population order. When forming the groups, the items in the population are examined in population order and then, if they belong to a group, added to a group. So that way the order of items in the population determines the order of items in a group.


--

	Martin Honnen
	http://msmvps.com/blogs/martin_honnen/

Current Thread