我正在生成正确的cxml,但开头缺少doctype。
如何在<?xml version="1.0" encoding="utf-8"?>
之后添加以下doc类型,并使用XSLT映射复制剩余的xml。
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.032/cXML.dtd">
所需的输出应该像
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.032/cXML.dtd">
<xml>
<field>.... (followed by remaining xml structure)
谢谢, VARUN
答案 0 :(得分:0)
尝试
<xsl:output method="xml"
doctype-system="http://xml.cxml.org/schemas/cXML/1.2.032/cXML.dtd"
/>