[xsl] Sorting on call-template value?

Subject: [xsl] Sorting on call-template value?
From: "Randy Oxentenko" <randy@xxxxxxxxxxxxx>
Date: Sun, 13 Apr 2003 11:33:04 -0500
I am a novice with XSLT.  My question is with respect to the child of
<xsl:for-each> that is <xsl:sort>.  Is it possible to use a result returned
from <xsl:call-template> as the sort key?

Perhaps a better way to phrase the question might be this: You can sort on
the value of functions intrinsic to XSL, such as position() or
substring-before() etc.  Is it possible to write your own "functions" as xsl
templates, and sort on the value returned from those?

Thanks,

Randy Oxentenko


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


Current Thread