- From: David Carlisle <davidc@nag.co.uk>
- Date: Mon, 30 Jan 2006 16:59:08 GMT
- To: www-ql@w3.org
I just wrote in another thread:
> you are stuck because there is no node with the identity inner-a.
I can't actually see anything in the update spec that says that if you
delete a node then its children are deleted. If you delete (or in the
example posted earlier, replace) a node, are its children still around?
If I go
let $a := <x><y/></x>, $b=$a/y
return
(
delete{$a},
$b
)
do I get <y/> as the value of $b or has that node gone somewhere?
For that matter what do I get if I do
let $a := <x><y/></x>
return
(
delete{$a},
$a
)
what's the value of $a if it holds a deleted node?
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
Received on Monday, 30 January 2006 16:59:55 UTC