[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Dmitri Snytkine wrote:
If you are only interested in element child nodes and not all kind of child nodes then use
* except label
respectively
*[not(self::label)]
--
Re: [xsl] how to select all nodes except for one with specific name
Subject: Re: [xsl] how to select all nodes except for one with specific name From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Sat, 20 Jun 2009 17:25:47 +0200 |
Dmitri Snytkine wrote:
I need to select all child nodes except for the 'label'
With XSLT/XPath 2.0 it is exactly <xsl:apply-templates select="node() except label"/> With XSLT 1.0 you can use <xsl:apply-templates select="node()[not(self::label)]"/>
If you are only interested in element child nodes and not all kind of child nodes then use
* except label
respectively
*[not(self::label)]
--
Martin Honnen http://msmvps.com/blogs/martin_honnen/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] how to select all nodes e, Dmitri Snytkine | Thread | [xsl] XSLT 1.0 and EXSLT node-set f, Hermann Stamm-Wilbra |
Re: [xsl] how to select all nodes e, Michael Müller-Hille | Date | Re: [xsl] how to select all nodes e, Dmitri Snytkine |
Month |
Keywords