xsl-list
[Top] [All Lists]

Re: Grouping by key

2004-11-04 18:29:44

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
________________________________________________________________________


<Prev in Thread] Current Thread [Next in Thread>