Forum Stats

  • 3,827,224 Users
  • 2,260,751 Discussions
  • 7,897,187 Comments

Discussions

Error while reading <?xml-stylesheet element > in File adapter

Hi,

We are receiving a file with following details:

     <?xml version="1.0" encoding="ISO-8859-1"?>

     <!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.008/cXML.dtd">

     <?xml-stylesheet href="http://xxx.com:8001/integration/stylesheet/Request.xsl" type="text/xsl"?>

     <cXML payloadID="11111" timestamp="2013-10-16T11:17:27-04:00" version="1.0">

          <Header>

               <From>

We have CXML canonical XML schema which will read this file from cXML element, because of the <?xml-stylesheet href="http://xxx.com:8001/integration/stylesheet/Request.xsl" type="text/xsl"?> element file adapter is failing to read the XML and throwing error as invalid XML. Do we have any approach to parse this xml with the above element.

Thanks,

KANN.

Tagged:
This discussion has been closed.