116 The XML Files: Development of XML/XSL Applications Using WebSphere Studio
<!ELEMENT FLIGHT (#PCDATA)>
<!ELEMENT NAME (#PCDATA)>
<!ELEMENT MEMBERSHIP (#PCDATA)>
<!ELEMENT AIRCRAFT (#PCDATA)>
<!ELEMENT DEPARTURE (#PCDATA)>
<!ELEMENT ARRIVAL (#PCDATA)>
<!ELEMENT TYPE (#PCDATA)>
As expected, all column names have been generated as elements. Comparing
DTDs with XML Schemas, show how verbose and versatile XML Schemas can
be.
When the DTD is produced through the “Show table as ‘Attributes’” the column
names are produced as attributes.