Skip to main content
Turns your data into a cXML document. cXML is the XML format used to exchange purchasing messages such as orders, invoices, and catalogs between business systems. It works like the standard XML formatter but also adds the correct cXML document type declaration at the top of the document, so the receiving system knows exactly which kind of cXML message it is reading.

Fields

Sample data

FieldValue
Root element nameempty (uses cXML)
Document Type Definition (DTD)Basic cXML document
DTD versionempty (uses 1.2.014)
Input:
{
    "Header": {
        "From": {
            "Credential": { "Identity": "AcmeSupplier" }
        }
    }
}
Output (a single text value; \n marks the line breaks):
"<?xml version=\"1.0\"?><!DOCTYPE cXML SYSTEM \"http://xml.cxml.org/schemas/cXML/1.2.014/cXML.dtd\">\n<cXML><Header><From><Credential><Identity>AcmeSupplier</Identity></Credential></From></Header></cXML>\n"
Written out, the cXML document reads:
<?xml version="1.0"?>
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.014/cXML.dtd">
<cXML>
  <Header>
    <From>
      <Credential>
        <Identity>AcmeSupplier</Identity>
      </Credential>
    </From>
  </Header>
</cXML>