Skip to main content
Turns your structured data into a cXML message, ready to send to a procurement partner or trading system. cXML is the XML-based format used for documents such as purchase orders, order confirmations, ship notices, and invoices. This mapper wraps your data in an XML root element and adds the document type line at the top of the message, so the receiving system knows which cXML specification and version the message follows. By default the message is wrapped in a cXML element and declared against the basic cXML document type for version 1.2.014.

Fields

Sample data

This example formats one object using the default root element and document type, so the message is wrapped in cXML and declared against the basic cXML document type for version 1.2.014.
FieldValue
Root element namecXML (default)
Document Type Definition (DTD)Basic cXML document (default)
DTD version1.2.014 (default)
Input:
{
    "doc": {
        "Header": {
            "From": {
                "Credential": {
                    "Identity": "AcmeSupplier"
                }
            }
        }
    }
}
Output:
{
    "doc": "<?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"
}