/[thuban]/branches/WIP-pyshapelib-bramz/Resources/XML/thuban-0.9.dtd
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Resources/XML/thuban-0.9.dtd

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

revision 1375 by bh, Tue Jul 8 10:53:05 2003 UTC revision 1638 by bh, Fri Aug 22 18:19:14 2003 UTC
# Line 10  Line 10 
10      Read the file COPYING coming with Thuban for details.      Read the file COPYING coming with Thuban for details.
11  -->  -->
12    
13  <!-- a session contains zero or more datasources and and zero or more maps  <!-- a session contains zero or more database connections zero or more
14         datasources and and zero or more maps
15    
16  At some point, the namespace attribute will likely be used by Thuban to  At some point, the namespace attribute will likely be used by Thuban to
17  identify the version of the file format.  identify the version of the file format.
18  -->  -->
19    
20  <!ENTITY % shapesources "fileshapesource | derivedshapesource">  <!ENTITY % shapesources "fileshapesource | derivedshapesource | dbshapesource">
21  <!ENTITY % tables "filetable | jointable">  <!ENTITY % tables "filetable | jointable">
22  <!ELEMENT session ((%shapesources; | %tables; )*, map*)>  <!ELEMENT session ((dbconnection | %shapesources; | %tables; )*, map*)>
23  <!ATTLIST session  <!ATTLIST session
24          title CDATA #REQUIRED          title CDATA #REQUIRED
25          xmlns CDATA #IMPLIED          xmlns CDATA #IMPLIED
26  >  >
27    
28    
29    <!--
30        A db connection represents the connection to a database.
31    
32        Currently only connections to postgis databases are supported and
33        thus The dbtype attribute must be "postgis".
34    -->
35    
36    <!ELEMENT dbconnection EMPTY>
37    <!ATTLIST dbconnection
38            id     ID    #REQUIRED
39            dbtype CDATA #REQUIRED
40            dbname CDATA #REQUIRED
41            host   CDATA ""
42            port   CDATA ""
43            user   CDATA ""
44    >
45    
46    
47    <!-- A dbshapesource represents a table with geometry data in a database
48    
49         The dbconn attribute must be the id of a dbconnection element
50         occurring earlier in the document.
51    -->
52    
53    <!ELEMENT dbshapesource EMPTY>
54    <!ATTLIST dbshapesource
55            id        ID    #REQUIRED
56            dbconn    IDREF #REQUIRED
57            tablename CDATA #REQUIRED
58    >
59    
60  <!--  <!--
61      A fileshapesource is a source of shapes and perhaps attribute data      A fileshapesource is a source of shapes and perhaps attribute data
62      read from a file. The filetype attribute must be one of the      read from a file. The filetype attribute must be one of the

Legend:
Removed from v.1375  
changed lines
  Added in v.1638

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26