Hi,
i want to retrieve the document name of nonxml files, which are indexed with the NonXML indexer. Here’s how my query looks like:
declare namespace tf="http://namespaces.softwareag.com/tamino/TaminoFunction"
for $f in input()/nixe[tf:containsText(properties/content, "Dauerbremse")]
let $n := tf:getDocname($f/..)
return $n
The same query fails, if I use tf:getDocname($f). The error message states, that $f has to be a “document”. (Most probably a DOM document, or something similar.)
Is this behaviour as expected?
Regards,
Jochen
#Tamino#webMethods#API-Management