Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: Tools to Generate XSD from Sample Instances

From: "Michael Kay" <mike@--------.--->
To: "'Tsao, Scott'" <scott.tsao@------.--->, <xmlschema-dev@--.--->
Date: 10/20/2009 8:28:00 AM
I've had good results on this using Stylus Studio. It works from a single
instance document, but you can always combine multiple instances into one
before you start. There is some control over the design patterns it uses,
but I generally find the default settings are quite usable. Of course you
have to tidy up the generated schema by hand afterwards, for example to make
intelligent decisions about when to use enumerations and patterns in your
simple types, or when to impose a hierarchy of types or substitution groups,
but I find it's often a good way of creating a first cut.
 
Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 


  _____  

From: xmlschema-dev-request@w... [mailto:xmlschema-dev-request@w...] On
Behalf Of Tsao, Scott
Sent: 20 October 2009 02:06
To: xmlschema-dev@w...
Subject: Tools to Generate XSD from Sample Instances


I am wondering if there are good tools that would enable (auto) generation
of XML schema from multiple instances of sample XML document.
 
It seems to me that one should be able to specify certain parameters for the
resulting schema, e.g., the design pattern [1] to be followed.
 
Any comments or suggestions?
 
[1]
http://developers.sun.com/jsenterprise/archive/nb_enterprise_pack/reference/
techart/design_patterns.html
 
 
Thanks,



Scott Tsao $BAbThT"(B
Associate Technical Fellow 
The Boeing Company 



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent