Re: [xsl] Grouping by key

Subject: Re: [xsl] Grouping by key
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Thu, 04 Nov 2004 21:34:31 +0100
Hi Dimitre,

Now I know why I get confused sometimes. The operators _do_ work on nodesets, but functions _don't_..

This has nothing to do with operators/functions -- just the way XPath 1.0 and XPath 2.0 react to a sequence of more than one item when just one is expected.

I was speaking of XPath 1.0 only, not comparing the two.


Of course, the picture is a little bit more complicated, because we
have backwards compatibility (version="1" in scope) and calculating
the EBV (Effective Boolean Values), that cause XPath 2.0 to behave
(almost) as XPath 1.0.

I am usually not working with XPath/XSLT 2. I wish I could, sorry...


Grtz,
Geert

Current Thread