Chapter 9: Converting DTDs to Schemas

Listings

Listing 9.1: An XML External DTD Subset L0901.xml

Listing 9.2: An XML Schema Document Using Global simpleType and complexType Declarations L0902.xsd

Listing 9.3: The XML External DTD Subset L0903.xml

Listing 9.4: XML Schema Document (Equivalent to XML External DTD Subset in Listing 9.3) L0904.xsd

Listing 9.5: Unique value attributes L0905.xml

Listing 9.6: An XML External DTD Subset with ID Attribute Datatypes L0906.xml

Listing 9.7: An XML Schema Using the ID Datatype L0907.xsd

Listing 9.8: An XML External DTD Subset Allowing for a Default Namespace L0908.xml

Listing 9.9: An XML External DTD Subset Allowing for a Prefix Namespace L0909.xml

Listing 9.10: An XML Schema Document L0910.xsd

Listing 9.11: An XML External DTD Subset Using Notation Declarations L0911.xml

Listing 9.12: Equivalent XML Schema Document Using Notation Declarations L0912.xsd

Listing 9.13: An Original XML External DTD Subset L0913.xml

Listing 9.14: An XML Schema Document Generated by XML Spy 3.5 L0914.xsd

Listing 9.15: A Modified XML Schema Document L0915.xsd

URLs

Trial version of XML Spy www.xmlspy.com/download.html

XML Software.com (To keep up with XML-related software) www.xmlsoftware.com

Turbo XML www.tibco.com/products/extensibility/solutions/turbo_xml.html

dtd2xs http://puvogel.informatik.med.uni-giessen.de/dtd2xs/

DTD2RELAX www.horobi.com/Projects/RELAX/Archive/DTD2RELAX.html