[xquery-talk] Update XML using Saxon

sanjay vig vigsanjay at yahoo.com
Thu Nov 18 03:12:58 PST 2004

I am trying to use the following query to update xml but I am getting error messages that incorrect syntex near insert.
can you suggest how do we update ,delete notes from an xml using xuery.

update for $a in input("http://ereportserver:8080/XML/bib.xml)/bib/bookwhere $a/title = "The Economics of Technology and Content for Digital TV"do (    insert <affiliation>CITI</affiliation> following $a/author/first    rename $a/author as editor   )



Sanjay Vig

Do you Yahoo!?
 Discover all that’s new in My Yahoo!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xquery.com/pipermail/talk/attachments/20041118/85d48431/attachment.htm

More information about the talk mailing list