[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] fn:collection sorting by what ?!


Subject: Re: [xsl] fn:collection sorting by what ?!
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Wed, 03 Nov 2010 08:23:06 +0000

On 03/11/2010 08:17, Szabo, Patrick (LNG-VIE) wrote:
Hi,

If i do the following:

<xsl:variable name="collection"
select="collection('file:///R:/Produktion/News/produziert/?select=lnat_n
ews_*.xml;recurse=no')"/>

How will the files be sortet inside the collection ?!

Neither the XSLT/XPath language specs nor the Saxon implementation give you any guarantees about the order. If you care about the order, you will need to do a sort.

Michael Kay
Saxonica


Current Thread