[Home] [By Thread] [By Date] [Recent Entries]
On 01/10/2011 17:01, Andrew Welch wrote:
That works for atomic values (with the exception of NaN) but not for nodes (my mistake in my last post!). Using XQuery notation:Is it fair to say deep-equal could mean:deep-equal(A, B) means (count(A) eq count(B) and every $i in 1 to count(A) satisfies A[$i] eq B[$i]). Therefore deep-equal((), ()) is true. <a>3</a> eq <b>3</b> is true deep-equal(<a>3</a>, <b>3</b>) is false Michael Kay Saxonica
|

Cart



