/[papo]/papo/xot/xot.dtd
ViewVC logotype

Diff of /papo/xot/xot.dtd

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by jlenton, Mon Jun 30 03:42:06 2003 UTC revision 1.4 by jlenton, Thu Jul 3 23:53:47 2003 UTC
# Line 4  Line 4 
4  <!-- ============================================================= -->  <!-- ============================================================= -->
5    
6    
7  <!ELEMENT  database     (tables,style_definitions?)                  >  <!ELEMENT  database     (tables,class_defs?)                         >
8    
9  <!ELEMENT  tables       (table+)                                     >  <!ELEMENT  tables       (table)+                                     >
10    
11  <!ELEMENT  table        (fields,constraints?,indexes?,styles?)       >  <!ELEMENT  table        (fields,constraints?,indexes?,classes?)      >
12  <!ATTLIST  table  <!ATTLIST  table
13               name       ID                                 #REQUIRED               name       NMTOKEN                            #REQUIRED
14               inherits   IDREF                              #IMPLIED  >               inherits   NMTOKEN                            #IMPLIED  >
15    
16  <!ELEMENT  fields       (field+)                                     >  <!ELEMENT  fields       (field+)                                     >
17  <!ELEMENT  field        EMPTY                                        >  <!ELEMENT  field        EMPTY                                        >
18  <!ATTLIST  field  <!ATTLIST  field
19               name       NMTOKEN                            #REQUIRED               name       NMTOKEN                            #REQUIRED
20               references IDREF                              #IMPLIED               references NMTOKEN                            #IMPLIED
21               type       CDATA                              #IMPLIED  >               type       CDATA                              #IMPLIED  >
22    
23  <!ELEMENT  styles       (style+)                                     >  <!ELEMENT  classes       (class+)                                     >
24  <!ELEMENT  style        EMPTY                                        >  <!ELEMENT  class        EMPTY                                        >
25  <!ATTLIST  style  <!ATTLIST  class
26               name       NMTOKEN                            #REQUIRED >               name       NMTOKEN                            #REQUIRED >
27    
28  <!ELEMENT  constraints  (constraint+)                                >  <!ELEMENT  constraints  (constraint+)                                >
# Line 34  Line 34 
34  <!ELEMENT  constraint_field  <!ELEMENT  constraint_field
35                          EMPTY                                        >                          EMPTY                                        >
36  <!ATTLIST  constraint_field  <!ATTLIST  constraint_field
37               name       IDREF                              #REQUIRED >               name       NMTOKEN                            #REQUIRED >
38    
39    
40  <!ELEMENT  indexes      (index+)                                     >  <!ELEMENT  indexes      (index+)                                     >
# Line 58  Line 58 
58               name       NMTOKEN                            #REQUIRED >               name       NMTOKEN                            #REQUIRED >
59    
60    
61  <!ELEMENT  style_definitions  <!ELEMENT  class_defs
62                          (style_definition+)                          >                          (class_def+)                                 >
63  <!ELEMENT  style_definition  <!ELEMENT  class_def
64                          (style_implementation+)                      >                          (class_impl+)                                >
65  <!ATTLIST  style_definition  <!ATTLIST  class_def
66               name       NMTOKEN                            #REQUIRED >               name       NMTOKEN                            #REQUIRED >
67    
68  <!ELEMENT  style_implementation  <!ELEMENT  class_impl
69                          (#PCDATA)                                    >                          (#PCDATA)                                    >
70  <!ATTLIST  style_implementation  <!ATTLIST  class_impl
71               target     (sql|dot)                          #REQUIRED >               target     (xml|xot|dot|sql)                  #REQUIRED >

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26