<%=ConfigurationManager.AppSettings["SS"]%> can generate an industry standard W3C XSD (or DTD) by correctly inferring an XML data model from an XML instance document. Auto-generating an XSD with <%=ConfigurationManager.AppSettings["SS"]%> is accomplished by loading any XML document into <%=ConfigurationManager.AppSettings["SS"]%>'s XML editor and clicking on the "Schema" tab, located at the bottom of <%=ConfigurationManager.AppSettings["SS"]%>'s XML editor as shown here:

If an XML content model (expressed as an XSD or DTD) has already been assigned, <%=ConfigurationManager.AppSettings["SS"]%> will display the XML document's content model. However, if no XML content model has been assigned, <%=ConfigurationManager.AppSettings["SS"]%> will optionally generate an XSD (or DTD) for you as illustrated below. For more about the Schema tab, see our section on XML editing views.

Generating an XSD (or DTD) is easy: Just type in the file name and click OK. As you can see below, <%=ConfigurationManager.AppSettings["SS"]%> correctly infers XML elements, attributes, relationships, compositor models (for example, Optional, Choice, Sequence), data type (xs:integer, xs:string, for example), element references, and so on. Of course you can further refine the generated XSD using our powerful XSD Editor.

<%=ConfigurationManager.AppSettings["SS"]%> inserts the XML code required to associate the XML instance document with
its newly generated XSD, so that you can easily edit and validate the XML document,
as shown here — notice how in the books element, Stylus Studio has has inserted the xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" and
xsi:noNamespaceSchemaLocation attributes which associate the XML document with the newly generated XSD.
<%=ConfigurationManager.AppSettings["SS"]%>'s integrated XSD generator (and DTD generator) is a powerful, complementary XSD utility that further accelerates developing and editing well-formed, valid XML documents — download a free trial today!
Download a free trial of our award-winning XSD Generator today!