~ubuntu-branches/ubuntu/precise/grass/precise

« back to all changes in this revision

Viewing changes to gui/wxpython/xml/grass-gxm.dtd

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2011-04-13 17:08:41 UTC
  • mfrom: (8.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110413170841-ss1t9bic0d0uq0gz
Tags: 6.4.1-1
* New upstream version.
* Now build-dep on libjpeg-dev and current libreadline6-dev.
* Removed patch swig: obsolete.
* Policy bumped to 3.9.2, without changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!--    grass-gxm.dtd
 
2
 
 
3
        Copyright (C) 2010 by the GRASS Development Team
 
4
        Author: Martin Landa <landa.martin gmail.com>
 
5
        
 
6
        This program is free software under the GPL (>=v2)
 
7
        Read the file COPYING coming with GRASS for details.
 
8
-->
 
9
 
 
10
 
 
11
<!--
 
12
        grass-gxm defines model file content
 
13
-->
 
14
 
 
15
<!ELEMENT grass-gxm (gxm)>
 
16
 
 
17
<!ELEMENT gxm (action*, data*, loop*, properties?, variables?)>
 
18
 
 
19
<!--    an action defines action properties (usually GRASS modules)
 
20
-->
 
21
<!ELEMENT action (task)>
 
22
<!ATTLIST action id     CDATA #REQUIRED>
 
23
<!ATTLIST action name   CDATA #REQUIRED>
 
24
<!ATTLIST action pos    CDATA #REQUIRED>
 
25
<!ATTLIST action size   CDATA #REQUIRED>
 
26
 
 
27
<!--    a task describes the interface of a single
 
28
        GRASS command
 
29
-->
 
30
<!ELEMENT task          (flag*, parameter*, disabled?)>
 
31
<!ATTLIST task  name    CDATA #REQUIRED>
 
32
 
 
33
<!--    defines task to be enabled/disabled
 
34
-->
 
35
<!ELEMENT disabled    EMPTY>
 
36
 
 
37
<!--    a parameter must have a name and a value
 
38
-->
 
39
<!ELEMENT parameter     (value, parameterized?)>
 
40
<!ATTLIST parameter     name    CDATA #REQUIRED>
 
41
 
 
42
<!--    value of parameter
 
43
-->
 
44
<!ELEMENT value         (#PCDATA)>
 
45
 
 
46
<!--    parameterized
 
47
-->
 
48
<!ELEMENT parameterized EMPTY>
 
49
 
 
50
<!--    enabled flag
 
51
-->
 
52
<!ELEMENT flag          EMPTY>
 
53
<!ATTLIST flag          name    CDATA #REQUIRED>
 
54
<!ATTLIST parameterized         (0|1) #IMPLIED>
 
55
 
 
56
<!--    a data defines data properties (usually data layers)
 
57
-->
 
58
<!ELEMENT data (data-parameter, intermediate?, relation*)>
 
59
<!ATTLIST data pos      CDATA #REQUIRED>
 
60
<!ATTLIST data size     CDATA #REQUIRED>
 
61
 
 
62
<!--    a data-parameter defines data items properties
 
63
-->
 
64
<!ELEMENT data-parameter  (value)>
 
65
<!ATTLIST data-parameter  prompt        CDATA #REQUIRED>
 
66
 
 
67
<!--    a data intermediate?
 
68
-->
 
69
<!ELEMENT intermediate    EMPTY>
 
70
 
 
71
<!--    a relation defines relation between data and actions
 
72
-->
 
73
<!ELEMENT relation  (point*)>
 
74
<!ATTLIST relation  id          CDATA       #REQUIRED>
 
75
<!ATTLIST relation  dir         (from | to) #REQUIRED>
 
76
<!ATTLIST relation  name        CDATA       #REQUIRED>
 
77
 
 
78
<!--    a point defines control point of linear shape
 
79
-->
 
80
<!ELEMENT point  (x, y)>
 
81
<!ELEMENT x      (#PCDATA)>
 
82
<!ELEMENT y      (#PCDATA)>
 
83
 
 
84
<!--    a properties describes model properties
 
85
-->
 
86
<!ELEMENT properties    (name?, description?, author?, flag*)>
 
87
<!ELEMENT name          (#PCDATA)>
 
88
<!ELEMENT description   (#PCDATA)>
 
89
<!ELEMENT author        (#PCDATA)>
 
90
 
 
91
<!--    a variable describes model variable
 
92
-->
 
93
<!ELEMENT variables       (variable*)>
 
94
<!ELEMENT variable        (description?, value?)>
 
95
<!ATTLIST variable  name  CDATA                      #REQUIRED>
 
96
<!ATTLIST variable  type  (integer | float | string) #REQUIRED>
 
97
 
 
98
<!--    a loop describes model loops
 
99
-->
 
100
<!ELEMENT loop       (condition)>
 
101
<!ELEMENT condition  (#PCDATA)>