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

Subject: [xsl] <xsl:apply-templates select="not('nodename')"/> ?
From: Michael Rothwell <rothwell@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 27 Aug 2002 11:02:21 -0400
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



Current Thread