This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: select question


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]