Chapter 8 of The XML 1.1 Bible, Element Declarations
Listing 8-1: A Very Loose DTD for Television Listings
Listing 8-2: A Document That’s Valid According to the DTD in Listing 8-1
Listing 8-3: A Document That’s Invalid According to the DTD in Listing 8-1
Listing 8-4: A Television Listing DTD That Uses Content Models
Listing 8-5: A Television Listing DTD That Uses #PCDATA Content Specifications
Listing 8-6: The Finished Television Listing DTD
Listing 8-7: A Valid Document Using Empty Elements
Listing 8-8: A Commented DTD
Copyright 2004
Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified March 1, 2004