This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: re-ordering nodes
- From: Wendell Piez <wapiez at mulberrytech dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 19 Dec 2001 19:09:42 -0500
- Subject: Re: [xsl] re-ordering nodes
- References: <16366745965.20011219110236@jenitennison.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Srinivasan:
How about --
<xsl:template match="/">
<xsl:apply-templates select="//o"/>
</xsl:template>
<xsl:template match="*"/>
<xsl:apply-templates select="node()[not(self::o)]"/>
</xsl:template>
You might also want to do some whitespace stripping or munging.
Does that do what you want?
Cheers,
Wendell
At 06:04 PM 12/19/01, you wrote:
>Thanks Jeni. However, it is not quite what I wanted....
======================================================================
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