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

XPath help

Subject: XPath help
From: William Bagby <williamb@xxxxxxxxx>
Date: Fri, 7 Sep 2001 09:35:19 -0400
 XPath help
What XPath do I use to specify "elements which are neither <a> nor <b>"?
Here's an example:
I would like to iterate over all but the <a> and <b> elements, in this case,
<c> and <d> elements.
Something like this is what I had in mind:
<xsl:template match="top">
    <xsl:for-each select="*[not(a|b)]">
        <!-- do something -->
But it does not seem to work. I can't find the syntax for this, but it can't
be that hard.  Suggestions?
William Bagby.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread
  • XPath help
    • William Bagby - Fri, 7 Sep 2001 09:50:52 -0400 (EDT) <=
      • <Possible follow-ups>
      • Rene de Vries - Fri, 7 Sep 2001 10:10:24 -0400 (EDT)


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.
First Name
Last Name
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.