Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
#Automation
With the query/AccessList[@userID=“sip:a.dellarmi@elis.org”]/instance[watcher=“sip:spam@tiscali.it”]i get <?xml version="1.0" encoding="windows-1252" ?>- <ino:response xmlns:ino=“http://namespaces.softwareag.com/tamino/response2” xmlns:xql=“XQL FAQ (XML Query Language - Frequently Asked Questions)”>- <ino:message ino:returnvalue=“8316”> <ino:messagetext ino:code=“INOXIE8316”>Attempted to delete a partial document</ino:messagetext> </ino:message> </ino:response>Doesn’t Tamino 4.1 support partial delete of document? acl.xml (1.8 KB)
You can delete parts of a document with XQuery-Update feature of the Tamino v4; so the answer to the latter part is yes. However you cannot perform partial document deletion with the _delete command and the type of query you have specified; _delete only deletes whole documents.Hope this helps.Stuart Fyffe-CollinsSoftware AG (UK) Ltd.
How can i use XQuery-Update to delete the watcher element via TII, and via java code (accessor.delete?)Regards,@nto
Via java you would use accessor.xquery() method. The xquery would contain the XQuery-Update expression to be performed. For more information on XQuery-Update please refer to documenation, especially the FLWUExpr syntax construct.Stuart Fyffe-CollinsSoftware AG (UK) Ltd.
I lost myself in the documentation.Where can i study the method xquery?Is there same java code examples of it?Regards,@nto
Sorry,i hadn’t yet read the Trevor’s post here.@nto