Does anyone could help me?

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:



TCP/IP Illustrated
StevensW.
Addison-Wesley
65.95


Advanced Programming in the Unix environment
StevensW.
Addison-Wesley
65.95


Data on the Web
AbiteboulSerge
BunemanPeter
SuciuDan
Morgan Kaufmann Publishers
39.95


The Economics of Technology and Content for Digital TV

GerbargDarcy
CITI

Kluwer Academic Publishers
129.95




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.

Hi,

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”.

Kind Regards,

Thorsten



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!

Hi,

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.

Best Regards,

Vikram
test.jsp (1.66 KB)