Is it possible to pass XML data as a string without it being escaped?

I am calling the Calais web service, which takes the XML document...

<c:params xmlns:c="http://s.opencalais.com/1/pred/"; xmlns:rdf="
http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
<c:processingDirectives c:contentType="text/txt"
c:outputFormat="xml/rdf"></c:processingDirectives>
<c:userDirectives c:allowDistribution="true" c:allowSearch="true"
c:externalID="17cabs901" c:submitter="ABC"> </c:userDirectives>
<c:externalMetadata></c:externalMetadata>
</c:params>

...as a String element type.  The service returns an error stating the XML
document is invalid (because it is escaped).
Regards,

Charles

Reply via email to