Re: [xsl] select="current-group() except someElement"

Subject: Re: [xsl] select="current-group() except someElement"
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 07 Sep 2012 17:19:37 +0100
On 07/09/2012 17:07, Norbert Heidbrink wrote:
But
<xsl:apply-templates select="current-group() except tab" />
does not work.
Why? Where is my mistake?


The current item at that point is the first item of the group so tab would select tab children of the first item which isn't what you meant.

You want the current group except tab.

actually it's probably easier just to go


<xsl:apply-templates select="current-group()"/>


and have a template for tab that does nothing.

David


________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________


Current Thread