Hi Gennaro
your problem is related to namespaces - in this case especially default namespace usage:
(1) XQuery: use something like
declare namespace p = “www.dmsml.com”
input()/p:workspace
Afaik, XQuery does not allow for default namespace declarations,
hence you must use the explicit prefix.
(2) X-Query:
general rule: the prefix used in your schema counts!
if you used the default namespace also in the schema, you must _define a collection
object like
<tsd:collection name=“myCollection”
xmlns:tsd=“http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition”
xmlns:p=“www.dmsml.com”/>
e.g. using the Tamino Interactive Interface.
Then _xql=p:workspace should work (_delete as well).
For details you may search the Tamino 4.1.x documentation:
(Unfortunately, there is a bug in the navigation, hence, it is not
really straightforward to find the relevant section)
Tamino XML Server Documentation/Special Topics
> XML Namespaces in Tamino
> Next: “Introduction”
> Next: “Namespaces in Tamino 4.1”
Search for section “Namespace Context of a Doctype”
Hope that helps
Uli
#API-Management#Tamino#webMethods