Subject:XSD to XML Author:Alicia Roberts Date:17 Jul 2007 03:42 PM
The attached file is xsd from Mexico. Do I convert the xsd into XML and then map the DTD to XML. The source is DTD (IDOC) to destination XSD. I have included my map and XSD.
Subject:XSD to XML Author:Minollo I. Date:17 Jul 2007 04:07 PM
Alicia,
can you provide a few more details? I'm not sure I understand your question, if there is one. What is the problem you are hitting/trying to solve?
Subject:XSD to XML Author:Minollo I. Date:17 Jul 2007 04:23 PM
The XSLT Mapper visual tool will be able to accept an XML Schema, DTD or XML as a description of source and targets. But if you want to run/preview the XSLT result, then you will need to provide an XML document (consistent with the input description your XSLT expects); I guess you can create a sample XML document from the XML Schema you have for the source structure, but it would probably be a better test/preview if you used a real XML instance consistent with a real life scenario.
Subject:XSD to XML Author:Alicia Roberts Date:17 Jul 2007 04:35 PM
Should the Output always reference location schema? xsi:schemaLocation="http://www.sat.gob.mx/cfd/2
This is not a valid url. In XML, does it matter? Business connector runs XSLT Map and it's having a problem with the schema location. It can't reference the output structure which is XSD. It looks like this "xsi:schemaLocation="http://www.sat.gob.mx/cfd/2 file://c:\Program%20Files\SonicSoftware\Stylus%20Studio\bin\eFactura.xsd", because I run on my PC, but I need to remove the File://c:\ so Business Connector can process it.
Subject:XSD to XML Author:Minollo I. Date:17 Jul 2007 04:45 PM
Your output doesn't need to reference a schema; it may provide an easy way to validate it, but you don't necessarily need to encode that information inside the XML file.