This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Exclude elements from apply-templates?
- From: Gustaf Liljegren <gustafl at algonet dot se>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 21 Jun 2002 21:28:14 +0200
- Subject: Re: [xsl] Exclude elements from apply-templates?
- References: <3.0.6.32.20020621203506.007a85d0@pop.algonet.se>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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