[
Lists Home |
Date Index |
Thread Index
]
At 01:39 PM 3/23/2002 +0900, takeha-e wrote:
>Hi.
>
>I tried some XQuery implementations(Kawa, MS XQuery Demo).
>But, node identity function (==, !==) has not been implemented yet.
It is implemented in Software AG's QuiP. Here's a query that uses it:
let $a := <foo/>
let $b := <foo/>
return
<out>
<one>$a == $a</one>
<two>$a == $b</two>
</out>
Here are the results:
<out>
<one>$a == $a</one>
<two>$a == $b</two>
</out>
>Is it difficult to implement node identity in XQuery data model?
That depends a lot on the underlying implementation. If nodes in the system
used to implement it have identity, you simply use the identity of those
nodes. If not, you need to impose identity.
>I think we need unique node identifiers for all nodes in large XML
>Repository.
>And, it's difficult to identify all nodes efficiently if there happened
>update of XML Repository.
I agree.
Jonathan
|