This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: re-ordering nodes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]