xsl-list
[Top] [All Lists]

Re: [xsl] Filtering out duplicates in current-group()

2006-03-29 14:46:43

Why is "value-of" required and "apply-templates"
illegal?

because you can only apply templates to nodes (elements attributes etc)
but teh current-grouping-key  is the string value that's shared by all
the nodes in the current group, it's not itself a node.
you can value-of it to get its value, but you can't apply templates to
it.

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
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--