how to add DocType declaration on top of the XML
We are generating XML files from database records. We are using data mapper for transformation. How do I add a DOCTYPE declaration on the xml file?
I want to add the following DOCTYPE declaration.
<!DOCTYPE cXML SYSTEM "http://xml.cXML.org/schemas/cXML/1.2.3456/InvoiceDetail.dtd">
0
-
I used the action menu item “Global Custom XSL Before”. Then added the following xsl in there
<xsl:text disable-output-escaping='yes'><!DOCTYPE cXML SYSTEM "http://xml.cXML.org/schemas/cXML/ 1.2.3456/InvoiceDetail.dtd"></xsl:text>
0
Post is closed for comments.
Comments
1 comment