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