This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: sorting using a precalculated value
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] sorting using a precalculated value
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Wed, 28 Mar 2001 16:05:23 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
You can only sort on a value that you can express using an XPath expression.
There's no scope for using XSLT in the calculation unless you either (a) use
something like saxon:function, or (b) build a temporary tree containing the
calculated sort keys, and then sort that (using the node-set() extension).
Mike Kay
> I want to have the following output (ie, class name must be
> built and the
> whole stuff sorted)
>
> AOuterClass
> OuterClass1
> OuterClass1.InnerClass
>
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list