|
> Given an xml document, I'd like to make some changes to the content ...
You can certainly do that, as long as you realize "changes" means creating a modified version. XQuery does not have side-effects, and you cannot update (modify) existing nodes. (Though there are proposals to extend XQuery with update operations, they will not be considered for XQuery 1.0.) So you have to "write out" a new modified version of the document, rather than update it in place.
|