Generating XML Schema Documentations

This section describes a tutorial example on how to generate XML schema documentation in HTML format from an XSD document using XMLPad.

Another nice feature of XMLPad is generating XML schema documentation based on the XML Schema (XSD) document. The following tutorial example shows you how to do this from our first XSD document, first_html.xsd.

1. Run XMLPad and click menu File > Open. Select c:\herong\first_html.xsd in the "Open" dialog box. XMLPad displays the XSD document in the edit window:

<?xml version = "1.0" encoding = "utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  elementFormDefault="qualified" attributeFormDefault="unqualified">
 <xs:element name="html" type="htmlType"/>
 <xs:complexType name="htmlType">
  <xs:sequence>
   <xs:element name="body" type="xs:string"/>
  </xs:sequence>
 </xs:complexType>
</xs:schema>

2. Click the "Documentation" button at the bottom of the editor window. XMLPad will generate a nice looking XML Schema Documentation in HTML format with:

3. Scroll down to browse the entire documentation.
XMLPad - Generate XML Schema Documentation

Last update: 2013.

Table of Contents

 About This Book

 Introduction to XML Schema

XML Editor and Schema Processor - XMLPad

 Installing WMHelp XMLPad Pro

 Creating and Editing XML Documents

 Creating and Editing XML Schema Documents

 Assigning XML Schema to XML Documents

 Validating XML Documents with Assigned XSD

 Validating Non-Conforming XML Documents

 XMLPad Crash When Validating Non-Conforming XML Documents

 Generating XML Schema Diagrams

Generating XML Schema Documentations

 Java API for XML Processing - JAXP

 JAXP - XML Schema (XSD) Validation

 Xerces2 Java Parser - Java API of XML Parsers

 Using Xerces2 Java API

 XML Schema Language - Basics

 Introduction of XSD Built-in Datatypes

 "string" and Its Derived Datatypes

 "decimal" and Its Derived Datatypes

 "dateTime" and Its Related Datatypes

 Miscellaneous Built-in Datatypes

 Facets, Constraining Facets and Restriction Datatypes

 "simpleType" - Defining Your Own Simple Datatypes

 Complex Element Declaration

 Identity-Constraints: unique, key and keyref

 Assertion as Custom Validation Rules

 XML Schema Location and Namespace in XML Documents

 Overriding Element Types in XML Documents

 Linking Multiple Schema Documents Together

 Glossary

 References

 PDF Printing Version