Re: [xsl] Re: Re: Sorting on call-template value?

Subject: Re: [xsl] Re: Re: Sorting on call-template value?
From: Mike Brown <mike@xxxxxxxx>
Date: Mon, 14 Apr 2003 12:50:57 -0600 (MDT)
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


Current Thread