insert data into tamino

Hello,
I would be grateful if someone could help me,
I am using Tamino version 4.4.1 and PHP API 0.7.0, I want to create element and insert data into xml document stored on tamino database.
I have this XML document:

Everyday Italian Giada De Laurentiis 2005 30.00 Harry Potter J K. Rowling 2005 29.99 Xquery Kick Start James McGovern Per Bothner Kurt Cagle James Linn Vaidyanathan Nagarajan 2003 49.99 Learning XML Erik T. Ray 2003 39.95 I want to insert a new node ISBN for each book,lik this 123456789

Does anyone know how to do this?

Best regards,

Lfernandes

Hi Lfernandes,

the PHP Tamino API comes with a set of example PHP scripts. There are multiple examples included on how to store an XML document via the process function into the Tamino XML Server.

Do you want to create a new XML document or do you want include that XML fragment via an update into an existing element of an existing document?

best regards,
Heiko Weber

Thank you,

I dont want to create a new document. I just want to insert a new node (
123456789) into an existing element of an existing document on Tamino database.

How can I do this using PHP API?

best regards,

Lfernandes

Hi Lfernandes,

the only way to do that via the Tamino PHP API would be to formulate a respective XQuery Update expression and send that via the xquery function.

best regards,
Heiko Weber

:slight_smile:
Thank you very much,

I will use XQuery Update.

best regards,

Lfernandes