On your first point, there is activity on defining an update capability for W3C XQuery, but it won’t be part of the initial XQuery 1.0 specification. In Software AG we’re trying to monitor the way this is going, but we need to provide an update capability for Tamino now, so we weren’t able to wait for the standards.
Your second question: how can you run queries from a file in QuiP? You can select a directory in the small panel on the top-right of the screen; then File/Open will list the .XQuery files in this directory. The query gets its data files relative to the file containing the query, using the document() function.
Your third question: the query updates/R/U3Q3.XQuery produces a message saying that no update was performed. I think this is the expected behavior if you run it on the data files as issued. This query is designed to tidy up old data if you have added a lot of data.
The query updates/Tree/U2Q12 fails for me in the same way. I think this query is incorrect. The “rename” expression is designed to change the name of an XML element or attribute node, while this sample appears to be applying it to a document node; but document nodes have no name.
Michael Kay