xml spy
Previous  Top  Next
Generating Schema documentation

Goal of this section:
To generate detailed documentation on our current schema and select the specific elements we want to include in it.

You can generate an HTML or Word document, whereby related schema elements (child elements, complex types etc.) are hyperlinked, enabling you to navigate from element to element.

To generate Microsoft Word documentation, you have to have Microsoft Word installed on your computer (network).

To create schema documentation (of the AddressLast schema):
1.Select the menu option Schema design | Generate documentation.  
2.Select the Output format, HTML or Word, and confirm with OK.  
3.Select the folder and enter the name of HTML file you want to output, in the Save as... dialog, then click the Save button.  

tut_30a  

If you select HTML, the HTML document appears in the Browser view of XML Spy. Selecting Microsoft Word creates and displays the Word document.  

tut_31a  

The diagram above, shows the first page of the schema documentation in HTML form. If components from other schemas have been included, then those schemas are also documented.  

tut_32a  

The diagram above, shows how ComplexTypes are documented.  

tut_33a  

The diagram above, shows how elements and simpleTypes are documented.  

Previous  Top  Next

© 2002 Altova