I hope I’ve understand your question correct. You are looking for a method, that lets you know if one or more document of a specified kind exists in a tamino db?
I’m doing that by getting all specific docs by a query like this:
→ set dom = tamino.DoQuery(“mydoc[@id=‘1’]”)
and then getting total count of the query with:
→ lng = tamino.GetTotalCount(dom)
If lng is greater then 0 there is a minimum of 1 document…