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

Subject: Re: [xsl] <xsl:apply-templates select="not('nodename')"/> ?
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 27 Aug 2002 12:02:36 -0400
Michael,

The usual idiom for this is:

<xsl:apply-templates select="apple"/>
<xsl:apply-templates select="orange"/>
<xsl:apply-templates select="*[not(self::apple|self::orange)]"/>

Cheers,
Wendell

At 11:02 AM 8/27/2002, you 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)"/>


======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


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



Current Thread