1 <!ELEMENT FIELD EMPTY
>
2 <!ATTLIST FIELD DECIMALS NMTOKEN #IMPLIED
>
3 <!ATTLIST FIELD DEFAULT NMTOKEN #IMPLIED
>
4 <!ATTLIST FIELD LENGTH NMTOKEN #REQUIRED
>
5 <!ATTLIST FIELD NAME NMTOKEN #REQUIRED
>
6 <!ATTLIST FIELD NEXT NMTOKEN #IMPLIED
>
7 <!ATTLIST FIELD NOTNULL ( false | true ) #REQUIRED
>
8 <!ATTLIST FIELD PREVIOUS NMTOKEN #IMPLIED
>
9 <!ATTLIST FIELD SEQUENCE ( false | true ) #REQUIRED
>
10 <!ATTLIST FIELD TYPE ( binary | char | float | int | number | text ) #REQUIRED
>
11 <!ATTLIST FIELD UNSIGNED ( false | true ) #IMPLIED
>
13 <!ELEMENT FIELDS ( FIELD+ )
>
15 <!ELEMENT INDEX EMPTY
>
16 <!ATTLIST INDEX COMMENT CDATA #IMPLIED
>
17 <!ATTLIST INDEX HINTS CDATA #IMPLIED
>
18 <!ATTLIST INDEX FIELDS CDATA #REQUIRED
>
19 <!ATTLIST INDEX NAME NMTOKEN #REQUIRED
>
20 <!ATTLIST INDEX NEXT NMTOKEN #IMPLIED
>
21 <!ATTLIST INDEX PREVIOUS NMTOKEN #IMPLIED
>
22 <!ATTLIST INDEX UNIQUE ( false | true ) #REQUIRED
>
24 <!ELEMENT INDEXES ( INDEX+ )
>
27 <!ATTLIST KEY COMMENT CDATA #IMPLIED
>
28 <!ATTLIST KEY FIELDS CDATA #REQUIRED
>
29 <!ATTLIST KEY NAME NMTOKEN #REQUIRED
>
30 <!ATTLIST KEY NEXT NMTOKEN #IMPLIED
>
31 <!ATTLIST KEY PREVIOUS NMTOKEN #IMPLIED
>
32 <!ATTLIST KEY TYPE ( primary | unique | foreign ) #REQUIRED
>
34 <!ELEMENT KEYS ( KEY+ )
>
36 <!ELEMENT TABLE ( FIELDS, KEYS, INDEXES? )
>
37 <!ATTLIST TABLE COMMENT CDATA #REQUIRED
>
38 <!ATTLIST TABLE NAME ID #REQUIRED
>
39 <!ATTLIST TABLE NEXT NMTOKEN #IMPLIED
>
40 <!ATTLIST TABLE PREVIOUS NMTOKEN #IMPLIED
>
42 <!ELEMENT TABLES ( TABLE+ )
>
44 <!ELEMENT XMLDB ( TABLES )
>
45 <!ATTLIST XMLDB COMMENT CDATA #REQUIRED
>
46 <!ATTLIST XMLDB PATH CDATA #REQUIRED
>
47 <!ATTLIST XMLDB VERSION NMTOKEN #REQUIRED
>