This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: <xsl:apply-templates select="not('nodename')"/> ?
- From: Wendell Piez <wapiez at mulberrytech dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 27 Aug 2002 12:02:36 -0400
- Subject: Re: [xsl] <xsl:apply-templates select="not('nodename')"/> ?
- Reply-to: xsl-list at lists dot mulberrytech dot com
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@mulberrytech.com
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