-
Notifications
You must be signed in to change notification settings - Fork 0
/
admst.dtd
189 lines (144 loc) · 6.57 KB
/
admst.dtd
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is part of adms - http://sourceforge.net/projects/mot-adms.
adms is a code generator for the Verilog-AMS language.
Copyright (C) 2002-2012 Laurent Lemaitre <[email protected]>
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 3 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, see <http://www.gnu.org/licenses/>.
-->
<!--
This dtd describes the basic data structures used by admst transforms
You can try using xmllint: xmllint myadmstscript.xml -noout -postvalid -noblanks
-->
<!--
$Id: admst.dtd 1176 2008-12-04 15:02:59Z r29173 $
-->
<!--
$Log$
Revision 1.4 2005/09/14 15:41:31 r29173
renamed admst:templates to admst:template (same for apply-template)
Revision 1.3 2005/08/18 10:45:23 r29173
renamed admst:choice to admst:choose (admst:choice tolerated)
Revision 1.2 2005/03/31 18:12:00 r29173
migration to adms-2.x.x: converted to adms2 syntax
Revision 1.6 2005/03/22 11:30:18 r29173
migration to adms-2.x.x: clean-up xml constructs
Revision 1.5 2005/03/17 08:26:28 r29173
migration to adms-2.x.x: move all href from absolute to relative values
Revision 1.4 2005/02/25 12:49:35 r29173
migration to adms-2.x.x: renamed admst transforms
-->
<!ENTITY % anyadmst '#PCDATA|admst:return|admst:fatal|admst:warning|admst:count|admst:choose|admst:copy|admst:getenv|admst:setenv|admst:open|admst:templates|admst:template|admst:if-inside|admst:if-not-inside|admst:differentiate|admst:push|admst:reverse|admst:value-of|admst:new|admst:for-each|admst:reset|admst:if|admst:assert|admst:text|admst:apply-template|admst:apply-templates|admst:join|admst:message|admst:error|admst:value-to|admst:variable|admst:read'>
<!ELEMENT admst (%anyadmst;)*>
<!ATTLIST admst version CDATA #IMPLIED>
<!ATTLIST admst xmlns:admst CDATA #IMPLIED>
<!ATTLIST admst xmlns:m CDATA #IMPLIED>
<!ATTLIST admst xmlns:html CDATA #IMPLIED>
<!ELEMENT admst:count EMPTY>
<!ATTLIST admst:count select CDATA #REQUIRED>
<!ELEMENT admst:return EMPTY>
<!ATTLIST admst:return name CDATA #REQUIRED>
<!ATTLIST admst:return value CDATA #REQUIRED>
<!ELEMENT admst:choose (admst:when+,admst:otherwise?)>
<!ELEMENT admst:when (%anyadmst;)*>
<!ATTLIST admst:when test CDATA #REQUIRED>
<!ELEMENT admst:otherwise (%anyadmst;)*>
<!ELEMENT admst:open (%anyadmst;)*>
<!ATTLIST admst:open file CDATA #REQUIRED>
<!ELEMENT admst:copy EMPTY>
<!ATTLIST admst:copy from CDATA #REQUIRED>
<!ATTLIST admst:copy to CDATA #REQUIRED>
<!ELEMENT admst:getenv EMPTY>
<!ATTLIST admst:getenv name CDATA #REQUIRED>
<!ELEMENT admst:setenv EMPTY>
<!ATTLIST admst:setenv name CDATA #REQUIRED>
<!ATTLIST admst:setenv value CDATA #REQUIRED>
<!ELEMENT admst:error EMPTY>
<!ATTLIST admst:error format CDATA #IMPLIED>
<!ATTLIST admst:error test CDATA #IMPLIED>
<!ELEMENT admst:warning EMPTY>
<!ATTLIST admst:warning format CDATA #IMPLIED>
<!ATTLIST admst:warning test CDATA #IMPLIED>
<!ELEMENT admst:message EMPTY>
<!ATTLIST admst:message format CDATA #IMPLIED>
<!ATTLIST admst:message test CDATA #IMPLIED>
<!ELEMENT admst:fatal EMPTY>
<!ATTLIST admst:fatal format CDATA #IMPLIED>
<!ATTLIST admst:fatal test CDATA #IMPLIED>
<!ELEMENT admst:reset EMPTY>
<!ATTLIST admst:reset select CDATA #REQUIRED>
<!ELEMENT admst:for-each (%anyadmst;)*>
<!ATTLIST admst:for-each select CDATA #REQUIRED>
<!ELEMENT admst:templates (%anyadmst;)*>
<!ATTLIST admst:templates mode CDATA #IMPLIED>
<!ATTLIST admst:templates match CDATA #IMPLIED>
<!ELEMENT admst:template (%anyadmst;)*>
<!ATTLIST admst:template mode CDATA #IMPLIED>
<!ATTLIST admst:template match CDATA #IMPLIED>
<!ELEMENT admst:new (%anyadmst;)*>
<!ATTLIST admst:new datatype CDATA #IMPLIED>
<!ATTLIST admst:new arguments CDATA #IMPLIED>
<!ATTLIST admst:new inputs CDATA #IMPLIED>
<!ATTLIST admst:new test CDATA #IMPLIED>
<!ELEMENT admst:if (%anyadmst;)*>
<!ATTLIST admst:if test CDATA #IMPLIED>
<!ELEMENT admst:read EMPTY>
<!ATTLIST admst:read file CDATA #IMPLIED>
<!ELEMENT admst:push EMPTY>
<!ATTLIST admst:push into CDATA #IMPLIED>
<!ATTLIST admst:push select CDATA #REQUIRED>
<!ATTLIST admst:push test CDATA #IMPLIED>
<!ATTLIST admst:push onduplicate CDATA #IMPLIED>
<!ATTLIST admst:push oncompare CDATA #IMPLIED>
<!ELEMENT admst:variable EMPTY>
<!ATTLIST admst:variable name CDATA #REQUIRED>
<!ATTLIST admst:variable value CDATA #IMPLIED>
<!ATTLIST admst:variable string CDATA #IMPLIED>
<!ATTLIST admst:variable select CDATA #IMPLIED>
<!ATTLIST admst:variable test CDATA #IMPLIED>
<!ATTLIST admst:variable path CDATA #IMPLIED>
<!ELEMENT admst:value-to EMPTY>
<!ATTLIST admst:value-to select CDATA #REQUIRED>
<!ATTLIST admst:value-to value CDATA #IMPLIED>
<!ATTLIST admst:value-to string CDATA #IMPLIED>
<!ATTLIST admst:value-to test CDATA #IMPLIED>
<!ATTLIST admst:value-to path CDATA #IMPLIED>
<!ELEMENT admst:differentiate EMPTY>
<!ATTLIST admst:differentiate select CDATA #REQUIRED>
<!ATTLIST admst:differentiate probe CDATA #IMPLIED>
<!ELEMENT admst:apply-templates (%anyadmst;)*>
<!ATTLIST admst:apply-templates select CDATA #REQUIRED>
<!ATTLIST admst:apply-templates required (yes|no) "yes">
<!ATTLIST admst:apply-templates match CDATA #IMPLIED>
<!ATTLIST admst:apply-templates test CDATA #IMPLIED>
<!ELEMENT admst:text EMPTY>
<!ATTLIST admst:text format CDATA #IMPLIED>
<!ATTLIST admst:text select CDATA #IMPLIED>
<!ATTLIST admst:text test CDATA #IMPLIED>
<!ELEMENT admst:value-of EMPTY>
<!ATTLIST admst:value-of select CDATA #REQUIRED>
<!ELEMENT admst:reverse EMPTY>
<!ATTLIST admst:reverse select CDATA #REQUIRED>
<!ELEMENT admst:if-inside (%anyadmst;)*>
<!ATTLIST admst:if-inside test CDATA #IMPLIED>
<!ATTLIST admst:if-inside list CDATA #IMPLIED>
<!ATTLIST admst:if-inside select CDATA #IMPLIED>
<!ELEMENT admst:if-not-inside (%anyadmst;)*>
<!ATTLIST admst:if-not-inside test CDATA #IMPLIED>
<!ATTLIST admst:if-not-inside list CDATA #IMPLIED>
<!ATTLIST admst:if-not-inside select CDATA #IMPLIED>
<!ELEMENT admst:assert EMPTY>
<!ATTLIST admst:assert test CDATA #IMPLIED>
<!ATTLIST admst:assert format CDATA #IMPLIED>
<!ATTLIST admst:assert select CDATA #IMPLIED>
<!ELEMENT admst:join (%anyadmst;)*>
<!ATTLIST admst:join select CDATA #REQUIRED>
<!ATTLIST admst:join separator CDATA #IMPLIED>