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

> 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 Cristian Bina mailto:george@xxxxxxxxxxxxx
<oXygen/> XML Editor -

 XSL-List info and archive:

Current Thread