Re: [xsl] Whitelist preceding siblings

Subject: Re: [xsl] Whitelist preceding siblings
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Fri, 15 Apr 2011 15:54:00 +0200
Fredrik Bengtsson wrote:

I've tried something like the following with no luck:

<xsl:template match="x">  ...
<xsl:template match="x[preceding-sibling::*][not(self::a or self::b or self::c)]">  ...

<xsl:template match="x[preceding-sibling::*[not(self::a or self::b or self::c)]]">
should match any "x" elements having one of the "unwanted" siblings.



--


	Martin Honnen
	http://msmvps.com/blogs/martin_honnen/

Current Thread