Re: [xsl] re-ordering nodes

Subject: Re: [xsl] re-ordering nodes
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 19 Dec 2001 19:09:42 -0500
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@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