To each expert:
I load an XML file into tamino, which is a exmaple
bib.xml provided from tamino server. It’s content is as follows:
Advanced Programming in the Unix environment
Data on the Web
Morgan Kaufmann Publishers
The Economics of Technology and Content for Digital TV
Kluwer Academic Publishers
and I run an XQuery like “update delete input()/bib//affiliation” in the either Interactive Interface or Software AG Tamino XQuer appliction.
I get the message “<ino:message ino:returnvalue=“8552”>
<ino:messagetext ino:code=“INOXME8552”>Not a valid request</ino:messagetext>
ino:messagelineIt is not possible to open a cursor with XQuery Update Request.</ino:messageline>
</ino:message>” from Interactive Interface.
If I perform on the Software AG Tamino XQuer appliction, I won’t get any error messages.
I try to perform in my writing JSP program. It will get the error message “XQuery parsing erro…”
If any expert could tell me how to solve this problem?
Thank you very much.
To each expert:
Tamino does not support update statements in cursor requests.
To avoid the generation of a cursor request by the Interactive Interface you have to clear the fields “Pos. in Result” and “Result size”.
Thanks for your help.
However, would I ask a another question?
May I use update statements in JSP through Tamino API for JAVA By using method “buildUpdate” of Class “TXQueryBuilder”?
Thanks for your replay!
You can use update statements in JSP through Tamino API for JAVA By using method “buildUpdate” of Class “TXQueryBuilder”.
Please check attached jsp for details.
test.jsp (1.66 KB)