Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: Re: [xsl] Filtering out duplicates in current-group()
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 29 Mar 2006 22:45:11 +0100

> 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
________________________________________________________________________


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor