-
Notifications
You must be signed in to change notification settings - Fork 0
/
admst.xml
274 lines (259 loc) · 10.4 KB
/
admst.xml
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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
<?xml version="1.0"?>
<!--
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 <r29173@users.sourceforge.net>
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/>.
-->
<?xml-stylesheet type="text/xsl" href="admststyle.xsl"?>
<!DOCTYPE admst SYSTEM "metaadmst.dtd">
<!--
This xml file describes the basic data elements used by admst classes
its validity is checked by file metaadmst.dtd
you can try using xmllint: xmllint admst.xml -noout -postvalid -noblanks
see http://xmlsoft.org/
Most of the code that builts adms is created automatically from this file
Note: xsl script admsstyle.xsl transforms the contents of this file to html format
-->
<!--
$Id: admst.xml 1163 2008-11-17 17:50:16Z r29173 $
-->
<!--
$Log$
Revision 1.9 2005/09/14 15:41:31 r29173
renamed admst:templates to admst:template (same for apply-template)
Revision 1.8 2005/08/18 10:45:23 r29173
renamed admst:choice to admst:choose (admst:choice tolerated)
Revision 1.7 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/14 17:34:20 r29173
migration to adms-2.x.x: start xpath coding; add documentation
Revision 1.4 2005/02/28 09:22:12 r29173
migration to adms-2.x.x: size renamed count
Revision 1.3 2005/02/28 08:03:29 r29173
migration to adms-2.x.x: version required
Revision 1.2 2005/02/25 14:36:51 r29173
migration to adms-2.x.x: fixed test vlatovla
Revision 1.1 2005/02/25 11:46:17 r29173
migration to adms-2.x.x: defines admst namespace
-->
<admst>
<transform name="admst">
<attribute-warning name="version" type="text"/>
</transform>
<transform name="admst:for-each">
<attribute name="select" type="path"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
<exclude name="test" type="path"/>
</transform>
<transform name="admst:join">
<attribute name="select" type="path"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
<attribute-implied name="separator" type="text"/>
<exclude name="test" type="path"/>
</transform>
<transform name="admst:break">
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
<exclude name="select" type="path"/>
</transform>
<transform name="admst:value-of" haschild="no">
<attribute name="select" type="path"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
</transform>
<transform name="admst:if-inside" haschild="yes">
<attribute name="list" type="text"/>
<attribute name="select" type="path"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
</transform>
<transform name="admst:if-not-inside" haschild="yes">
<attribute name="list" type="text"/>
<attribute name="select" type="path"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
</transform>
<transform name="admst:choose">
<obsolete name="admst:choice"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
<exclude name="select" type="path"/>
<exclude name="test" type="path"/>
</transform>
<transform name="admst:when">
<attribute name="test" type="path"/>
<attribute-implied name="path" type="path"/>
<exclude name="select" type="path"/>
</transform>
<transform name="admst:otherwise">
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
<exclude name="select" type="path"/>
<exclude name="test" type="path"/>
</transform>
<transform name="admst:if" haschild="yes">
<attribute name="test" type="path"/>
<attribute-implied name="path" type="path"/>
<exclude name="select" type="path"/>
</transform>
<transform name="admst:template">
<obsolete name="admst:templates"/>
<attribute name="match" type="text"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
<attribute-obsolete name="mode"/>
<exclude name="select" type="path"/>
</transform>
<transform name="admst:apply-templates">
<obsolete name="admst:apply-template"/>
<attribute name="select" type="path"/>
<attribute name="match" type="text"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
<attribute-implied name="required" type="text"/>
</transform>
<transform name="admst:return" haschild="no">
<attribute name="name" type="text"/>
<attribute name="string" type="text"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
<attribute-obsolete name="value" new="string"/>
</transform>
<transform name="admst:attribute" haschild="yes">
<attribute name="name" type="text"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
<attribute name="select" type="path"/>
</transform>
<transform name="admst:variable" haschild="no">
<attribute name="name" type="text"/>
<xor>
<attribute name="string" type="text"/>
<attribute name="select" type="text"/>
<attribute name="path" type="path"/>
</xor>
<attribute-implied name="test" type="path"/>
</transform>
<transform name="admst:value-to" haschild="no">
<attribute name="select" type="path"/>
<attribute-implied name="string" type="text"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
<attribute-obsolete name="value" new="string"/>
</transform>
<transform name="admst:text" haschild="no">
<attribute-implied name="format" type="text"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
<attribute-implied name="select" type="path"/>
</transform>
<transform name="admst:new">
<attribute name="datatype" type="text"/>
<xor>
<attribute-list name="arguments" type="text"/>
<attribute-list name="inputs" type="path"/>
</xor>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
<exclude name="select" type="path"/>
</transform>
<transform name="admst:push" haschild="no">
<attribute name="select" type="path"/>
<attribute name="into" type="path"/>
<attribute-implied name="onduplicate" type="text"/>
<attribute-implied name="oncompare" type="path"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
</transform>
<transform name="admst:reset" haschild="no">
<attribute name="select" type="path"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
</transform>
<transform name="admst:count">
<attribute name="select" type="path"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
</transform>
<transform name="admst:reverse">
<attribute name="select" type="path"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
</transform>
<transform name="admst:read">
<attribute name="file" type="text"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
<exclude name="select" type="path"/>
</transform>
<transform name="admst:open">
<attribute name="file" type="text"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
<exclude name="select" type="path"/>
</transform>
<transform name="admst:setenv" haschild="no">
<attribute name="name" type="text"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="string" type="text"/>
<attribute-implied name="test" type="path"/>
<exclude name="select" type="path"/>
</transform>
<transform name="admst:getenv" haschild="no">
<attribute name="name" type="text"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
<exclude name="select" type="path"/>
</transform>
<transform name="admst:copy" haschild="no">
<attribute name="from" type="text"/>
<attribute name="to" type="text"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
<exclude name="select" type="path"/>
</transform>
<transform name="admst:assert" haschild="no">
<attribute-implied name="format" type="text"/>
<attribute name="test" type="path"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="select" type="path"/>
</transform>
<transform name="admst:message" haschild="no">
<attribute name="format" type="text"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
<attribute-implied name="select" type="path"/>
</transform>
<transform name="admst:warning" haschild="no">
<attribute name="format" type="text"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
<attribute-implied name="select" type="path"/>
</transform>
<transform name="admst:error" haschild="no">
<attribute name="format" type="text"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
<attribute-implied name="select" type="path"/>
</transform>
<transform name="admst:fatal" haschild="no">
<attribute name="format" type="text"/>
<attribute-implied name="path" type="path"/>
<attribute-implied name="test" type="path"/>
<attribute-implied name="select" type="path"/>
</transform>
</admst>