Re: [xsl] Sorting XML Elements alphabetically

Subject: Re: [xsl] Sorting XML Elements alphabetically
From: "George Cristian Bina" <george@xxxxxxx>
Date: Fri, 13 Feb 2004 14:50:25 +0200
Peter,

...
> I would like to produce XML output from this source where the elements are
> sorted alphabetically at each level, i.e.
...
> Is there an XSL transformation that can help me achieve this?  I
> experimented with different ways of using <xsl:sort> but so far, I seem to
> have been only sorting data rather than the elements themselves.  Any help
> would be appreciated.  Thanks.

Have you tried also: <xsl:sort select="name()"/> ?

Best Regards,
 George
-------------------------------------------------------------
George Cristian Bina mailto:george@xxxxxxxxxxxxx
<oXygen/> XML Editor - http://www.oxygenxml.com/




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


Current Thread