import torrus 1.0.9
[freeside.git] / torrus / sup / dtd / torrus-config.dtd
1 <!--
2    Copyright (C) 2002  Stanislav Sinyagin
3  
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.
8  
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.
13  
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.
17
18   $Id: torrus-config.dtd,v 1.1 2010-12-27 00:04:04 ivan Exp $
19   Stanislav Sinyagin <ssinyagin@yahoo.com>
20
21   Torrus Configuration XML DTD
22   
23 -->
24
25 <!ELEMENT action ( param+ ) >
26 <!ATTLIST action name NMTOKEN #REQUIRED >
27
28 <!ELEMENT alias ( #PCDATA ) >
29
30 <!ELEMENT apply-template EMPTY >
31 <!ATTLIST apply-template name NMTOKEN #REQUIRED >
32
33 <!ELEMENT configuration ( creator-info | definitions | datasources |
34                           include | monitors | param-properties |
35                           token-sets | views )* >
36
37 <!ELEMENT creator-info ( #PCDATA ) >
38
39 <!ELEMENT datasources ( template | alias | apply-template |
40                         leaf | param | subtree |
41                         setvar | iftrue | iffalse )* >
42                         
43 <!ELEMENT def EMPTY >
44 <!ATTLIST def name ID #REQUIRED >
45 <!ATTLIST def value CDATA #REQUIRED >
46
47 <!ELEMENT definitions ( def )* >
48
49 <!ELEMENT detailed ( alias | apply-template |
50                     leaf | param | subtree |
51                     setvar | iftrue | iffalse )* >
52 <!ATTLIST detailed match NMTOKEN #REQUIRED >
53
54 <!ELEMENT include EMPTY >
55 <!ATTLIST include filename ID #REQUIRED >
56
57 <!ELEMENT leaf ( alias | apply-template | param |
58                  setvar | iftrue | iffalse )* >
59 <!ATTLIST leaf name NMTOKEN #REQUIRED >
60
61 <!ELEMENT monitor ( param+ ) >
62 <!ATTLIST monitor name NMTOKEN #REQUIRED >
63
64 <!ELEMENT monitors ( action | monitor )* >
65
66 <!ELEMENT param ( #PCDATA ) >
67 <!ATTLIST param name NMTOKEN #REQUIRED >
68 <!ATTLIST param value CDATA #IMPLIED >
69
70 <!ELEMENT param-properties ( prop )* >
71
72 <!ELEMENT prop >
73 <!ATTLIST prop param NMTOKEN #REQUIRED >
74 <!ATTLIST prop prop NMTOKEN #REQUIRED >
75 <!ATTLIST prop value CDATA #REQUIRED >
76
77 <!ELEMENT subtree ( alias | apply-template |
78                     leaf | param | subtree | setvar | iftrue | iffalse )* >
79 <!ATTLIST subtree name NMTOKEN #REQUIRED >
80
81 <!ELEMENT template ( alias | apply-template |
82                      leaf | param | subtree | setvar | iftrue | iffalse )* >
83 <!ATTLIST template name NMTOKEN #REQUIRED >
84
85 <!ELEMENT token-set ( param* ) >
86 <!ATTLIST token-set name NMTOKEN #REQUIRED >
87
88 <!ELEMENT token-sets ( param | token-set )* >
89
90 <!ELEMENT view ( param | view )* >
91 <!ATTLIST view name ID #REQUIRED >
92
93 <!ELEMENT views ( view* ) >
94
95
96