metanorma-vsd 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/Gemfile +2 -0
- data/appveyor.yml +1 -0
- data/lib/asciidoctor/vsd/basicdoc.rng +992 -0
- data/lib/asciidoctor/vsd/biblio.rng +435 -140
- data/lib/asciidoctor/vsd/isodoc.rng +191 -743
- data/lib/asciidoctor/vsd/isostandard.rng +135 -293
- data/lib/asciidoctor/vsd/reqt.rng +162 -0
- data/lib/metanorma/vsd/version.rb +1 -1
- metadata +4 -2
@@ -18,19 +18,43 @@
|
|
18
18
|
of this.
|
19
19
|
-->
|
20
20
|
<grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
21
|
-
<include href="
|
22
|
-
|
23
|
-
|
24
|
-
|
21
|
+
<include href="reqt.rng"/>
|
22
|
+
<!-- include "biblio.rnc" { } -->
|
23
|
+
<include href="basicdoc.rng">
|
24
|
+
<start>
|
25
|
+
<ref name="standard-document"/>
|
26
|
+
</start>
|
27
|
+
<define name="BibDataExtensionType">
|
28
|
+
<ref name="doctype"/>
|
29
|
+
<zeroOrMore>
|
30
|
+
<ref name="structuredidentifier"/>
|
31
|
+
</zeroOrMore>
|
32
|
+
</define>
|
33
|
+
<define name="TitleType">
|
34
|
+
<text/>
|
35
|
+
</define>
|
36
|
+
<define name="sections">
|
37
|
+
<element name="sections">
|
38
|
+
<oneOrMore>
|
39
|
+
<choice>
|
40
|
+
<ref name="clause"/>
|
41
|
+
<ref name="terms"/>
|
42
|
+
<ref name="definitions"/>
|
43
|
+
</choice>
|
44
|
+
</oneOrMore>
|
45
|
+
</element>
|
46
|
+
</define>
|
47
|
+
</include>
|
25
48
|
<define name="standard-document">
|
26
49
|
<element name="standard-document">
|
27
50
|
<ref name="bibdata"/>
|
28
51
|
<optional>
|
29
|
-
<ref name="
|
52
|
+
<ref name="boilerplate"/>
|
30
53
|
</optional>
|
31
|
-
<
|
32
|
-
<ref name="
|
33
|
-
</
|
54
|
+
<optional>
|
55
|
+
<ref name="preface"/>
|
56
|
+
</optional>
|
57
|
+
<ref name="sections"/>
|
34
58
|
<zeroOrMore>
|
35
59
|
<ref name="annex"/>
|
36
60
|
</zeroOrMore>
|
@@ -39,54 +63,63 @@
|
|
39
63
|
</zeroOrMore>
|
40
64
|
</element>
|
41
65
|
</define>
|
42
|
-
<define name="
|
43
|
-
<element name="
|
44
|
-
<
|
66
|
+
<define name="preface">
|
67
|
+
<element name="preface">
|
68
|
+
<oneOrMore>
|
69
|
+
<choice>
|
70
|
+
<ref name="content"/>
|
71
|
+
<ref name="abstract"/>
|
72
|
+
<ref name="foreword"/>
|
73
|
+
<ref name="introduction"/>
|
74
|
+
<ref name="acknowledgements"/>
|
75
|
+
</choice>
|
76
|
+
</oneOrMore>
|
45
77
|
</element>
|
46
78
|
</define>
|
47
|
-
<define name="
|
48
|
-
<element name="
|
49
|
-
<ref name="
|
79
|
+
<define name="foreword">
|
80
|
+
<element name="foreword">
|
81
|
+
<ref name="Content-Section"/>
|
50
82
|
</element>
|
51
83
|
</define>
|
52
|
-
<define name="
|
53
|
-
<element name="
|
84
|
+
<define name="introduction">
|
85
|
+
<element name="introduction">
|
86
|
+
<ref name="Content-Section"/>
|
87
|
+
</element>
|
88
|
+
</define>
|
89
|
+
<define name="boilerplate">
|
90
|
+
<element name="boilerplate">
|
54
91
|
<optional>
|
55
|
-
<ref name="
|
92
|
+
<ref name="copyright-statement"/>
|
56
93
|
</optional>
|
57
94
|
<optional>
|
58
|
-
<ref name="
|
95
|
+
<ref name="license-statement"/>
|
96
|
+
</optional>
|
97
|
+
<optional>
|
98
|
+
<ref name="legal-statement"/>
|
99
|
+
</optional>
|
100
|
+
<optional>
|
101
|
+
<ref name="feedback-statement"/>
|
59
102
|
</optional>
|
60
|
-
<zeroOrMore>
|
61
|
-
<ref name="draft"/>
|
62
|
-
</zeroOrMore>
|
63
103
|
</element>
|
64
104
|
</define>
|
65
|
-
<define name="
|
66
|
-
<element name="
|
67
|
-
<
|
105
|
+
<define name="copyright-statement">
|
106
|
+
<element name="copyright-statement">
|
107
|
+
<ref name="Content-Section"/>
|
68
108
|
</element>
|
69
109
|
</define>
|
70
|
-
<define name="
|
71
|
-
<element name="
|
72
|
-
<
|
110
|
+
<define name="license-statement">
|
111
|
+
<element name="license-statement">
|
112
|
+
<ref name="Content-Section"/>
|
73
113
|
</element>
|
74
114
|
</define>
|
75
|
-
<define name="
|
76
|
-
<element name="
|
77
|
-
<
|
115
|
+
<define name="legal-statement">
|
116
|
+
<element name="legal-statement">
|
117
|
+
<ref name="Content-Section"/>
|
78
118
|
</element>
|
79
119
|
</define>
|
80
|
-
<define name="
|
81
|
-
<element name="
|
82
|
-
<
|
83
|
-
<choice>
|
84
|
-
<ref name="content"/>
|
85
|
-
<ref name="clause"/>
|
86
|
-
<ref name="terms"/>
|
87
|
-
<ref name="definitions"/>
|
88
|
-
</choice>
|
89
|
-
</oneOrMore>
|
120
|
+
<define name="feedback-statement">
|
121
|
+
<element name="feedback-statement">
|
122
|
+
<ref name="Content-Section"/>
|
90
123
|
</element>
|
91
124
|
</define>
|
92
125
|
<define name="definitions">
|
@@ -96,57 +129,66 @@
|
|
96
129
|
<data type="ID"/>
|
97
130
|
</attribute>
|
98
131
|
</optional>
|
132
|
+
<optional>
|
133
|
+
<attribute name="language"/>
|
134
|
+
</optional>
|
135
|
+
<optional>
|
136
|
+
<attribute name="script"/>
|
137
|
+
</optional>
|
99
138
|
<optional>
|
100
139
|
<ref name="section-title"/>
|
101
140
|
</optional>
|
102
|
-
<
|
141
|
+
<oneOrMore>
|
142
|
+
<zeroOrMore>
|
143
|
+
<ref name="BasicBlock"/>
|
144
|
+
</zeroOrMore>
|
145
|
+
<ref name="dl"/>
|
146
|
+
</oneOrMore>
|
103
147
|
</element>
|
104
148
|
</define>
|
105
|
-
<define name="
|
106
|
-
<element name="
|
107
|
-
<
|
149
|
+
<define name="content">
|
150
|
+
<element name="clause">
|
151
|
+
<ref name="Content-Section"/>
|
108
152
|
</element>
|
109
153
|
</define>
|
110
|
-
<define name="
|
111
|
-
<element name="
|
154
|
+
<define name="abstract">
|
155
|
+
<element name="abstract">
|
156
|
+
<ref name="Content-Section"/>
|
157
|
+
</element>
|
158
|
+
</define>
|
159
|
+
<define name="acknowledgements">
|
160
|
+
<element name="acknowledgements">
|
112
161
|
<ref name="Content-Section"/>
|
113
162
|
</element>
|
114
163
|
</define>
|
115
164
|
<define name="content-subsection">
|
116
165
|
<element name="clause">
|
166
|
+
<optional>
|
167
|
+
<attribute name="type"/>
|
168
|
+
</optional>
|
117
169
|
<ref name="Content-Section"/>
|
118
170
|
</element>
|
119
171
|
</define>
|
120
|
-
<define name="
|
172
|
+
<define name="Content-Section">
|
121
173
|
<optional>
|
122
174
|
<attribute name="id">
|
123
175
|
<data type="ID"/>
|
124
176
|
</attribute>
|
125
177
|
</optional>
|
126
178
|
<optional>
|
127
|
-
<
|
179
|
+
<attribute name="language"/>
|
128
180
|
</optional>
|
129
|
-
<oneOrMore>
|
130
|
-
<ref name="BasicBlock"/>
|
131
|
-
</oneOrMore>
|
132
|
-
<zeroOrMore>
|
133
|
-
<ref name="note"/>
|
134
|
-
</zeroOrMore>
|
135
|
-
</define>
|
136
|
-
<define name="Content-Section">
|
137
181
|
<optional>
|
138
|
-
<attribute name="
|
139
|
-
<data type="ID"/>
|
140
|
-
</attribute>
|
182
|
+
<attribute name="script"/>
|
141
183
|
</optional>
|
142
184
|
<optional>
|
143
185
|
<ref name="section-title"/>
|
144
186
|
</optional>
|
145
187
|
<choice>
|
146
188
|
<group>
|
147
|
-
<
|
189
|
+
<optional>
|
148
190
|
<ref name="BasicBlock"/>
|
149
|
-
</
|
191
|
+
</optional>
|
150
192
|
<zeroOrMore>
|
151
193
|
<ref name="note"/>
|
152
194
|
</zeroOrMore>
|
@@ -158,6 +200,9 @@
|
|
158
200
|
</define>
|
159
201
|
<define name="clause">
|
160
202
|
<element name="clause">
|
203
|
+
<optional>
|
204
|
+
<attribute name="type"/>
|
205
|
+
</optional>
|
161
206
|
<ref name="Clause-Section"/>
|
162
207
|
</element>
|
163
208
|
</define>
|
@@ -167,14 +212,20 @@
|
|
167
212
|
<data type="ID"/>
|
168
213
|
</attribute>
|
169
214
|
</optional>
|
215
|
+
<optional>
|
216
|
+
<attribute name="language"/>
|
217
|
+
</optional>
|
218
|
+
<optional>
|
219
|
+
<attribute name="script"/>
|
220
|
+
</optional>
|
170
221
|
<optional>
|
171
222
|
<ref name="section-title"/>
|
172
223
|
</optional>
|
173
224
|
<choice>
|
174
225
|
<group>
|
175
|
-
<
|
226
|
+
<optional>
|
176
227
|
<ref name="BasicBlock"/>
|
177
|
-
</
|
228
|
+
</optional>
|
178
229
|
<zeroOrMore>
|
179
230
|
<ref name="note"/>
|
180
231
|
</zeroOrMore>
|
@@ -196,6 +247,12 @@
|
|
196
247
|
<data type="ID"/>
|
197
248
|
</attribute>
|
198
249
|
</optional>
|
250
|
+
<optional>
|
251
|
+
<attribute name="language"/>
|
252
|
+
</optional>
|
253
|
+
<optional>
|
254
|
+
<attribute name="script"/>
|
255
|
+
</optional>
|
199
256
|
<attribute name="obligation">
|
200
257
|
<choice>
|
201
258
|
<value>normative</value>
|
@@ -207,9 +264,9 @@
|
|
207
264
|
</optional>
|
208
265
|
<choice>
|
209
266
|
<group>
|
210
|
-
<
|
267
|
+
<optional>
|
211
268
|
<ref name="BasicBlock"/>
|
212
|
-
</
|
269
|
+
</optional>
|
213
270
|
<zeroOrMore>
|
214
271
|
<ref name="note"/>
|
215
272
|
</zeroOrMore>
|
@@ -220,28 +277,22 @@
|
|
220
277
|
</choice>
|
221
278
|
</element>
|
222
279
|
</define>
|
223
|
-
<define name="
|
224
|
-
<element name="
|
280
|
+
<define name="terms">
|
281
|
+
<element name="terms">
|
225
282
|
<optional>
|
226
283
|
<attribute name="id">
|
227
284
|
<data type="ID"/>
|
228
285
|
</attribute>
|
229
286
|
</optional>
|
230
287
|
<optional>
|
231
|
-
<
|
288
|
+
<attribute name="language"/>
|
232
289
|
</optional>
|
233
|
-
<zeroOrMore>
|
234
|
-
<ref name="bibitem"/>
|
235
|
-
</zeroOrMore>
|
236
|
-
</element>
|
237
|
-
</define>
|
238
|
-
<define name="terms">
|
239
|
-
<element name="terms">
|
240
290
|
<optional>
|
241
|
-
<attribute name="
|
242
|
-
<data type="ID"/>
|
243
|
-
</attribute>
|
291
|
+
<attribute name="script"/>
|
244
292
|
</optional>
|
293
|
+
<zeroOrMore>
|
294
|
+
<ref name="BasicBlock"/>
|
295
|
+
</zeroOrMore>
|
245
296
|
<oneOrMore>
|
246
297
|
<ref name="term"/>
|
247
298
|
</oneOrMore>
|
@@ -260,12 +311,18 @@
|
|
260
311
|
<zeroOrMore>
|
261
312
|
<ref name="admitted"/>
|
262
313
|
</zeroOrMore>
|
314
|
+
<zeroOrMore>
|
315
|
+
<ref name="related"/>
|
316
|
+
</zeroOrMore>
|
263
317
|
<zeroOrMore>
|
264
318
|
<ref name="deprecates"/>
|
265
319
|
</zeroOrMore>
|
266
320
|
<optional>
|
267
321
|
<ref name="termdomain"/>
|
268
322
|
</optional>
|
323
|
+
<zeroOrMore>
|
324
|
+
<ref name="termgrammar"/>
|
325
|
+
</zeroOrMore>
|
269
326
|
<ref name="definition"/>
|
270
327
|
<zeroOrMore>
|
271
328
|
<ref name="termnote"/>
|
@@ -292,6 +349,22 @@
|
|
292
349
|
</oneOrMore>
|
293
350
|
</element>
|
294
351
|
</define>
|
352
|
+
<define name="related">
|
353
|
+
<element name="related">
|
354
|
+
<optional>
|
355
|
+
<attribute name="type">
|
356
|
+
<choice>
|
357
|
+
<value>compare</value>
|
358
|
+
<value>contrast</value>
|
359
|
+
<value>see</value>
|
360
|
+
</choice>
|
361
|
+
</attribute>
|
362
|
+
</optional>
|
363
|
+
<oneOrMore>
|
364
|
+
<ref name="TextElement"/>
|
365
|
+
</oneOrMore>
|
366
|
+
</element>
|
367
|
+
</define>
|
295
368
|
<define name="deprecates">
|
296
369
|
<element name="deprecates">
|
297
370
|
<oneOrMore>
|
@@ -306,6 +379,13 @@
|
|
306
379
|
</oneOrMore>
|
307
380
|
</element>
|
308
381
|
</define>
|
382
|
+
<define name="termgrammar">
|
383
|
+
<element name="grammar">
|
384
|
+
<oneOrMore>
|
385
|
+
<ref name="TextElement"/>
|
386
|
+
</oneOrMore>
|
387
|
+
</element>
|
388
|
+
</define>
|
309
389
|
<define name="definition">
|
310
390
|
<element name="definition">
|
311
391
|
<ref name="paragraph"/>
|
@@ -324,7 +404,7 @@
|
|
324
404
|
<attribute name="id">
|
325
405
|
<data type="ID"/>
|
326
406
|
</attribute>
|
327
|
-
<ref name="
|
407
|
+
<ref name="paragraph"/>
|
328
408
|
</element>
|
329
409
|
</define>
|
330
410
|
<define name="termsource">
|
@@ -351,691 +431,59 @@
|
|
351
431
|
<ref name="paragraph"/>
|
352
432
|
</element>
|
353
433
|
</define>
|
354
|
-
<define name="
|
355
|
-
<
|
356
|
-
<ref name="paragraph-with-footnote"/>
|
357
|
-
<ref name="table"/>
|
358
|
-
<ref name="formula"/>
|
359
|
-
<ref name="admonition"/>
|
360
|
-
<ref name="ol"/>
|
361
|
-
<ref name="ul"/>
|
362
|
-
<ref name="dl"/>
|
363
|
-
<ref name="figure"/>
|
364
|
-
<ref name="quote"/>
|
365
|
-
<ref name="sourcecode"/>
|
366
|
-
<ref name="example"/>
|
367
|
-
<ref name="review"/>
|
368
|
-
</choice>
|
369
|
-
</define>
|
370
|
-
<define name="paragraph">
|
371
|
-
<element name="p">
|
372
|
-
<ref name="ParagraphType"/>
|
373
|
-
</element>
|
374
|
-
</define>
|
375
|
-
<define name="Alignments">
|
376
|
-
<choice>
|
377
|
-
<value>left</value>
|
378
|
-
<value>right</value>
|
379
|
-
<value>center</value>
|
380
|
-
<value>justified</value>
|
381
|
-
</choice>
|
382
|
-
</define>
|
383
|
-
<define name="ParagraphType">
|
384
|
-
<attribute name="id">
|
385
|
-
<data type="ID"/>
|
386
|
-
</attribute>
|
387
|
-
<optional>
|
388
|
-
<attribute name="align">
|
389
|
-
<ref name="Alignments"/>
|
390
|
-
</attribute>
|
391
|
-
</optional>
|
392
|
-
<zeroOrMore>
|
393
|
-
<ref name="TextElement"/>
|
394
|
-
</zeroOrMore>
|
395
|
-
<zeroOrMore>
|
396
|
-
<ref name="note"/>
|
397
|
-
</zeroOrMore>
|
398
|
-
</define>
|
399
|
-
<define name="paragraph-with-footnote">
|
400
|
-
<element name="p">
|
401
|
-
<attribute name="id">
|
402
|
-
<data type="ID"/>
|
403
|
-
</attribute>
|
404
|
-
<optional>
|
405
|
-
<attribute name="align">
|
406
|
-
<ref name="Alignments"/>
|
407
|
-
</attribute>
|
408
|
-
</optional>
|
409
|
-
<zeroOrMore>
|
410
|
-
<choice>
|
411
|
-
<ref name="TextElement"/>
|
412
|
-
<ref name="fn"/>
|
413
|
-
</choice>
|
414
|
-
</zeroOrMore>
|
415
|
-
<zeroOrMore>
|
416
|
-
<ref name="note"/>
|
417
|
-
</zeroOrMore>
|
418
|
-
</element>
|
419
|
-
</define>
|
420
|
-
<define name="note">
|
421
|
-
<element name="note">
|
422
|
-
<attribute name="id">
|
423
|
-
<data type="ID"/>
|
424
|
-
</attribute>
|
425
|
-
<oneOrMore>
|
426
|
-
<ref name="paragraph-with-footnote"/>
|
427
|
-
</oneOrMore>
|
428
|
-
</element>
|
429
|
-
</define>
|
430
|
-
<define name="review">
|
431
|
-
<element name="review">
|
432
|
-
<attribute name="id">
|
433
|
-
<data type="ID"/>
|
434
|
-
</attribute>
|
435
|
-
<attribute name="reviewer"/>
|
434
|
+
<define name="structuredidentifier">
|
435
|
+
<element name="structuredidentifier">
|
436
436
|
<optional>
|
437
|
-
<attribute name="
|
438
|
-
<data type="dateTime"/>
|
439
|
-
</attribute>
|
440
|
-
</optional>
|
441
|
-
<attribute name="from">
|
442
|
-
<data type="IDREF"/>
|
443
|
-
</attribute>
|
444
|
-
<optional>
|
445
|
-
<attribute name="to">
|
446
|
-
<data type="IDREF"/>
|
447
|
-
</attribute>
|
437
|
+
<attribute name="type"/>
|
448
438
|
</optional>
|
449
439
|
<oneOrMore>
|
450
|
-
<
|
451
|
-
</oneOrMore>
|
452
|
-
</element>
|
453
|
-
</define>
|
454
|
-
<define name="formula">
|
455
|
-
<element name="formula">
|
456
|
-
<attribute name="id">
|
457
|
-
<data type="ID"/>
|
458
|
-
</attribute>
|
459
|
-
<ref name="stem"/>
|
460
|
-
<optional>
|
461
|
-
<ref name="dl"/>
|
462
|
-
</optional>
|
463
|
-
<zeroOrMore>
|
464
|
-
<ref name="note"/>
|
465
|
-
</zeroOrMore>
|
466
|
-
</element>
|
467
|
-
</define>
|
468
|
-
<define name="quote">
|
469
|
-
<element name="quote">
|
470
|
-
<attribute name="id">
|
471
|
-
<data type="ID"/>
|
472
|
-
</attribute>
|
473
|
-
<optional>
|
474
|
-
<attribute name="alignment">
|
475
|
-
<ref name="Alignments"/>
|
476
|
-
</attribute>
|
477
|
-
</optional>
|
478
|
-
<optional>
|
479
|
-
<ref name="quote-source"/>
|
480
|
-
</optional>
|
481
|
-
<optional>
|
482
|
-
<ref name="quote-author"/>
|
483
|
-
</optional>
|
484
|
-
<oneOrMore>
|
485
|
-
<ref name="paragraph-with-footnote"/>
|
486
|
-
</oneOrMore>
|
487
|
-
<zeroOrMore>
|
488
|
-
<ref name="note"/>
|
489
|
-
</zeroOrMore>
|
490
|
-
</element>
|
491
|
-
</define>
|
492
|
-
<define name="quote-source">
|
493
|
-
<element name="source">
|
494
|
-
<ref name="erefType"/>
|
495
|
-
</element>
|
496
|
-
</define>
|
497
|
-
<define name="quote-author">
|
498
|
-
<element name="author">
|
499
|
-
<text/>
|
500
|
-
</element>
|
501
|
-
</define>
|
502
|
-
<define name="sourcecode">
|
503
|
-
<element name="sourcecode">
|
504
|
-
<attribute name="id">
|
505
|
-
<data type="ID"/>
|
506
|
-
</attribute>
|
507
|
-
<optional>
|
508
|
-
<ref name="tname"/>
|
509
|
-
</optional>
|
510
|
-
<oneOrMore>
|
511
|
-
<choice>
|
440
|
+
<element name="agency">
|
512
441
|
<text/>
|
513
|
-
|
514
|
-
</choice>
|
442
|
+
</element>
|
515
443
|
</oneOrMore>
|
516
|
-
<zeroOrMore>
|
517
|
-
<ref name="annotation"/>
|
518
|
-
</zeroOrMore>
|
519
|
-
<zeroOrMore>
|
520
|
-
<ref name="note"/>
|
521
|
-
</zeroOrMore>
|
522
|
-
</element>
|
523
|
-
</define>
|
524
|
-
<define name="table">
|
525
|
-
<element name="table">
|
526
|
-
<attribute name="id">
|
527
|
-
<data type="ID"/>
|
528
|
-
</attribute>
|
529
|
-
<optional>
|
530
|
-
<ref name="tname"/>
|
531
|
-
</optional>
|
532
|
-
<optional>
|
533
|
-
<ref name="thead"/>
|
534
|
-
</optional>
|
535
|
-
<ref name="tbody"/>
|
536
444
|
<optional>
|
537
|
-
<
|
538
|
-
|
539
|
-
|
540
|
-
<ref name="table-note"/>
|
541
|
-
</zeroOrMore>
|
542
|
-
<optional>
|
543
|
-
<ref name="dl"/>
|
544
|
-
</optional>
|
545
|
-
</element>
|
546
|
-
</define>
|
547
|
-
<define name="tname">
|
548
|
-
<element name="name">
|
549
|
-
<text/>
|
550
|
-
</element>
|
551
|
-
</define>
|
552
|
-
<define name="thead">
|
553
|
-
<element name="thead">
|
554
|
-
<ref name="tr"/>
|
555
|
-
</element>
|
556
|
-
</define>
|
557
|
-
<define name="tfoot">
|
558
|
-
<element name="tfoot">
|
559
|
-
<ref name="tr"/>
|
560
|
-
</element>
|
561
|
-
</define>
|
562
|
-
<define name="tbody">
|
563
|
-
<element name="tbody">
|
564
|
-
<oneOrMore>
|
565
|
-
<ref name="tr"/>
|
566
|
-
</oneOrMore>
|
567
|
-
</element>
|
568
|
-
</define>
|
569
|
-
<define name="table-note">
|
570
|
-
<element name="note">
|
571
|
-
<ref name="paragraph"/>
|
572
|
-
</element>
|
573
|
-
</define>
|
574
|
-
<define name="tr">
|
575
|
-
<element name="tr">
|
576
|
-
<oneOrMore>
|
577
|
-
<choice>
|
578
|
-
<ref name="td"/>
|
579
|
-
<ref name="th"/>
|
580
|
-
</choice>
|
581
|
-
</oneOrMore>
|
582
|
-
</element>
|
583
|
-
</define>
|
584
|
-
<define name="td">
|
585
|
-
<element name="td">
|
586
|
-
<optional>
|
587
|
-
<attribute name="colspan"/>
|
588
|
-
</optional>
|
589
|
-
<optional>
|
590
|
-
<attribute name="rowspan"/>
|
445
|
+
<element name="class">
|
446
|
+
<text/>
|
447
|
+
</element>
|
591
448
|
</optional>
|
449
|
+
<element name="docnumber">
|
450
|
+
<text/>
|
451
|
+
</element>
|
592
452
|
<optional>
|
593
|
-
<
|
594
|
-
<
|
595
|
-
|
596
|
-
<value>right</value>
|
597
|
-
<value>center</value>
|
598
|
-
</choice>
|
599
|
-
</attribute>
|
453
|
+
<element name="partnumber">
|
454
|
+
<text/>
|
455
|
+
</element>
|
600
456
|
</optional>
|
601
|
-
<choice>
|
602
|
-
<zeroOrMore>
|
603
|
-
<ref name="TextElement"/>
|
604
|
-
</zeroOrMore>
|
605
|
-
<oneOrMore>
|
606
|
-
<ref name="paragraph-with-footnote"/>
|
607
|
-
</oneOrMore>
|
608
|
-
</choice>
|
609
|
-
</element>
|
610
|
-
</define>
|
611
|
-
<define name="th">
|
612
|
-
<element name="th">
|
613
457
|
<optional>
|
614
|
-
<
|
458
|
+
<element name="edition">
|
459
|
+
<text/>
|
460
|
+
</element>
|
615
461
|
</optional>
|
616
462
|
<optional>
|
617
|
-
<
|
463
|
+
<element name="version">
|
464
|
+
<text/>
|
465
|
+
</element>
|
618
466
|
</optional>
|
619
467
|
<optional>
|
620
|
-
<
|
621
|
-
<
|
622
|
-
|
623
|
-
<value>right</value>
|
624
|
-
<value>center</value>
|
625
|
-
</choice>
|
626
|
-
</attribute>
|
627
|
-
</optional>
|
628
|
-
<choice>
|
629
|
-
<zeroOrMore>
|
630
|
-
<ref name="TextElement"/>
|
631
|
-
</zeroOrMore>
|
632
|
-
<oneOrMore>
|
633
|
-
<ref name="paragraph-with-footnote"/>
|
634
|
-
</oneOrMore>
|
635
|
-
</choice>
|
636
|
-
</element>
|
637
|
-
</define>
|
638
|
-
<define name="example">
|
639
|
-
<element name="example">
|
640
|
-
<attribute name="id">
|
641
|
-
<data type="ID"/>
|
642
|
-
</attribute>
|
643
|
-
<oneOrMore>
|
644
|
-
<choice>
|
645
|
-
<ref name="formula"/>
|
646
|
-
<ref name="ul"/>
|
647
|
-
<ref name="ol"/>
|
648
|
-
<ref name="dl"/>
|
649
|
-
<ref name="quote"/>
|
650
|
-
<ref name="sourcecode"/>
|
651
|
-
<ref name="paragraph-with-footnote"/>
|
652
|
-
</choice>
|
653
|
-
</oneOrMore>
|
654
|
-
<zeroOrMore>
|
655
|
-
<ref name="note"/>
|
656
|
-
</zeroOrMore>
|
657
|
-
</element>
|
658
|
-
</define>
|
659
|
-
<define name="admonition">
|
660
|
-
<element name="admonition">
|
661
|
-
<attribute name="type">
|
662
|
-
<choice>
|
663
|
-
<value>warning</value>
|
664
|
-
<value>note</value>
|
665
|
-
<value>tip</value>
|
666
|
-
<value>important</value>
|
667
|
-
<value>caution</value>
|
668
|
-
</choice>
|
669
|
-
</attribute>
|
670
|
-
<attribute name="id">
|
671
|
-
<data type="ID"/>
|
672
|
-
</attribute>
|
673
|
-
<zeroOrMore>
|
674
|
-
<ref name="paragraph-with-footnote"/>
|
675
|
-
</zeroOrMore>
|
676
|
-
<zeroOrMore>
|
677
|
-
<ref name="note"/>
|
678
|
-
</zeroOrMore>
|
679
|
-
</element>
|
680
|
-
</define>
|
681
|
-
<define name="figure">
|
682
|
-
<element name="figure">
|
683
|
-
<attribute name="id">
|
684
|
-
<data type="ID"/>
|
685
|
-
</attribute>
|
686
|
-
<optional>
|
687
|
-
<ref name="source"/>
|
468
|
+
<element name="supplementtype">
|
469
|
+
<text/>
|
470
|
+
</element>
|
688
471
|
</optional>
|
689
472
|
<optional>
|
690
|
-
<
|
691
|
-
|
692
|
-
|
693
|
-
<oneOrMore>
|
694
|
-
<ref name="figure"/>
|
695
|
-
</oneOrMore>
|
696
|
-
<group>
|
697
|
-
<zeroOrMore>
|
698
|
-
<ref name="TextElement"/>
|
699
|
-
</zeroOrMore>
|
700
|
-
<zeroOrMore>
|
701
|
-
<ref name="note"/>
|
702
|
-
</zeroOrMore>
|
703
|
-
<optional>
|
704
|
-
<ref name="dl"/>
|
705
|
-
</optional>
|
706
|
-
</group>
|
707
|
-
</choice>
|
708
|
-
</element>
|
709
|
-
</define>
|
710
|
-
<define name="TextElement">
|
711
|
-
<choice>
|
712
|
-
<text/>
|
713
|
-
<ref name="em"/>
|
714
|
-
<ref name="eref"/>
|
715
|
-
<ref name="strong"/>
|
716
|
-
<ref name="stem"/>
|
717
|
-
<ref name="sub"/>
|
718
|
-
<ref name="sup"/>
|
719
|
-
<ref name="tt"/>
|
720
|
-
<ref name="strike"/>
|
721
|
-
<ref name="smallcap"/>
|
722
|
-
<ref name="xref"/>
|
723
|
-
<ref name="br"/>
|
724
|
-
<ref name="hyperlink"/>
|
725
|
-
<ref name="hr"/>
|
726
|
-
<ref name="pagebreak"/>
|
727
|
-
<ref name="bookmark"/>
|
728
|
-
</choice>
|
729
|
-
</define>
|
730
|
-
<define name="source">
|
731
|
-
<element name="source">
|
732
|
-
<ref name="TypedUri"/>
|
733
|
-
</element>
|
734
|
-
</define>
|
735
|
-
<define name="em">
|
736
|
-
<element name="em">
|
737
|
-
<text/>
|
738
|
-
</element>
|
739
|
-
</define>
|
740
|
-
<define name="strong">
|
741
|
-
<element name="strong">
|
742
|
-
<text/>
|
743
|
-
</element>
|
744
|
-
</define>
|
745
|
-
<define name="tt">
|
746
|
-
<element name="tt">
|
747
|
-
<text/>
|
748
|
-
</element>
|
749
|
-
</define>
|
750
|
-
<define name="sub">
|
751
|
-
<element name="sub">
|
752
|
-
<text/>
|
753
|
-
</element>
|
754
|
-
</define>
|
755
|
-
<define name="sup">
|
756
|
-
<element name="sup">
|
757
|
-
<text/>
|
758
|
-
</element>
|
759
|
-
</define>
|
760
|
-
<define name="strike">
|
761
|
-
<element name="strike">
|
762
|
-
<text/>
|
763
|
-
</element>
|
764
|
-
</define>
|
765
|
-
<define name="smallcap">
|
766
|
-
<element name="smallcap">
|
767
|
-
<text/>
|
768
|
-
</element>
|
769
|
-
</define>
|
770
|
-
<define name="br">
|
771
|
-
<element name="br">
|
772
|
-
<empty/>
|
773
|
-
</element>
|
774
|
-
</define>
|
775
|
-
<define name="hr">
|
776
|
-
<element name="hr">
|
777
|
-
<empty/>
|
778
|
-
</element>
|
779
|
-
</define>
|
780
|
-
<define name="pagebreak">
|
781
|
-
<element name="pagebreak">
|
782
|
-
<empty/>
|
783
|
-
</element>
|
784
|
-
</define>
|
785
|
-
<!-- bare ID element, used for referencing arbitrary spans of text -->
|
786
|
-
<define name="bookmark">
|
787
|
-
<element name="bookmark">
|
788
|
-
<attribute name="id">
|
789
|
-
<data type="ID"/>
|
790
|
-
</attribute>
|
791
|
-
<empty/>
|
792
|
-
</element>
|
793
|
-
</define>
|
794
|
-
<define name="ReferenceFormat">
|
795
|
-
<choice>
|
796
|
-
<value>external</value>
|
797
|
-
<value>inline</value>
|
798
|
-
<value>footnote</value>
|
799
|
-
<value>callout</value>
|
800
|
-
</choice>
|
801
|
-
</define>
|
802
|
-
<define name="eref">
|
803
|
-
<element name="eref">
|
804
|
-
<ref name="erefType"/>
|
805
|
-
</element>
|
806
|
-
</define>
|
807
|
-
<define name="erefType">
|
808
|
-
<optional>
|
809
|
-
<attribute name="normative">
|
810
|
-
<data type="boolean"/>
|
811
|
-
</attribute>
|
812
|
-
</optional>
|
813
|
-
<attribute name="citeas"/>
|
814
|
-
<attribute name="type">
|
815
|
-
<ref name="ReferenceFormat"/>
|
816
|
-
</attribute>
|
817
|
-
<ref name="CitationType"/>
|
818
|
-
<text/>
|
819
|
-
</define>
|
820
|
-
<define name="hyperlink">
|
821
|
-
<element name="link">
|
822
|
-
<attribute name="target">
|
823
|
-
<data type="anyURI"/>
|
824
|
-
</attribute>
|
825
|
-
<attribute name="type">
|
826
|
-
<ref name="ReferenceFormat"/>
|
827
|
-
</attribute>
|
828
|
-
<text/>
|
829
|
-
</element>
|
830
|
-
</define>
|
831
|
-
<define name="xref">
|
832
|
-
<element name="xref">
|
833
|
-
<attribute name="target">
|
834
|
-
<data type="IDREF"/>
|
835
|
-
</attribute>
|
836
|
-
<attribute name="type">
|
837
|
-
<ref name="ReferenceFormat"/>
|
838
|
-
</attribute>
|
839
|
-
<text/>
|
840
|
-
</element>
|
841
|
-
</define>
|
842
|
-
<define name="fn">
|
843
|
-
<element name="fn">
|
844
|
-
<attribute name="reference"/>
|
845
|
-
<oneOrMore>
|
846
|
-
<ref name="paragraph"/>
|
847
|
-
</oneOrMore>
|
848
|
-
</element>
|
849
|
-
</define>
|
850
|
-
<!--
|
851
|
-
This is xref with fixed @type="footnote", and @target built in as paragraph+
|
852
|
-
@reference replaces ReferenceElement/text
|
853
|
-
so <fn reference="2"><p>This is a footnote</p></fn>
|
854
|
-
corresponds to
|
855
|
-
<eref type="footnote" target="fn2">2</xref> <p id="fn2">This is a footnote</p>
|
856
|
-
-->
|
857
|
-
<define name="callout">
|
858
|
-
<element name="callout">
|
859
|
-
<attribute name="target">
|
860
|
-
<data type="IDREF"/>
|
861
|
-
</attribute>
|
862
|
-
<text/>
|
863
|
-
</element>
|
864
|
-
</define>
|
865
|
-
<!--
|
866
|
-
This is xref with fixed @type="callout"; the target by convention is in an annotation in the same source code snippet
|
867
|
-
so <callout target="xyz">1</callout>
|
868
|
-
corresponds to <xref type="callout" target="xyz">1</xref>
|
869
|
-
-->
|
870
|
-
<define name="image">
|
871
|
-
<element name="image">
|
872
|
-
<attribute name="id">
|
873
|
-
<data type="ID"/>
|
874
|
-
</attribute>
|
875
|
-
<optional>
|
876
|
-
<attribute name="src">
|
877
|
-
<data type="anyURI"/>
|
878
|
-
</attribute>
|
473
|
+
<element name="supplementnumber">
|
474
|
+
<text/>
|
475
|
+
</element>
|
879
476
|
</optional>
|
880
|
-
<attribute name="imagetype">
|
881
|
-
<choice>
|
882
|
-
<value>SVG</value>
|
883
|
-
<value>JPEG</value>
|
884
|
-
<value>GIF</value>
|
885
|
-
<value>PNG</value>
|
886
|
-
<value>PDF</value>
|
887
|
-
</choice>
|
888
|
-
</attribute>
|
889
477
|
<optional>
|
890
|
-
<
|
891
|
-
<
|
892
|
-
|
893
|
-
<value>auto</value>
|
894
|
-
</choice>
|
895
|
-
</attribute>
|
478
|
+
<element name="language">
|
479
|
+
<text/>
|
480
|
+
</element>
|
896
481
|
</optional>
|
897
482
|
<optional>
|
898
|
-
<
|
899
|
-
<
|
900
|
-
|
901
|
-
<value>auto</value>
|
902
|
-
</choice>
|
903
|
-
</attribute>
|
483
|
+
<element name="year">
|
484
|
+
<text/>
|
485
|
+
</element>
|
904
486
|
</optional>
|
905
487
|
</element>
|
906
488
|
</define>
|
907
|
-
<define name="stem">
|
908
|
-
<element name="stem">
|
909
|
-
<attribute name="type">
|
910
|
-
<choice>
|
911
|
-
<value>MathML</value>
|
912
|
-
<value>AsciiMath</value>
|
913
|
-
</choice>
|
914
|
-
</attribute>
|
915
|
-
<text/>
|
916
|
-
</element>
|
917
|
-
</define>
|
918
|
-
<define name="annotation">
|
919
|
-
<element name="annotation">
|
920
|
-
<attribute name="id">
|
921
|
-
<data type="ID"/>
|
922
|
-
</attribute>
|
923
|
-
<ref name="paragraph"/>
|
924
|
-
</element>
|
925
|
-
</define>
|
926
|
-
<define name="ul">
|
927
|
-
<element name="ul">
|
928
|
-
<attribute name="id">
|
929
|
-
<data type="ID"/>
|
930
|
-
</attribute>
|
931
|
-
<oneOrMore>
|
932
|
-
<ref name="li"/>
|
933
|
-
</oneOrMore>
|
934
|
-
<zeroOrMore>
|
935
|
-
<ref name="note"/>
|
936
|
-
</zeroOrMore>
|
937
|
-
</element>
|
938
|
-
</define>
|
939
|
-
<define name="li">
|
940
|
-
<element name="li">
|
941
|
-
<oneOrMore>
|
942
|
-
<ref name="paragraph-with-footnote"/>
|
943
|
-
</oneOrMore>
|
944
|
-
</element>
|
945
|
-
</define>
|
946
|
-
<define name="ol">
|
947
|
-
<element name="ol">
|
948
|
-
<attribute name="id">
|
949
|
-
<data type="ID"/>
|
950
|
-
</attribute>
|
951
|
-
<attribute name="type">
|
952
|
-
<choice>
|
953
|
-
<value>roman</value>
|
954
|
-
<value>alphabet</value>
|
955
|
-
<value>arabic</value>
|
956
|
-
<value>roman_upper</value>
|
957
|
-
<value>alphabet_upper</value>
|
958
|
-
</choice>
|
959
|
-
</attribute>
|
960
|
-
<oneOrMore>
|
961
|
-
<ref name="li"/>
|
962
|
-
</oneOrMore>
|
963
|
-
<zeroOrMore>
|
964
|
-
<ref name="note"/>
|
965
|
-
</zeroOrMore>
|
966
|
-
</element>
|
967
|
-
</define>
|
968
|
-
<define name="dl">
|
969
|
-
<element name="dl">
|
970
|
-
<attribute name="id">
|
971
|
-
<data type="ID"/>
|
972
|
-
</attribute>
|
973
|
-
<oneOrMore>
|
974
|
-
<ref name="dt"/>
|
975
|
-
<ref name="dd"/>
|
976
|
-
</oneOrMore>
|
977
|
-
<zeroOrMore>
|
978
|
-
<ref name="note"/>
|
979
|
-
</zeroOrMore>
|
980
|
-
</element>
|
981
|
-
</define>
|
982
|
-
<define name="dt">
|
983
|
-
<element name="dt">
|
984
|
-
<ref name="TextElement"/>
|
985
|
-
</element>
|
986
|
-
</define>
|
987
|
-
<define name="dd">
|
988
|
-
<element name="dd">
|
989
|
-
<zeroOrMore>
|
990
|
-
<ref name="paragraph-with-footnote"/>
|
991
|
-
</zeroOrMore>
|
992
|
-
</element>
|
993
|
-
</define>
|
994
|
-
<define name="BibData">
|
995
|
-
<optional>
|
996
|
-
<attribute name="type">
|
997
|
-
<ref name="BibItemType"/>
|
998
|
-
</attribute>
|
999
|
-
</optional>
|
1000
|
-
<oneOrMore>
|
1001
|
-
<ref name="btitle"/>
|
1002
|
-
</oneOrMore>
|
1003
|
-
<optional>
|
1004
|
-
<ref name="formattedref"/>
|
1005
|
-
</optional>
|
1006
|
-
<zeroOrMore>
|
1007
|
-
<ref name="bsource"/>
|
1008
|
-
</zeroOrMore>
|
1009
|
-
<zeroOrMore>
|
1010
|
-
<ref name="docidentifier"/>
|
1011
|
-
</zeroOrMore>
|
1012
|
-
<zeroOrMore>
|
1013
|
-
<ref name="bdate"/>
|
1014
|
-
</zeroOrMore>
|
1015
|
-
<zeroOrMore>
|
1016
|
-
<ref name="contributor"/>
|
1017
|
-
</zeroOrMore>
|
1018
|
-
<optional>
|
1019
|
-
<ref name="edition"/>
|
1020
|
-
</optional>
|
1021
|
-
<zeroOrMore>
|
1022
|
-
<ref name="biblionote"/>
|
1023
|
-
</zeroOrMore>
|
1024
|
-
<zeroOrMore>
|
1025
|
-
<ref name="language"/>
|
1026
|
-
</zeroOrMore>
|
1027
|
-
<zeroOrMore>
|
1028
|
-
<ref name="script"/>
|
1029
|
-
</zeroOrMore>
|
1030
|
-
<optional>
|
1031
|
-
<ref name="abstract"/>
|
1032
|
-
</optional>
|
1033
|
-
<optional>
|
1034
|
-
<ref name="status"/>
|
1035
|
-
</optional>
|
1036
|
-
<ref name="copyright"/>
|
1037
|
-
<zeroOrMore>
|
1038
|
-
<ref name="docrelation"/>
|
1039
|
-
</zeroOrMore>
|
1040
|
-
</define>
|
1041
489
|
</grammar>
|