[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] XPath expression "everything but..." ?


Subject: Re: [xsl] XPath expression "everything but..." ?
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Wed, 14 Feb 2001 11:33:31 +0000

Jirka wrote:
>  what about something like
> <xsl:apply-templates select="*[not(name() = 'title')]"/>

Or, generally better because it avoids namespace problems:

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

I hope that helps,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/



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



Current Thread