One sample is:
<![CDATA[<?xml version="1.0" encoding="utf-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><TraceHeader
xmlns="http://tempuri.org/"><TransactionId>aeec01aa-08c4-46e7-bcd2-c7bfffe0205f</TransactionId><RequestId>219633cd-19c5-459a-8278-e6545d080e47</RequestId><TCode
/><RequestTraceOverride>false</RequestTraceOverride></TraceHeader></soap:Header><soap:Body><IVRRequest
xmlns="http://tempuri.org/"><IVRRequest
xmlns="http://dps.visa.com/PPC"><Request
xsi:type="ValidateActivationRequest"><SessionId>80 3593ee-11f6-4750-a5dd-764ff793d199</SessionId><DigitCode
/><PhoneNumberZip /><CVV2 /><CardExpDate>0406</CardExpDate><LastFourSSN
/><LastFourPhone>4567</LastFourPhone><ZipCode>53005</ZipCode></Request><CorrelationID>7caaee26-fecf-4374-a183-bc4d858477cb</CorrelationID></IVRRequest></IVRRequest></soap:Body></soap:Envelope> ]]>
Thanks in advance for your ideas.
Kevin
"Pascal Schmitt" wrote:
Hello!
I have a string that is returned from a web service that is XML so the string
is enclosed in CDATA[![ . . . ]]. The string/data enclosed in the CDATA
section is real XML. If I try to LoadXml into an XmlDocument I get an
exception.
What type of exception do you get? Maybe it's invalid XML inside the
CDATA, best thing would be if you posted a sample of it...
--
Pascal Schmitt