Re: [xsl] () eq () vs () = ()

Subject: Re: [xsl] () eq () vs () = ()
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 30 Sep 2011 15:28:23 +0100
On 30/09/2011 14:28, Andrew Welch wrote:
why does () eq () not return true?


the logical thing for it to return would be an error, the new at 2.0 operators really act on single items, explicitly because not everyone wanted the implied existential quantification of the xpath 1 operators which act on sequences (aka node sets).

But then they added the general idiom that input of () returns ()
to make things seem cozy to sql people...

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________


Current Thread