XQuery update problems

Hi all,

I’m trying to work with XQuery from Tamino Interative Interface.

I’m working with the books example, and if I try to do a query I get the information I ask for, but if I try to make an update, just as simple as to insert a new book on the bib list, I get an error.

This is the XQuery I try to execute:

update insert

TCP/IP Illustrated

Stevens
W.

Addison-Wesley
65.95

into input()/bib

And this is the message that Tamino Interactive Interface returns me:

<?xml version="1.0" encoding="windows-1252" ?>
- <ino:response xmlns:ino=“http://namespaces.softwareag.com/tamino/response2” xmlns:xql=“XQL FAQ (XML Query Language - Frequently Asked Questions)”>
- <xq:query xmlns:xq=“http://namespaces.softwareag.com/tamino/XQuery/result”>
- <![CDATA[
update insert

TCP/IP Illustrated

Stevens
W.

Addison-Wesley
65.95

into input()/bib

]]>
</xq:query>
- <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>
</ino:response>

Could you help me with that?

Thank you in advanced,

No

If using the TII you need to blank the “Pos. in Result” and “Result Size” fields if you issue XQuery-Update expressions.

Stuart Fyffe-Collins
Software AG (UK) Ltd.