1 <!ELEMENT FIELD EMPTY
>
2 <!ATTLIST FIELD DECIMALS NMTOKEN #IMPLIED
>
3 <!ATTLIST FIELD DEFAULT NMTOKEN #IMPLIED
>
4 <!ATTLIST FIELD ENUM ( false | true ) #REQUIRED
>
5 <!ATTLIST FIELD ENUMVALUES CDATA #IMPLIED
>
6 <!ATTLIST FIELD LENGTH NMTOKEN #REQUIRED
>
7 <!ATTLIST FIELD NAME NMTOKEN #REQUIRED
>
8 <!ATTLIST FIELD NEXT NMTOKEN #IMPLIED
>
9 <!ATTLIST FIELD NOTNULL ( false | true ) #REQUIRED
>
10 <!ATTLIST FIELD PREVIOUS NMTOKEN #IMPLIED
>
11 <!ATTLIST FIELD SEQUENCE ( false | true ) #REQUIRED
>
12 <!ATTLIST FIELD TYPE ( binary | char | float | int | number | text ) #REQUIRED
>
13 <!ATTLIST FIELD UNSIGNED ( false | true ) #IMPLIED
>
15 <!ELEMENT FIELDS ( FIELD+ )
>
17 <!ELEMENT INDEX EMPTY
>
18 <!ATTLIST INDEX COMMENT CDATA #IMPLIED
>
19 <!ATTLIST INDEX FIELDS CDATA #REQUIRED
>
20 <!ATTLIST INDEX NAME NMTOKEN #REQUIRED
>
21 <!ATTLIST INDEX NEXT NMTOKEN #IMPLIED
>
22 <!ATTLIST INDEX PREVIOUS NMTOKEN #IMPLIED
>
23 <!ATTLIST INDEX UNIQUE ( false | true ) #REQUIRED
>
25 <!ELEMENT INDEXES ( INDEX+ )
>
28 <!ATTLIST KEY COMMENT CDATA #IMPLIED
>
29 <!ATTLIST KEY FIELDS CDATA #REQUIRED
>
30 <!ATTLIST KEY NAME NMTOKEN #REQUIRED
>
31 <!ATTLIST KEY NEXT NMTOKEN #IMPLIED
>
32 <!ATTLIST KEY PREVIOUS NMTOKEN #IMPLIED
>
33 <!ATTLIST KEY TYPE ( primary | unique | foreign ) #REQUIRED
>
35 <!ELEMENT KEYS ( KEY+ )
>
37 <!ELEMENT SENTENCE EMPTY
>
38 <!ATTLIST SENTENCE TEXT CDATA #REQUIRED
>
40 <!ELEMENT SENTENCES ( SENTENCE+ )
>
42 <!ELEMENT STATEMENT ( SENTENCES )
>
43 <!ATTLIST STATEMENT COMMENT CDATA #REQUIRED
>
44 <!ATTLIST STATEMENT NAME CDATA #REQUIRED
>
45 <!ATTLIST STATEMENT TABLE NMTOKEN #REQUIRED
>
46 <!ATTLIST STATEMENT TYPE NMTOKEN #REQUIRED
>
48 <!ELEMENT STATEMENTS ( STATEMENT )
>
50 <!ELEMENT TABLE ( FIELDS, KEYS, INDEXES? )
>
51 <!ATTLIST TABLE COMMENT CDATA #REQUIRED
>
52 <!ATTLIST TABLE NAME ID #REQUIRED
>
53 <!ATTLIST TABLE NEXT NMTOKEN #IMPLIED
>
54 <!ATTLIST TABLE PREVIOUS NMTOKEN #IMPLIED
>
56 <!ELEMENT TABLES ( TABLE+ )
>
58 <!ELEMENT XMLDB ( TABLES, STATEMENTS )
>
59 <!ATTLIST XMLDB COMMENT CDATA #REQUIRED
>
60 <!ATTLIST XMLDB PATH CDATA #REQUIRED
>
61 <!ATTLIST XMLDB VERSION NMTOKEN #REQUIRED
>