Don't escape the whole thing with CDATA.
Hi,
We need to translate the content of our SOAP body (<sampledata>) to XML. By using CDATA on sampledata, the content is translated fine. However, there are times that we need to preserve some literals in the <payload>.
In the sample below, we need to keep this >> test only << intact and not transform it into ">> test only <<"
<sampledata><message>
<payload>
>> test only <<
</payload>
<message></sampledata>
Is it possible? (99.99% of me says that it isn't possible). Is there a workaround?
Thanks so much!
|