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@xxxxxx]
> Sent: 08 March 2000 12:20
> To: xsl-list-digest@xxxxxxxxxxxxxxxx
> 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
|