Re: [xsl] <xsl:apply-templates select="not('nodename')"/> ?

Subject: Re: [xsl] <xsl:apply-templates select="not('nodename')"/> ?
From: "ashu t" <aashut@xxxxxxxxxxxxxx>
Date: 27 Aug 2002 15:41:42 -0000
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


Current Thread