[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: RE: <xsl:apply-templates select="not('nodename')"/> ?
From: "Américo Albuquerque" <aalbuquerque@xxxxxxxxxxxxxxxx>
Date: Tue, 27 Aug 2002 16:25:07 +0100
xsl apply templates select not
Hi Michael!

your third apply-templates is selecting a boolean value (not(...)). you
need to change your xpath to select nodes
something like:
<xsl:apply-templates select="*[not(name()='apple' or
name()='orange')]"/>

hope that this helps you

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Michael
Rothwell
Sent: Tuesday, August 27, 2002 4:02 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  <xsl:apply-templates select="not('nodename')"/> ?


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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.