Chapter 10 of The XML 1.1 Bible, Entity Declarations
Listing 10-1: The ERH Internal General Entity Reference
Listing 10-10:
Listing 10-2: An Invalid Document That Uses a DTD Solely to Define a General Entity Reference
Listing 10-3: Declarations for the Predefined General Entity References
Listing 10-4: An XML External Parsed Entity
Listing 10-5: The SIG External General Entity Reference
Listing 10-6: An XML External Parsed Entity with a Text Declaration
Listing 10-7: An External Parsed Entity That Is Also a Well-Formed XML Document
Listing 10-8: An Invalid but Well-Formed Document That Uses an External General Entity Reference
Listing 10-9: A DTD for the SHOW Element and Its Children (show.dtd)
Listing 10-11: The STATION DTD (station.dtd)
Listing 10-12: A Valid Station Document
Listing 10-13: The SCHEDULE DTD (schedule.dtd)
Listing 10-14: oprah.xml
Listing 10-15: The WLNY DTD with Entity References for Show (wlny.dtd)
Listing 10-16: WLNY with Shows Loaded from External Entities (wlny.xml)
Listing 10-17: The Station DTD (stations.dtd)
Listing 10-18: Master Television Schedule Document Using External Entity References for Shows
Listing 10-19: DTD That Defines External Entity References for Shows (shows.dtd)
Listing 10-20: A Television Schedule Using External Entity References for Stations
Listing 10-21: HBO Schedule with Shows Loaded from External Entities
Listing 10-22: DATE Elements in an ISO 8601 and Conventional U.S. Formats
Listing 10-23: A Malformed XML Document That Tries to Embed an Unparsed Entity with a General Entity Reference
Listing 10-24: A Valid XML Document That Correctly Embeds an Unparsed Entity
Listing 10-25: A Nonempty PERSON Element with a PHOTO ENTITY Attribute
Listing 10-26: The External DTD Subset person.dtd
Listing 10-27: A Document That Uses an Internal DTD Subset to Locate the Unparsed Entity
Copyright 2004
Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified March 1, 2004