This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: sorting by attribute
- To: xsl-list at mulberrytech dot com
- Subject: Re: sorting by attribute
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Sun, 27 Feb 2000 01:25:41 GMT
- References: <NDBBKDFLFKGBNPJPGKDFEEAOCBAA.dave.pawson@virgin.net>
- Reply-To: xsl-list at mulberrytech dot com
> Can XSLT sort by attribute value?
yes xsl:sort takes any select expression, so you can sort on elements or
attributes or any combination.
<xsl:sort="@clli2"/>
but I wasn't clear from your question what needed sorting as your
sample output didn't give any indication of ordering.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list