Skip to Content
0
Jun 26, 2020 at 08:55 PM

Error parsing cXML | remove

278 Views

Hi Guys,

I am receiving a cXML file below are the contents, while parsing using XSLT I am getting error.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cXML  SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.046/cXML.dtd">
<cXML payloadID="AF7rzg4Yg6dfzOW5Mfp6PFIAz66C"
      timestamp="2020-06-18T20:26:55+00:00"
      version="1.2.046">
  <Response>
    <Status code="201" text="Acknowledged">Acknowledged</Status>
  </Response>
</cXML>

now this DOCTYPE is creating the issue, is there way to remove this whole line.

Thanks

Yatan