relaton-bipm 1.13.12 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
data/grammars/bipm.rng DELETED
@@ -1,379 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
3
- <!--
4
- Currently we inherit from a namespaced grammar, isostandard. Until we inherit from isodoc,
5
- we cannot have a new default namespace: we will end up with a grammar with two different
6
- namespaces, one for isostandard and one for csand additions. And we do not want that.
7
- -->
8
- <include href="isodoc.rng">
9
- <start>
10
- <ref name="bipm-standard"/>
11
- </start>
12
- <define name="xref">
13
- <element name="xref">
14
- <attribute name="target">
15
- <data type="string">
16
- <param name="pattern">\i\c*|\c+#\c+</param>
17
- </data>
18
- </attribute>
19
- <optional>
20
- <attribute name="to">
21
- <data type="string">
22
- <param name="pattern">\i\c*|\c+#\c+</param>
23
- </data>
24
- </attribute>
25
- </optional>
26
- <optional>
27
- <attribute name="type">
28
- <ref name="ReferenceFormat"/>
29
- </attribute>
30
- </optional>
31
- <optional>
32
- <attribute name="alt"/>
33
- </optional>
34
- <optional>
35
- <attribute name="case">
36
- <choice>
37
- <value>capital</value>
38
- <value>lowercase</value>
39
- </choice>
40
- </attribute>
41
- </optional>
42
- <optional>
43
- <attribute name="droploc">
44
- <data type="boolean"/>
45
- </attribute>
46
- </optional>
47
- <optional>
48
- <attribute name="pagenumber">
49
- <data type="boolean"/>
50
- </attribute>
51
- </optional>
52
- <optional>
53
- <attribute name="nosee">
54
- <data type="boolean"/>
55
- </attribute>
56
- </optional>
57
- <optional>
58
- <attribute name="nopage">
59
- <data type="boolean"/>
60
- </attribute>
61
- </optional>
62
- <ref name="XrefBody"/>
63
- </element>
64
- </define>
65
- <define name="Clause-Section">
66
- <optional>
67
- <attribute name="id">
68
- <data type="ID"/>
69
- </attribute>
70
- </optional>
71
- <optional>
72
- <attribute name="language"/>
73
- </optional>
74
- <optional>
75
- <attribute name="script"/>
76
- </optional>
77
- <optional>
78
- <attribute name="inline-header">
79
- <data type="boolean"/>
80
- </attribute>
81
- </optional>
82
- <optional>
83
- <attribute name="obligation">
84
- <choice>
85
- <value>normative</value>
86
- <value>informative</value>
87
- </choice>
88
- </attribute>
89
- </optional>
90
- <optional>
91
- <attribute name="type"/>
92
- </optional>
93
- <optional>
94
- <attribute name="unnumbered">
95
- <data type="boolean"/>
96
- </attribute>
97
- </optional>
98
- <optional>
99
- <ref name="section-title"/>
100
- </optional>
101
- <group>
102
- <choice>
103
- <zeroOrMore>
104
- <ref name="BasicBlock"/>
105
- </zeroOrMore>
106
- <ref name="amend"/>
107
- </choice>
108
- <zeroOrMore>
109
- <choice>
110
- <ref name="clause-subsection"/>
111
- <ref name="terms"/>
112
- <ref name="definitions"/>
113
- <ref name="floating-title"/>
114
- </choice>
115
- </zeroOrMore>
116
- </group>
117
- </define>
118
- <define name="Annex-Section">
119
- <optional>
120
- <attribute name="id">
121
- <data type="ID"/>
122
- </attribute>
123
- </optional>
124
- <optional>
125
- <attribute name="language"/>
126
- </optional>
127
- <optional>
128
- <attribute name="script"/>
129
- </optional>
130
- <optional>
131
- <attribute name="inline-header">
132
- <data type="boolean"/>
133
- </attribute>
134
- </optional>
135
- <optional>
136
- <attribute name="obligation">
137
- <choice>
138
- <value>normative</value>
139
- <value>informative</value>
140
- </choice>
141
- </attribute>
142
- </optional>
143
- <optional>
144
- <attribute name="unnumbered">
145
- <data type="boolean"/>
146
- </attribute>
147
- </optional>
148
- <optional>
149
- <ref name="section-title"/>
150
- </optional>
151
- <group>
152
- <zeroOrMore>
153
- <ref name="BasicBlock"/>
154
- </zeroOrMore>
155
- <zeroOrMore>
156
- <choice>
157
- <ref name="annex-subsection"/>
158
- <ref name="terms"/>
159
- <ref name="definitions"/>
160
- <ref name="references"/>
161
- <ref name="floating-title"/>
162
- </choice>
163
- </zeroOrMore>
164
- </group>
165
- </define>
166
- <define name="ol">
167
- <element name="ol">
168
- <attribute name="id">
169
- <data type="ID"/>
170
- </attribute>
171
- <optional>
172
- <attribute name="keep-with-next">
173
- <data type="boolean"/>
174
- </attribute>
175
- </optional>
176
- <optional>
177
- <attribute name="keep-lines-together">
178
- <data type="boolean"/>
179
- </attribute>
180
- </optional>
181
- <optional>
182
- <attribute name="tag"/>
183
- </optional>
184
- <optional>
185
- <attribute name="multilingual-rendering">
186
- <ref name="MultilingualRenderingType"/>
187
- </attribute>
188
- </optional>
189
- <attribute name="type">
190
- <choice>
191
- <value>roman</value>
192
- <value>alphabet</value>
193
- <value>arabic</value>
194
- <value>roman_upper</value>
195
- <value>alphabet_upper</value>
196
- </choice>
197
- </attribute>
198
- <optional>
199
- <attribute name="start"/>
200
- </optional>
201
- <optional>
202
- <ref name="tname"/>
203
- </optional>
204
- <oneOrMore>
205
- <ref name="li"/>
206
- </oneOrMore>
207
- <zeroOrMore>
208
- <ref name="note"/>
209
- </zeroOrMore>
210
- </element>
211
- </define>
212
- <define name="DocumentType">
213
- <choice>
214
- <value>brochure</value>
215
- <value>mise-en-pratique</value>
216
- <value>rapport</value>
217
- <value>monographie</value>
218
- <value>guide</value>
219
- <value>meeting-report</value>
220
- <value>technical-report</value>
221
- <value>working-party-note</value>
222
- <value>strategy</value>
223
- <value>cipm-mra</value>
224
- <value>resolution</value>
225
- </choice>
226
- </define>
227
- <define name="editorialgroup">
228
- <element name="editorialgroup">
229
- <oneOrMore>
230
- <ref name="committee"/>
231
- </oneOrMore>
232
- <zeroOrMore>
233
- <ref name="workgroup"/>
234
- </zeroOrMore>
235
- </element>
236
- </define>
237
- <define name="structuredidentifier">
238
- <element name="structuredidentifier">
239
- <element name="docnumber">
240
- <text/>
241
- </element>
242
- <optional>
243
- <element name="part">
244
- <text/>
245
- </element>
246
- </optional>
247
- <optional>
248
- <element name="appendix">
249
- <text/>
250
- </element>
251
- </optional>
252
- </element>
253
- </define>
254
- <define name="BibDataExtensionType">
255
- <optional>
256
- <ref name="doctype"/>
257
- </optional>
258
- <optional>
259
- <ref name="docsubtype"/>
260
- </optional>
261
- <ref name="editorialgroup"/>
262
- <optional>
263
- <ref name="comment-period"/>
264
- </optional>
265
- <optional>
266
- <ref name="si-aspect"/>
267
- </optional>
268
- <optional>
269
- <ref name="meeting-note"/>
270
- </optional>
271
- <ref name="structuredidentifier"/>
272
- </define>
273
- </include>
274
- <define name="comment-period">
275
- <element name="comment-period">
276
- <element name="from">
277
- <ref name="ISO8601Date"/>
278
- </element>
279
- <element name="to">
280
- <ref name="ISO8601Date"/>
281
- </element>
282
- </element>
283
- </define>
284
- <define name="si-aspect">
285
- <element name="si-aspect">
286
- <choice>
287
- <value>A_e_deltanu</value>
288
- <value>A_e</value>
289
- <value>cd_Kcd_h_deltanu</value>
290
- <value>cd_Kcd</value>
291
- <value>full</value>
292
- <value>K_k_deltanu</value>
293
- <value>K_k</value>
294
- <value>kg_h_c_deltanu</value>
295
- <value>kg_h</value>
296
- <value>m_c_deltanu</value>
297
- <value>m_c</value>
298
- <value>mol_NA</value>
299
- <value>s_deltanu</value>
300
- </choice>
301
- </element>
302
- </define>
303
- <define name="committee">
304
- <element name="committee">
305
- <attribute name="acronym">
306
- <choice>
307
- <value>CGPM</value>
308
- <value>CIPM</value>
309
- <value>BIPM</value>
310
- <value>CCAUV</value>
311
- <value>CCEM</value>
312
- <value>CCL</value>
313
- <value>CCM</value>
314
- <value>CCPR</value>
315
- <value>CCQM</value>
316
- <value>CCRI</value>
317
- <value>CCT</value>
318
- <value>CCTF</value>
319
- <value>CCU</value>
320
- <value>CCL-CCTF-WGFS</value>
321
- <value>JCGM</value>
322
- <value>JCRB</value>
323
- <value>JCTLM</value>
324
- <value>INetQI</value>
325
- </choice>
326
- </attribute>
327
- <ref name="LocalizedString"/>
328
- </element>
329
- </define>
330
- <define name="workgroup">
331
- <element name="workgroup">
332
- <optional>
333
- <attribute name="acronym"/>
334
- </optional>
335
- <text/>
336
- </element>
337
- </define>
338
- <define name="meeting-note">
339
- <element name="meeting-note">
340
- <text/>
341
- </element>
342
- </define>
343
- <define name="bipm-standard">
344
- <element name="bipm-standard">
345
- <attribute name="version"/>
346
- <attribute name="type">
347
- <choice>
348
- <value>semantic</value>
349
- <value>presentation</value>
350
- </choice>
351
- </attribute>
352
- <ref name="bibdata"/>
353
- <zeroOrMore>
354
- <ref name="termdocsource"/>
355
- </zeroOrMore>
356
- <optional>
357
- <ref name="misccontainer"/>
358
- </optional>
359
- <optional>
360
- <ref name="boilerplate"/>
361
- </optional>
362
- <optional>
363
- <ref name="preface"/>
364
- </optional>
365
- <oneOrMore>
366
- <ref name="sections"/>
367
- </oneOrMore>
368
- <zeroOrMore>
369
- <ref name="annex"/>
370
- </zeroOrMore>
371
- <optional>
372
- <ref name="bibliography"/>
373
- </optional>
374
- <zeroOrMore>
375
- <ref name="indexsect"/>
376
- </zeroOrMore>
377
- </element>
378
- </define>
379
- </grammar>