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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
+ Stylus Studio Technical Forum (14621)
+ Website Feedback (249)
- XSLT Help and Discussion (7625)
-> + Use of before and after string (3) Sticky Topic
-> - How do I substitute element ty... (1)
-> + How does one add working days ... (4)
-> - Help, I have existing XLT and... (1)
-> + Need help on XSLT issue - (2)
-> + EDI to XML Conversion (7)
-> - XML To JSON Conversion using X... (1)
-> + Formatting Paragraphs to same ... (2)
-> - Grouping of records (1)
-> + Problems with xsd 1.1 (4)
-> + XML to HL7 mapping (3)
-> + XSLT 3 and Iterate (2)
-> + XSL-FO to PDF preview (3)
-> + java.lang.RuntimeException: Er... (2)
-> + Create Acroforms with Stylus X... (2)
-> + How to change XSLT parameter s... (3)
-> + how to change format of the da... (2)
-> + Search "Next 8 Results " doesn... (2)
-> - Support for Git (1)
-> + newbee (8)
-- [1-20] [21-40] [41-60] Next
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
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.

   
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.