W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2003

RE: ORA-FO-UNORDERED 15.1.15 fn:unordered

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Wed, 24 Sep 2003 20:09:31 +0200
Message-ID: <DFF2AC9E3583D511A21F0008C7E62106073DD14F@daemsg02.software-ag.de>
To: Oliver Becker <obecker@informatik.hu-berlin.de>, public-qt-comments@w3.org
> Can I expect that
> 
> <xsl:variable name="a" select="some-function()" />
> <!-- perhaps do something with $a -->
> <xsl:variable name="b" select="unordered($a)" />
> 
> and
> 
> <xsl:variable name="b" select="unordered(some-function())" />
> 
> will always give the same result sequence for $b?
> 

No, you can't. If you call unordered() you are making a strong statement
that you don't care what the order is.

(In fact, you are probably making a strong statement that you are an SQL
enthusiast, but I'll let that pass...)

Michael Kay
Received on Wednesday, 24 September 2003 14:12:21 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:14 UTC