Hi all, does somebody know an answer?

Begin forwarded message:

Date: Wed, 17 Apr 2002 11:19:07 +0100
From: "Jonathan R. Thorpe" <[EMAIL PROTECTED]>
To: "Xindice-Dev" <[EMAIL PROTECTED]>
Subject: XUpdate and the '&' character


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 <http://myserver.cgi/?parameter1=mine>
and not http://myserver.cgi?parameter1=mine&parameter2=0
<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
--
______________________________________________________________________
Lars Martin                             mailto:[EMAIL PROTECTED]
SMB GmbH                                        http://www.smb-tec.com

----------------------------------------------------------------------
Post a message:         mailto:[EMAIL PROTECTED]
Unsubscribe:            mailto:[EMAIL PROTECTED]
Contact administrator:  mailto:[EMAIL PROTECTED]
Read archived messages: http://archive.xmldb.org/
----------------------------------------------------------------------

Reply via email to