schema_description.dtd 1.59 KB
Newer Older
Glenn Proctor's avatar
Created  
Glenn Proctor committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
<!ELEMENT schemadescription (introduction?, diagram*, tablegroup*, concepts*)>
<!ATTLIST schemadescription schema-version CDATA #REQUIRED>
<!ATTLIST schemadescription document-version CDATA #REQUIRED>

<!ELEMENT introduction  (text, process?)>
<!ELEMENT text          (#PCDATA)>

<!ELEMENT process       (step*)>
<!ATTLIST process intro CDATA #IMPLIED>
<!ELEMENT step          (#PCDATA)>
<!ATTLIST step number   CDATA #REQUIRED>

<!ELEMENT concepts             (concept*)>
<!ELEMENT concept              (#PCDATA)>
<!ATTLIST concept  name        CDATA #REQUIRED>
<!ATTLIST concept  description CDATA #REQUIRED>

<!ELEMENT diagram               (#PCDATA)>
<!ATTLIST diagram url           CDATA #IMPLIED>
<!ATTLIST diagram description   CDATA #IMPLIED>

<!ELEMENT tablegroup             (table*)>
<!ATTLIST tablegroup name CDATA #REQUIRED>
<!ATTLIST tablegroup description CDATA #IMPLIED>

<!ELEMENT table         (name, description, used, see?)>
<!ELEMENT name          (#PCDATA)>
<!ELEMENT description   (#PCDATA)>
<!ELEMENT used          (#PCDATA)>
<!ELEMENT see           (tableref*, conceptref*, urlref*)>

<!ELEMENT tableref      (#PCDATA)>
<!ATTLIST tableref name   CDATA #IMPLIED>
<!ATTLIST tableref reason CDATA #IMPLIED>

<!ELEMENT conceptref      (#PCDATA)>
<!ATTLIST conceptref name   CDATA #IMPLIED>
<!ATTLIST conceptref reason CDATA #IMPLIED>

<!ELEMENT urlref        (#PCDATA)>
<!ATTLIST urlref name   CDATA #IMPLIED>
<!ATTLIST urlref reason CDATA #IMPLIED>
<!ATTLIST urlref url    CDATA #REQUIRED>

<!ELEMENT link          (#PCDATA)>
<!ATTLIST link name     CDATA #IMPLIED>
<!ATTLIST link url      CDATA #IMPLIED>