January 2002
Intermediate to advanced
480 pages
11h 5m
English
In the example discussed in this section, a direct marketing company (ABC Corporation) needs to provides information in an XML format that differs from the format currently used in its structure and semantics.
Listing 9.2 shows a fragment of the DTD for the XML data.
<!ELEMENT People (Person*)>
<!ELEMENT Person (FirstName, LastName, Address)>
<!ELEMENT FirstName (#PCDATA)>
<!ELEMENT LastName (#PCDATA)>
<!ELEMENT Address (Street, City, State, ZipCode)>
<!ELEMENT Street (#PCDATA)>
<!ELEMENT City (#PCDATA)>
<!ELEMENT State (#PCDATA)>
<!ELEMENT ZipCode (#PCDATA)>
|
Listing 9.3 shows a sample XML document that could ...