I want to modify the ino:docname attribute of an xml resource.
I was thinking using the updating capabilities of XQuery. Unfortunaly it seems the ino:id and ino:docname attributes are not returned by XQuery (in X-Query is possible). There is the tf:getDocname() function but it only returns the value.
Unfortunately Tamino does not provide any possibility to modify the docname via an XQuery expression. But you can do that via a process update. For example assuming that you want to change the name of the document with ino:id = 1. By loading the document content with the following wrapping you rename the document to “a.xml”.
I was hopping for an XQuery way but this is good too(makes an overhead in communication because I send again the document, but is not an action to perform often)