xsl-list
[Top] [All Lists]

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

2010-02-24 13:02:30
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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--