[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] things about grouping

Subject: Re: [xsl] things about grouping
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Thu, 29 Nov 2012 08:15:14 +0000

> the comma operator corresponds to union written as | (by definition a
> set is unordered so the additional ordering constraint imposed by the
> , operator is meaningless)

The comma is just a way of separating items in sequence, whereas union
de-dupes and sorts into document order.

select="@foo, @foo, @foo"


select="@foo | @foo | @foo"

the former selects a sequence of 3 items, the latter a sequence of 1.

Andrew Welch

Current Thread