xsl-list
[Top] [All Lists]

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

2010-11-03 03:23:18
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>