Depending on your DTD, you can enclose it in a CDATA section as follows:

<mydata><![CDATA[Testing & testing]]></mydata>

> Hi,
>
> We need to transfer strings in a XML structure. The string can contain
'&' character.
>
> e.g. <mydata>Testing & testing</mydata>
>
> The XML parser doesn't like this because it thinks that '&' is a start
for an character entity.
>
> How can I transfer this string without error and which way is the best
way (correct)?
>
> Best regards
>
> Joacim J�rkeborn
> Consultant - Systems Development
> Cell Network Sverige AB

Regards...

Milind Gadre
ecPlatforms, Inc
901 Mariner's Island Blvd, Suite 565
San Mateo, CA 94404
C: 510-919-0596
F: 815-352-0779
[EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to