XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Alicia RobertsSubject: 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.


UnknowneFactura(1).xsd


UnknownE_Invoice5.xsl
XSLT Map

Postnext
Minollo I.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?

Thanks.

Postnext
Alicia RobertsSubject: XSD to XML
Author: Alicia Roberts
Date: 17 Jul 2007 04:17 PM
Am I suppose to convert the XSD into XML using the XSLT Tool? Can I upload the XSD file without converting to XML?

Postnext
Minollo I.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.

Does that help?

Postnext
Alicia RobertsSubject: 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.

Posttop
Minollo I.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.

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.