I can't really explain how to use this class without some idea of what you are trying to achieve. It's an internal class that's used as part of the expression tree generated when an xsl:sort element in XSLT is compiled. It's not used directly to support sorting in XQuery (the "order by" clause of a FLWOR expression) - the XQuery implementation uses the class TupleSorter instead.
 
Please let me know what you are trying to accomplish.
 
Michael Kay


From: saxon-help-admin@lists.sourceforge.net [mailto:saxon-help-admin@lists.sourceforge.net] On Behalf Of Kofman, Irena
Sent: 12 September 2004 15:08
To: saxon-help@lists.sourceforge.net
Subject: [saxon] Sorting question

From what I understood, in saxon, there is SortExpression class, that should replace sorting in form of : let $a := something return $a sorteby something else.

 

I just don’t understand, how to use this class?

Can you help me?

            Thank you

                        Irena Kofman