Hi,
Im very new to Tamino.
Im Using Tamino XMLServer 4.2.1.
with the documentation that is provided for XQuery tool Im trying to learn XQuery.
My query is
update replace /party/enterpriseId[. = “10101”] with “00000004”
But Im getting an error as follows
The specified query could not be processed.Either the query is not valid or the connection to the database is no longer available.
Error parsing the XQL query;Unexpected token replace found,expected was End of query
even when I use a variable it is showing some error.
Query is :
let $var := party/enterpriseId
return
$var is the Id
and the error message is
The specified query could not be processed.Either the query is not valid or the connection to the database is no longer available.
Error parsing the XQL query;Unexpected token var found,expected was End of query
even the same kindof error appears when using FLWR
query :
for /party/enterpriseId
return
/party/enterpriseId
and the error message is
The specified query could not be processed.Either the query is not valid or the connection to the database is no longer available.
Error parsing the XQL query;Unexpected token return found,expected was End of query
===============================================
Can anybody please help me.
Im struck here and it is affecting my work a lot.
Thanks in advance,
Vijayanand