Re: [xsl] Grouping by key

Subject: Re: [xsl] Grouping by key
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 5 Nov 2004 01:29:44 GMT
> Now I know why I get confused sometimes. The operators _do_ work on
> nodesets, but functions _don't_..

Not really, some functions work on nodesets (count() and sum() for
example) and sum operators don't: anything that uses a string or numeric
value coerces just the first node in the set and junks the rest so
so the operator + in foo+bar takes the set of nodes selected by foo and
that selected by bar and adds the first in each set and ignores the
rest.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread