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]

Re: sorting by attribute



> 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

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