RE: ORA-FO-UNORDERED 15.1.15 fn:unordered

> 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