xsl-list
[Top] [All Lists]

Re: Re: Re: Sorting on call-template value?

2003-04-14 11:50:57
Dimitre Novatchev wrote:
What this is all about is the possibility in XSLT 1.0 to use one's own
functions that return the sort key.

And the answer is that this is not possible with xsl:sort in XSLT 1.0, but a
generic sort template can be used as in

http://www.biglist.com/lists/xsl-list/archives/200303/msg00007.html

There is also EXSLT's <func:function/>, implemented in at least 4 XSLT
processors, including Saxon and Xalan. Randy may wish to read about it at
http://exslt.org/func/elements/function/index.html

The general idea is that it lets one designate an XSLT template (the content
of the func:function element, actually) as an extension function.

-Mike

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list