[xquery-talk] Update XML using Saxon
mhk at mhk.me.uk
Thu Nov 18 12:32:29 PST 2004
As I mentioned in reply to your identical email on another forum, XQuery
does not currently include any syntax for performing in-situ updates, and
neither does Saxon.
From: talk-bounces at xquery.com [mailto:talk-bounces at xquery.com] On Behalf Of
Sent: 18 November 2004 11:13
To: talk at xquery.com
Subject: [xquery-talk] Update XML using Saxon
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
where $a/title = "The Economics of Technology and Content for Digital TV"
insert <affiliation>CITI</affiliation> following $a/author/first
rename $a/author as editor
Do you Yahoo!?
Discover all thats new in My <http://my.yahoo.com> Yahoo!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the talk