|
Subject: Re: [xsl] Proposal: Copying with Sorting From: Dimitre Novatchev <dnovatchev@xxxxxxxxx> Date: Sun, 5 Jan 2003 12:33:32 -0800 (PST) |
Thank you Mike,
> XSLT 2.0 allows you to create a sorted sequence of nodes using the
> sort() function, with named sort keys:
>
> <xsl:sort-key name="sk1">
> <xsl:sort select="exp2"/>
> </xsl:sort-key>
>
> <xsl:copy-of select="sort('sk1', exp)"/>
This is really great.
Due to the global scope of a sort key and the brevity of the spec on
sort keys and the sort() function, there are still some questions:
1. Are there any limitations on exp2 above? Would it be allowed to
contain xsl:variable references, xsl:function references or the key()
function?
2. Would it be possible for exp2 to contain a reference to a locally
defined xsl:variable (not a top-level one)?
=====
Cheers,
Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Proposal: Copying with So, Michael Kay | Thread | RE: [xsl] Proposal: Copying with So, Michael Kay |
| Re: [xsl] how to get an NCR in the , Tobias Reif | Date | [xsl] How to embed a hyperlink with, Robert Baker |
| Month |