Subject: Re: [xsl] How to create a node set that excludes some descendant elements?|
From: Rush Manbert <rush@xxxxxxxxxxx>
Date: Tue, 12 Apr 2005 11:20:18 -0700
Hi Rush,This is a nice elegant expression for excluding the <z> and extra <y> elements. I used a variation of this in my final version.
Please try this XSL -
<!-- include only 1st y , and exclude all z -->
<xsl:template match="y[ancestor::y or preceding::y] |