Subject: Re: [xsl] Re: Re: Exclude elements from apply-templates? From: Joerg Heinicke <joerg.heinicke@xxxxxx> Date: Fri, 21 Jun 2002 23:34:28 +0200 |
<xsl:apply-templates select="*[not(self::title) or not(name()^^^^
The above is equivalent to:
<xsl:apply-templates select="*"/>
because not(x) or not(y)
is always true, when x != y and of course x and y are booleans.
Oh, 2 bugs in one line! What I wanted to write was <xsl:apply-templates select="*[not(self::title or name()='subtitle')]"/>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: Re: Exclude elements from, Dimitre Novatchev | Thread | [xsl] Using Variable in Template Ma, Prince Ohilip |
Re: [xsl] Testing for presence of n, Wendell Piez | Date | [xsl] Using Variable in Template Ma, Prince Ohilip |
Month |