let $node := <root><a/></root>
return 
    update insert <b/> into $node/a