[XOM-interest] How to sort elements...?

Michael Kay mike at saxonica.com
Mon May 5 12:07:01 EDT 2008


> In my case I have a special comparator so that I have to go this way.

If you are using Saxon as your XSLT engine (it supports XOM input), then you
can sort using your special comparator using

<xsl:sort
collation="http://saxon.sf.net/collation?class=com.your.package.ClassName"/>

Michael Kay
http://www.saxonica.com/




More information about the XOM-interest mailing list