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

Subject: AW: [xsl] fn:collection sorting by what ?!
From: "Szabo, Patrick \(LNG-VIE\)" <patrick.szabo@xxxxxxxxxxxxx>
Date: Wed, 3 Nov 2010 09:26:49 +0100
I see.
Thanks for your fast response !


Patrick Szabo
 XSLT-Entwickler

Tel.: +43 (1) 534 52 - 1573
Fax: +43 (1) 534 52 - 146

Patrick.Szabo@xxxxxxxxxxxxx

LexisNexis Verlag ARD Orac GmbH & Co KG
Marxergasse 25, 1030 Wien
FN 8333f, Handelsgericht Wien
http://www.lexisnexis.at/

http://shop.lexisnexis.at/
http://shop.lexisnexis.at/
-----UrsprC<ngliche Nachricht-----

Von: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Gesendet: Mittwoch, 03. November 2010 09:23
An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Betreff: Re: [xsl] fn:collection sorting by what ?!

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