Re: [xsl] things about grouping

Subject: Re: [xsl] things about grouping
From: Ihe Onwuka <ihe.onwuka@xxxxxxxxx>
Date: Fri, 30 Nov 2012 03:29:35 +0000
On Thu, Nov 29, 2012 at 8:15 AM, Andrew Welch <andrew.j.welch@xxxxxxxxx> wrote:
>> 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"
>
> vs
>
> select="@foo | @foo | @foo"
>
> the former selects a sequence of 3 items, the latter a sequence of 1.
>

Actually in the context of the expression (* except (heading,para)) we
can substitute | for , because the  except dedups anyway.

Current Thread