12 1 Hierarchies and Relationships
Figure 1.5 Data entry screen for an element of an XML document. The window on
the left shows the hierarchical structure of the XML document in the same manner
as a file manager. Ageneelement is highlighted, indicating that this is the currently
open element. The attributes for thegeneelement are shown in the right window.
The window on the right acts like a data entry screen for viewing and updating the
attributes of the element.
<!ELEMENT molecule (atomArray, bondArray)>
<!ATTLIST molecule
title CDATA #IMPLIED
id CDATA #IMPLIED
convention CDATA "CML"
dictRef CDATA #IMPLIED
count CDATA "1"
>
<!ELEMENT atomArray (atom+)>
<!ATTLIST atomArray
title CDATA #IMPLIED
id CDATA #IMPLIED
convention CDATA "CML"