Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] How to sort elements...?

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: "Michael Kay" <mike AT saxonica.com>
  • To: "'Manfred Lotz'" <manfred.lotz AT arcor.de>, <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] How to sort elements...?
  • Date: Mon, 5 May 2008 17:07:01 +0100

> 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/






Archive powered by MHonArc 2.6.24.

Top of Page