Hi!

 

I’m attempting to use XUpdate to update a node in our Xindice database and I’m having the following problem:

 

I’m using the following XUpdate:

 

<xu:modifications version="1.0" xmlns:xu="http://www.xmldb.org/xupdate">

             <xu:update select="//RootNode/TestNode">http://myserver.cgi?parameter1=mine&parameter2=0</xu:update>

</xu:modifications>

 

to update the contents of the node TestNode.  When I query the database to see whether the update has been successful I find that the node text has been truncated from  the ‘&’  onwards i.e. it has been updated to  http://myserver.cgi?parameter1=mine and not http://myserver.cgi?parameter1=mine&parameter2=0 as expected.

 

I’ve tried replacing the ‘&’ with ‘&amp;’ in the XUpdate query to see if that makes any difference…and it doesn’t!

 

Can anybody suggest a way that I can update this node successfully?

 

Thanks in advance,

 

Jonathan Thorpe

Sony BPRL

Basingstoke

UK

------------------------



*************************************************************************
The information contained in this message or any of its
attachments may be privileged and confidential and intended
for the exclusive use of the addressee. If you are not the
addressee any disclosure, reproduction, distribution or other
dissemination or use of this communication is strictly prohibited
*************************************************************************

Reply via email to