I wonder if someone could help me to find an XSD of an cXML file (used for Ariba punch out e-commerce transactions).
Best regards, Stef
I wonder if someone could help me to find an XSD of an cXML file (used for Ariba punch out e-commerce transactions).
Best regards, Stef
cXML have DTDs and they doesn't have the XSD defined. cXML DTD can be downloaded from http://www.sagehill.net/livedtd/cxml/cXML.dtd.html
Taken from their user guide
Basic cXML documents - http://xml.cXML.org/schemas/cXML//cXML.dtd
Confirmation and Ship Notice - http://xml.cXML.org/schemas/cXML//Fulfill.dtd
Invoice - http://xml.cXML.org/schemas/cXML//InvoiceDetail.dtd
Type Definition - http://xml.cXML.org/schemas/cXML//Catalog.dtd
Payment Remittance - http://xml.cXML.org/schemas/cXML//PaymentRemittance.dtd
You can covert the cXML DTD into a schema yourself using tools like XMLPad. I found it to be most accurate.
Unfortunatelly any dtd2xsd converter which I know can not do this conversion (cxml.dtd to cxml.xsd) correctly. If anyone can do it - write how. I need xsf file to generate java classes (xjc can not do it from published dtd file).