This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: <xsl:apply-templates select="not('nodename')"/> ?
- From: "ashu t" <aashut at rediffmail dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: 27 Aug 2002 15:41:42 -0000
- Subject: Re: [xsl] <xsl:apply-templates select="not('nodename')"/> ?
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hello Michael
You are not selecting the node.You are just giving the not
condition.
You should do it something like this way
<xsl:apply-templates select="*[not(self::apple or self::orange)]"
/>
Hope this help you
Enjoy
ashu
On Tue, 27 Aug 2002 Michael Rothwell wrote :
I would like to preferentially list some children ahead of
others. I'm trying to do it like this:
<xsl:apply-templates select="./apple"/>
<xsl:apply-templates select="./orange"/>
<xsl:apply-templates select="not(apple|orange)"/>
... I want for the third line to process all other children. It's
not working that way though. What's the right syntax to achieve
this?
Thanks,
-M
XSL-List info and archive:
http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list