<?xml version="1.0"?>
<CML>
<ELEMENT NAME="ARRAY">
<CONTENT>(#PCDATA)</CONTENT>
<ATTLIST TITLE="BUILTIN">
<NAME>BUILTIN</NAME>
<TYPE>CDATA</TYPE>
<DEFAULT>#IMPLIED</DEFAULT>
<HTML TITLE="HELP">
<P>
BUILTIN is a generic attribute for defining the semantics of
an ARRAY or XVAR element. More later.
</P>
</HTML>
</ATTLIST>
<ATTLIST TITLE="TYPE">
<NAME>TYPE</NAME>
<TYPE>CDATA</TYPE>
<DEFAULT>#IMPLIED</DEFAULT>
<HTML TITLE="HELP">
<P>
TYPE is the data type of the Item (e.g. INTEGER);
</P>
</HTML>
</ATTLIST>
<HTML TITLE="HELP">
<P>
ARRAY (DXN): (superclass DrawableX_Node)
</P>
<P>
A container for a simple homogenous list of primitive objects (STRING, FLOAT,
DATE, URL, etc). ARRAYs have BUILTINs associated with them in both TecML
and CML.
</P>
<!-- ... deleted ... -->
</HTML>
</ELEMENT>
</CML>
This was pre-namespaces... and also was not verifiable (although there
*was* a DTD somewhere for this syntax I didn't use it :-). Also at that
stage I simply put in the ASCII content spec whereas later I parsed the
spec and included it as a subtree.
I would now suggest that the elementType names were taken directly from the
spec, etc.
HTH
P.
Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg