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
vinutha kSubject: XSD to XML
Author: vinutha k
Date: 25 Aug 2005 02:47 AM
Hi,


i am doing my academic project on VS2003 using c#.I need to convert XSD to XML programatically .This should support for referenced schema.
Can anyone help me regarding this.

Regards
Vinutha

Postnext
Tony LavinioSubject: XSD to XML
Author: Tony Lavinio
Date: 25 Aug 2005 09:22 AM
Stylus Studio has this option under File|Document Wizards.

Postnext
Uwe DraisbachSubject: XSD to XML
Author: Uwe Draisbach
Date: 30 Aug 2005 09:25 AM
I have several schemas in one folder. Is it possible to create a sample XML file for all schemas in one step? When using the wizard, I'm only able to select one schema at a time.

Regards,
Uwe

Postnext
Ivan PedruzziSubject: XSD to XML
Author: Ivan Pedruzzi
Date: 30 Aug 2005 09:51 AM
Hi Uwe

See this past thread

http://www.stylusstudio.com/SSDN/default.asp?action=9&read=3975&fid=59#11218

Ivan Pedruzzi
Stylus Studio Team

Postnext
Uwe DraisbachSubject: XSD to XML
Author: Uwe Draisbach
Date: 30 Aug 2005 10:06 AM
Hi Ivan,

thanks for your quick answer, but I think this doesn't solve my problem.

I have several XSD files and I want to create a sample XML file for each of them. For example: 10 XSD -> 10 XML. Because the number of XSD files goes up to 200, it would be very time consuming to do it for each XSD file manually.

Regards,
Uwe

Postnext
Ivan PedruzziSubject: XSD to XML
Author: Ivan Pedruzzi
Date: 30 Aug 2005 10:45 AM

Trang can be invoked using a command line or from a Java program.
You could configure a simple batch file that does the job for you

see the manual in your Stylus Studio installation folder

C:\Program Files\Stylus Studio 6 XML Enterprise Edition\bin\trang\trang-manual.html

Hope this helps
Ivan Pedruzzi
Stylus Studio Team

Postnext
Uwe DraisbachSubject: XSD to XML
Author: Uwe Draisbach
Date: 30 Aug 2005 11:13 AM
Hi Ivan,

Trang doesn't accept XSD files as input, is there another possibility to solve my problem?

Regards,
Uwe

Posttop
Ivan PedruzziSubject: XSD to XML
Author: Ivan Pedruzzi
Date: 30 Aug 2005 12:13 PM
Sorry Uwe, I totally miss read your message.

Translating XSD to XML automatically can not be done without choosing the root element and some schemas have more the one global elements.

If the input document structures are simple you could try to write a XSLT for this purpose.

Hope this helps
Ivan Pedruzzi
Stylus Studio Team

 
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.