Subject: RE: select question From: "Dawson, Geoff F" <Geoff.Dawson@xxxxxxxxxxxxxxx> Date: Wed, 8 Mar 2000 13:54:21 -0000 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: select question, David Carlisle | Thread | Re: select question, David Carlisle |
Re: exclude-result-prefixes Editors, David Carlisle | Date | Re: Selecting a certain amount of c, David Carlisle |
Month |