Hallo there,
my XQuery to delete a document per docname looks like this:
declare namespace tf = "http://namespaces.softwareag.com/tamino/TaminoFunction"
update for $q in collection('myCollection')/myDocRootElement
where tf:getDocname($q)='myDocname'
do(
delete $q/..
)
And I’ve got a error with messsage " Runtime type exception: invalid node-type;Expected NodeType: document"
Can you tell me, what’s wrong?
thank you in advance
mzha
#webMethods#Tamino#API-Management