[xsl] XPath help

Subject: [xsl] XPath help
From: William Bagby <williamb@xxxxxxxxx>
Date: Fri, 7 Sep 2001 09:35:19 -0400
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