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: Manfred Lotz <manfred.lotz AT arcor.de>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] How to sort elements...?
  • Date: Tue, 06 May 2008 18:57:49 +0200

Michael Kay wrote:
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/

I have installed Saxon on my system.I didn't know this is possible.


--
Thanks,
Manfred






Archive powered by MHonArc 2.6.24.

Top of Page