Chapter 2: Of DTDs and Schemas

Listings

Listing 2.1: An XML Document Containing an Internal DTD Subset L0201.xml

Listing 2.2: An XML Document and Its Internal DTD Subset L0202.xml (Contrived example. View source to see markup.)

Listing 2.3: An XML Document Referencing an External DTD Subset L0203.xml (Contrived example. View source to see markup.)

Listing 2.4: An XML Schema Document L0204.xml

Listing 2.5: An XML Schema Document Containing Element Declarations L0205.xml

Listing 2.6: An XML Schema Document Containing Attribute Declarations L0206.xml

Listing 2.7: An XML Schema Document Illustrating XML Schema Namespace Usage L0207.xml

Listing 2.8: An XML Schema Document Containing an Annotation L0208.xml

URL

XML Spy www.xmlspy.com