This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: select question
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: select question
- From: "Dawson, Geoff F" <Geoff dot Dawson at capgemini dot co dot uk>
- Date: Wed, 8 Mar 2000 13:54:21 -0000
- Reply-To: xsl-list at mulberrytech dot com
Assuming that by "not x" you mean "all children except those called x" then
you can use the following:
<xsl:apply-templates select="*[name()!='x']"/>
Geoff
> -----Original Message-----
> From: J.R. van Ossenbruggen [mailto:Jacco.van.Ossenbruggen@cwi.nl]
> Sent: 08 March 2000 12:20
> To: xsl-list-digest@mulberrytech.com
> Subject: select question
>
>
> How do I select all children of a node _except_ those of type x?
>
> E.g. I want something allong the lines of
>
> <xsl:apply-templates select="not x"/>
> or
> <xsl:apply-templates select="child::x != 1"/>
>
> Any tips?
>
> Jacco
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list