blob: 5227f8117d94cdeb32193767aafebb12b3cca381 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
<!--
Copyright (C) 2002 Stanislav Sinyagin
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
$Id: torrus-config.dtd,v 1.1 2010-12-27 00:04:04 ivan Exp $
Stanislav Sinyagin <ssinyagin@yahoo.com>
Torrus Configuration XML DTD
-->
<!ELEMENT action ( param+ ) >
<!ATTLIST action name NMTOKEN #REQUIRED >
<!ELEMENT alias ( #PCDATA ) >
<!ELEMENT apply-template EMPTY >
<!ATTLIST apply-template name NMTOKEN #REQUIRED >
<!ELEMENT configuration ( creator-info | definitions | datasources |
include | monitors | param-properties |
token-sets | views )* >
<!ELEMENT creator-info ( #PCDATA ) >
<!ELEMENT datasources ( template | alias | apply-template |
leaf | param | subtree |
setvar | iftrue | iffalse )* >
<!ELEMENT def EMPTY >
<!ATTLIST def name ID #REQUIRED >
<!ATTLIST def value CDATA #REQUIRED >
<!ELEMENT definitions ( def )* >
<!ELEMENT detailed ( alias | apply-template |
leaf | param | subtree |
setvar | iftrue | iffalse )* >
<!ATTLIST detailed match NMTOKEN #REQUIRED >
<!ELEMENT include EMPTY >
<!ATTLIST include filename ID #REQUIRED >
<!ELEMENT leaf ( alias | apply-template | param |
setvar | iftrue | iffalse )* >
<!ATTLIST leaf name NMTOKEN #REQUIRED >
<!ELEMENT monitor ( param+ ) >
<!ATTLIST monitor name NMTOKEN #REQUIRED >
<!ELEMENT monitors ( action | monitor )* >
<!ELEMENT param ( #PCDATA ) >
<!ATTLIST param name NMTOKEN #REQUIRED >
<!ATTLIST param value CDATA #IMPLIED >
<!ELEMENT param-properties ( prop )* >
<!ELEMENT prop >
<!ATTLIST prop param NMTOKEN #REQUIRED >
<!ATTLIST prop prop NMTOKEN #REQUIRED >
<!ATTLIST prop value CDATA #REQUIRED >
<!ELEMENT subtree ( alias | apply-template |
leaf | param | subtree | setvar | iftrue | iffalse )* >
<!ATTLIST subtree name NMTOKEN #REQUIRED >
<!ELEMENT template ( alias | apply-template |
leaf | param | subtree | setvar | iftrue | iffalse )* >
<!ATTLIST template name NMTOKEN #REQUIRED >
<!ELEMENT token-set ( param* ) >
<!ATTLIST token-set name NMTOKEN #REQUIRED >
<!ELEMENT token-sets ( param | token-set )* >
<!ELEMENT view ( param | view )* >
<!ATTLIST view name ID #REQUIRED >
<!ELEMENT views ( view* ) >
|