This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Exclude elements from apply-templates?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]