XSD for a cXML file

6.2k Views Asked by At

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

3

There are 3 best solutions below

0
On BEST ANSWER

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

0
On

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).

1
On

You can covert the cXML DTD into a schema yourself using tools like XMLPad. I found it to be most accurate.