untitled

(ff) #1

1.4 Creating and Updating XML 13


>

<!ELEMENT atom EMPTY>
<!ATTLIST atom
elementType CDATA #IMPLIED
title CDATA #IMPLIED
id CDATA #IMPLIED
convention CDATA "CML"
dictRef CDATA #IMPLIED
count CDATA "1"



<!ELEMENT bondArray (bond+)>
<!ATTLIST bondArray
title CDATA #IMPLIED
id CDATA #IMPLIED
convention CDATA "CML"


<!ELEMENT bond EMPTY>
<!ATTLIST bond
title CDATA #IMPLIED
id CDATA #IMPLIED
convention CDATA "CML"
dictRef CDATA #IMPLIED
atomRefs CDATA #IMPLIED



Figure 1.6 Part of the Chemical Markup Language DTD. This part defines the con-
tent and some of the attributes of amoleculeelement as well as the content and
some of the attributes of elements that can be contained in amoleculeelement.


<!ENTITY % title_id_conv ’
title CDATA #IMPLIED
id CDATA #IMPLIED
convention CDATA "CML" ’>
<!ENTITY % title_id_conv_dict
%title_id_conv;

Free download pdf