Re: [xsl] Exclude elements from apply-templates?

Subject: Re: [xsl] Exclude elements from apply-templates?
From: Gustaf Liljegren <gustafl@xxxxxxxxxx>
Date: Fri, 21 Jun 2002 21:28:14 +0200
Thanks Joerg,

><xsl:apply-templates select="*[not(self::title) or not(name()=subtitle)]"/>

For some reason <title> (not <subtitle>) turns up a second time, if I write
this exactly or try any of the variations. But when I write "and" instead
of "or", it works! Does it make any sence? :-)

Gustaf


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread