Hi!
I want to add elements to Tamino database using Xquery. I try to add data using xquery with this syntax:
$query_1 =
‘element ACTBOOKS
{
element ACTBOOK
{
element CUSTID {“44444”},
element ACTID2 {“7777772”},
element ACTNAME {“Rafting”},
element START {“20040404”},
element STOP {“20040404”}
}
}’;
if (!($tamino2->xquery($query_1)))
{
thfPrintError($tamino2);
echo “into the error”;
}
else
.
.
.
.
ACTBOOKS is the root element.
I get no Tamino error when using this syntax, but the database is not updated with the element.
Can someone explain why the database isn’t updated? ( I can add elements using xml files with the statement processData )
Any help is appreciated!
Thanks in advance!
Regards,
Tom-Erik Valso
Oslo, Norway

#webMethods#webMethods-Tamino-XML-Server-APIs#API-Management