xquery version "1.0-ml";

xdmp:document-insert("/test.xml", <one><two this="foo"/></one>);
fn:doc("/test.xml");
xdmp:node-replace(fn:doc("/test.xml")/one/two/@this, attribute that
{"bar"});
fn:doc("/test.xml")

On Tue, 2010-02-02 at 17:37 -0800, Tim Meagher wrote: 

> Would someone show me what the syntax is for replacing the value of an
> attribute node using xdmp:node-replace()?
> 
>  
> 
> Thank you!
> 
>  
> 
> Tim Meagher
> 
> 


_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to