relaton-iana 1.9.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2106 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ instantiations of this grammar may replace leaf strings
4
+ with more elaborated types; e.g. title (text) replaced with
5
+ title-main, title-intro, title-part; type replaced with
6
+ enum.
7
+
8
+ some renaming at leaf nodes is permissible
9
+
10
+ obligations can change both from optional to mandatory,
11
+ and from mandatory to optional; optional elements may
12
+ be omitted; freely positioned alternatives may be replaced
13
+ with strict ordering
14
+
15
+ DO NOT introduce a namespace here. We do not want a distinct namespace
16
+ for these elements, and a distinct namespace for any grammar inheriting
17
+ these elements; we just want one namespace for any child grammars
18
+ of this.
19
+ -->
20
+ <grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
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="doctype">
28
+ <element name="doctype">
29
+ <optional>
30
+ <attribute name="abbreviation"/>
31
+ </optional>
32
+ <ref name="DocumentType"/>
33
+ </element>
34
+ </define>
35
+ <define name="hyperlink">
36
+ <element name="link">
37
+ <attribute name="target">
38
+ <data type="anyURI"/>
39
+ </attribute>
40
+ <optional>
41
+ <attribute name="type">
42
+ <ref name="ReferenceFormat"/>
43
+ </attribute>
44
+ </optional>
45
+ <optional>
46
+ <attribute name="alt"/>
47
+ </optional>
48
+ <optional>
49
+ <attribute name="updatetype">
50
+ <data type="boolean"/>
51
+ </attribute>
52
+ </optional>
53
+ <text/>
54
+ </element>
55
+ </define>
56
+ <define name="xref">
57
+ <element name="xref">
58
+ <attribute name="target">
59
+ <data type="string">
60
+ <param name="pattern">\i\c*|\c+#\c+</param>
61
+ </data>
62
+ </attribute>
63
+ <optional>
64
+ <attribute name="to">
65
+ <data type="string">
66
+ <param name="pattern">\i\c*|\c+#\c+</param>
67
+ </data>
68
+ </attribute>
69
+ </optional>
70
+ <optional>
71
+ <attribute name="type">
72
+ <ref name="ReferenceFormat"/>
73
+ </attribute>
74
+ </optional>
75
+ <optional>
76
+ <attribute name="alt"/>
77
+ </optional>
78
+ <optional>
79
+ <attribute name="case">
80
+ <choice>
81
+ <value>capital</value>
82
+ <value>lowercase</value>
83
+ </choice>
84
+ </attribute>
85
+ </optional>
86
+ <optional>
87
+ <attribute name="droploc">
88
+ <data type="boolean"/>
89
+ </attribute>
90
+ </optional>
91
+ <text/>
92
+ </element>
93
+ </define>
94
+ <define name="erefType">
95
+ <optional>
96
+ <attribute name="normative">
97
+ <data type="boolean"/>
98
+ </attribute>
99
+ </optional>
100
+ <attribute name="citeas"/>
101
+ <attribute name="type">
102
+ <ref name="ReferenceFormat"/>
103
+ </attribute>
104
+ <optional>
105
+ <attribute name="alt"/>
106
+ </optional>
107
+ <optional>
108
+ <attribute name="case">
109
+ <choice>
110
+ <value>capital</value>
111
+ <value>lowercase</value>
112
+ </choice>
113
+ </attribute>
114
+ </optional>
115
+ <optional>
116
+ <attribute name="droploc">
117
+ <data type="boolean"/>
118
+ </attribute>
119
+ </optional>
120
+ <ref name="CitationType"/>
121
+ <text/>
122
+ </define>
123
+ <define name="ul">
124
+ <element name="ul">
125
+ <attribute name="id">
126
+ <data type="ID"/>
127
+ </attribute>
128
+ <optional>
129
+ <attribute name="keep-with-next">
130
+ <data type="boolean"/>
131
+ </attribute>
132
+ </optional>
133
+ <optional>
134
+ <attribute name="keep-lines-together">
135
+ <data type="boolean"/>
136
+ </attribute>
137
+ </optional>
138
+ <oneOrMore>
139
+ <ref name="ul_li"/>
140
+ </oneOrMore>
141
+ <zeroOrMore>
142
+ <ref name="note"/>
143
+ </zeroOrMore>
144
+ </element>
145
+ </define>
146
+ <define name="ol">
147
+ <element name="ol">
148
+ <attribute name="id">
149
+ <data type="ID"/>
150
+ </attribute>
151
+ <optional>
152
+ <attribute name="keep-with-next">
153
+ <data type="boolean"/>
154
+ </attribute>
155
+ </optional>
156
+ <optional>
157
+ <attribute name="keep-lines-together">
158
+ <data type="boolean"/>
159
+ </attribute>
160
+ </optional>
161
+ <attribute name="type">
162
+ <choice>
163
+ <value>roman</value>
164
+ <value>alphabet</value>
165
+ <value>arabic</value>
166
+ <value>roman_upper</value>
167
+ <value>alphabet_upper</value>
168
+ </choice>
169
+ </attribute>
170
+ <oneOrMore>
171
+ <ref name="li"/>
172
+ </oneOrMore>
173
+ <zeroOrMore>
174
+ <ref name="note"/>
175
+ </zeroOrMore>
176
+ </element>
177
+ </define>
178
+ <define name="dl">
179
+ <element name="dl">
180
+ <attribute name="id">
181
+ <data type="ID"/>
182
+ </attribute>
183
+ <optional>
184
+ <attribute name="keep-with-next">
185
+ <data type="boolean"/>
186
+ </attribute>
187
+ </optional>
188
+ <optional>
189
+ <attribute name="keep-lines-together">
190
+ <data type="boolean"/>
191
+ </attribute>
192
+ </optional>
193
+ <optional>
194
+ <attribute name="key">
195
+ <data type="boolean"/>
196
+ </attribute>
197
+ </optional>
198
+ <oneOrMore>
199
+ <ref name="dt"/>
200
+ <ref name="dd"/>
201
+ </oneOrMore>
202
+ <zeroOrMore>
203
+ <ref name="note"/>
204
+ </zeroOrMore>
205
+ </element>
206
+ </define>
207
+ <define name="dt">
208
+ <element name="dt">
209
+ <optional>
210
+ <attribute name="id">
211
+ <data type="ID"/>
212
+ </attribute>
213
+ </optional>
214
+ <zeroOrMore>
215
+ <ref name="TextElement"/>
216
+ </zeroOrMore>
217
+ </element>
218
+ </define>
219
+ <define name="example">
220
+ <element name="example">
221
+ <attribute name="id">
222
+ <data type="ID"/>
223
+ </attribute>
224
+ <optional>
225
+ <attribute name="unnumbered">
226
+ <data type="boolean"/>
227
+ </attribute>
228
+ </optional>
229
+ <optional>
230
+ <attribute name="subsequence"/>
231
+ </optional>
232
+ <optional>
233
+ <attribute name="number"/>
234
+ </optional>
235
+ <optional>
236
+ <attribute name="keep-with-next">
237
+ <data type="boolean"/>
238
+ </attribute>
239
+ </optional>
240
+ <optional>
241
+ <attribute name="keep-lines-together">
242
+ <data type="boolean"/>
243
+ </attribute>
244
+ </optional>
245
+ <optional>
246
+ <ref name="tname"/>
247
+ </optional>
248
+ <oneOrMore>
249
+ <choice>
250
+ <ref name="formula"/>
251
+ <ref name="ul"/>
252
+ <ref name="ol"/>
253
+ <ref name="dl"/>
254
+ <ref name="quote"/>
255
+ <ref name="sourcecode"/>
256
+ <ref name="paragraph-with-footnote"/>
257
+ <ref name="figure"/>
258
+ </choice>
259
+ </oneOrMore>
260
+ <zeroOrMore>
261
+ <ref name="note"/>
262
+ </zeroOrMore>
263
+ </element>
264
+ </define>
265
+ <define name="table">
266
+ <element name="table">
267
+ <attribute name="id">
268
+ <data type="ID"/>
269
+ </attribute>
270
+ <optional>
271
+ <attribute name="unnumbered">
272
+ <data type="boolean"/>
273
+ </attribute>
274
+ </optional>
275
+ <optional>
276
+ <attribute name="number"/>
277
+ </optional>
278
+ <optional>
279
+ <attribute name="subsequence"/>
280
+ </optional>
281
+ <optional>
282
+ <attribute name="alt"/>
283
+ </optional>
284
+ <optional>
285
+ <attribute name="summary"/>
286
+ </optional>
287
+ <optional>
288
+ <attribute name="uri">
289
+ <data type="anyURI"/>
290
+ </attribute>
291
+ </optional>
292
+ <optional>
293
+ <attribute name="keep-with-next">
294
+ <data type="boolean"/>
295
+ </attribute>
296
+ </optional>
297
+ <optional>
298
+ <attribute name="keep-lines-together">
299
+ <data type="boolean"/>
300
+ </attribute>
301
+ </optional>
302
+ <optional>
303
+ <attribute name="width"/>
304
+ </optional>
305
+ <optional>
306
+ <ref name="colgroup"/>
307
+ </optional>
308
+ <optional>
309
+ <ref name="tname"/>
310
+ </optional>
311
+ <optional>
312
+ <ref name="thead"/>
313
+ </optional>
314
+ <ref name="tbody"/>
315
+ <optional>
316
+ <ref name="tfoot"/>
317
+ </optional>
318
+ <zeroOrMore>
319
+ <ref name="table-note"/>
320
+ </zeroOrMore>
321
+ <optional>
322
+ <ref name="dl"/>
323
+ </optional>
324
+ </element>
325
+ </define>
326
+ <define name="figure">
327
+ <element name="figure">
328
+ <attribute name="id">
329
+ <data type="ID"/>
330
+ </attribute>
331
+ <optional>
332
+ <attribute name="unnumbered">
333
+ <data type="boolean"/>
334
+ </attribute>
335
+ </optional>
336
+ <optional>
337
+ <attribute name="number"/>
338
+ </optional>
339
+ <optional>
340
+ <attribute name="subsequence"/>
341
+ </optional>
342
+ <optional>
343
+ <attribute name="keep-with-next">
344
+ <data type="boolean"/>
345
+ </attribute>
346
+ </optional>
347
+ <optional>
348
+ <attribute name="keep-lines-together">
349
+ <data type="boolean"/>
350
+ </attribute>
351
+ </optional>
352
+ <optional>
353
+ <attribute name="class"/>
354
+ </optional>
355
+ <optional>
356
+ <ref name="source"/>
357
+ </optional>
358
+ <optional>
359
+ <ref name="tname"/>
360
+ </optional>
361
+ <choice>
362
+ <ref name="image"/>
363
+ <ref name="video"/>
364
+ <ref name="audio"/>
365
+ <ref name="pre"/>
366
+ <oneOrMore>
367
+ <ref name="paragraph-with-footnote"/>
368
+ </oneOrMore>
369
+ <zeroOrMore>
370
+ <ref name="figure"/>
371
+ </zeroOrMore>
372
+ </choice>
373
+ <zeroOrMore>
374
+ <ref name="fn"/>
375
+ </zeroOrMore>
376
+ <optional>
377
+ <ref name="dl"/>
378
+ </optional>
379
+ <zeroOrMore>
380
+ <ref name="note"/>
381
+ </zeroOrMore>
382
+ </element>
383
+ </define>
384
+ <define name="sourcecode">
385
+ <element name="sourcecode">
386
+ <attribute name="id">
387
+ <data type="ID"/>
388
+ </attribute>
389
+ <optional>
390
+ <attribute name="unnumbered">
391
+ <data type="boolean"/>
392
+ </attribute>
393
+ </optional>
394
+ <optional>
395
+ <attribute name="number"/>
396
+ </optional>
397
+ <optional>
398
+ <attribute name="subsequence"/>
399
+ </optional>
400
+ <optional>
401
+ <attribute name="keep-with-next">
402
+ <data type="boolean"/>
403
+ </attribute>
404
+ </optional>
405
+ <optional>
406
+ <attribute name="keep-lines-together">
407
+ <data type="boolean"/>
408
+ </attribute>
409
+ </optional>
410
+ <optional>
411
+ <attribute name="lang"/>
412
+ </optional>
413
+ <optional>
414
+ <ref name="tname"/>
415
+ </optional>
416
+ <oneOrMore>
417
+ <choice>
418
+ <text/>
419
+ <ref name="callout"/>
420
+ </choice>
421
+ </oneOrMore>
422
+ <zeroOrMore>
423
+ <ref name="annotation"/>
424
+ </zeroOrMore>
425
+ <zeroOrMore>
426
+ <ref name="note"/>
427
+ </zeroOrMore>
428
+ </element>
429
+ </define>
430
+ <define name="formula">
431
+ <element name="formula">
432
+ <attribute name="id">
433
+ <data type="ID"/>
434
+ </attribute>
435
+ <optional>
436
+ <attribute name="unnumbered">
437
+ <data type="boolean"/>
438
+ </attribute>
439
+ </optional>
440
+ <optional>
441
+ <attribute name="number"/>
442
+ </optional>
443
+ <optional>
444
+ <attribute name="subsequence"/>
445
+ </optional>
446
+ <optional>
447
+ <attribute name="keep-with-next">
448
+ <data type="boolean"/>
449
+ </attribute>
450
+ </optional>
451
+ <optional>
452
+ <attribute name="keep-lines-together">
453
+ <data type="boolean"/>
454
+ </attribute>
455
+ </optional>
456
+ <optional>
457
+ <attribute name="inequality">
458
+ <data type="boolean"/>
459
+ </attribute>
460
+ </optional>
461
+ <ref name="stem"/>
462
+ <optional>
463
+ <ref name="dl"/>
464
+ </optional>
465
+ <zeroOrMore>
466
+ <ref name="note"/>
467
+ </zeroOrMore>
468
+ </element>
469
+ </define>
470
+ <define name="ParagraphType">
471
+ <attribute name="id">
472
+ <data type="ID"/>
473
+ </attribute>
474
+ <optional>
475
+ <attribute name="align">
476
+ <ref name="Alignments"/>
477
+ </attribute>
478
+ </optional>
479
+ <optional>
480
+ <attribute name="keep-with-next">
481
+ <data type="boolean"/>
482
+ </attribute>
483
+ </optional>
484
+ <optional>
485
+ <attribute name="keep-lines-together">
486
+ <data type="boolean"/>
487
+ </attribute>
488
+ </optional>
489
+ <zeroOrMore>
490
+ <ref name="TextElement"/>
491
+ </zeroOrMore>
492
+ <zeroOrMore>
493
+ <ref name="note"/>
494
+ </zeroOrMore>
495
+ </define>
496
+ <define name="paragraph-with-footnote">
497
+ <element name="p">
498
+ <attribute name="id">
499
+ <data type="ID"/>
500
+ </attribute>
501
+ <optional>
502
+ <attribute name="align">
503
+ <ref name="Alignments"/>
504
+ </attribute>
505
+ </optional>
506
+ <optional>
507
+ <attribute name="keep-with-next">
508
+ <data type="boolean"/>
509
+ </attribute>
510
+ </optional>
511
+ <optional>
512
+ <attribute name="keep-lines-together">
513
+ <data type="boolean"/>
514
+ </attribute>
515
+ </optional>
516
+ <zeroOrMore>
517
+ <choice>
518
+ <ref name="TextElement"/>
519
+ <ref name="fn"/>
520
+ </choice>
521
+ </zeroOrMore>
522
+ <zeroOrMore>
523
+ <ref name="note"/>
524
+ </zeroOrMore>
525
+ </element>
526
+ </define>
527
+ <define name="quote">
528
+ <element name="quote">
529
+ <attribute name="id">
530
+ <data type="ID"/>
531
+ </attribute>
532
+ <optional>
533
+ <attribute name="alignment">
534
+ <ref name="Alignments"/>
535
+ </attribute>
536
+ </optional>
537
+ <optional>
538
+ <attribute name="keep-with-next">
539
+ <data type="boolean"/>
540
+ </attribute>
541
+ </optional>
542
+ <optional>
543
+ <attribute name="keep-lines-together">
544
+ <data type="boolean"/>
545
+ </attribute>
546
+ </optional>
547
+ <optional>
548
+ <ref name="quote-source"/>
549
+ </optional>
550
+ <optional>
551
+ <ref name="quote-author"/>
552
+ </optional>
553
+ <oneOrMore>
554
+ <ref name="paragraph-with-footnote"/>
555
+ </oneOrMore>
556
+ <zeroOrMore>
557
+ <ref name="note"/>
558
+ </zeroOrMore>
559
+ </element>
560
+ </define>
561
+ <define name="BibDataExtensionType">
562
+ <ref name="doctype"/>
563
+ <optional>
564
+ <ref name="docsubtype"/>
565
+ </optional>
566
+ <optional>
567
+ <ref name="editorialgroup"/>
568
+ </optional>
569
+ <zeroOrMore>
570
+ <ref name="ics"/>
571
+ </zeroOrMore>
572
+ <zeroOrMore>
573
+ <ref name="structuredidentifier"/>
574
+ </zeroOrMore>
575
+ </define>
576
+ <!-- TitleType = text -->
577
+ <define name="sections">
578
+ <element name="sections">
579
+ <oneOrMore>
580
+ <choice>
581
+ <ref name="clause"/>
582
+ <ref name="terms"/>
583
+ <ref name="term-clause"/>
584
+ <ref name="definitions"/>
585
+ </choice>
586
+ </oneOrMore>
587
+ </element>
588
+ </define>
589
+ <define name="references">
590
+ <element name="references">
591
+ <optional>
592
+ <attribute name="id">
593
+ <data type="ID"/>
594
+ </attribute>
595
+ </optional>
596
+ <optional>
597
+ <attribute name="obligation">
598
+ <choice>
599
+ <value>normative</value>
600
+ <value>informative</value>
601
+ </choice>
602
+ </attribute>
603
+ </optional>
604
+ <attribute name="normative">
605
+ <data type="boolean"/>
606
+ </attribute>
607
+ <optional>
608
+ <ref name="section-title"/>
609
+ </optional>
610
+ <zeroOrMore>
611
+ <ref name="BasicBlock"/>
612
+ </zeroOrMore>
613
+ <zeroOrMore>
614
+ <ref name="note"/>
615
+ </zeroOrMore>
616
+ <zeroOrMore>
617
+ <ref name="bibitem"/>
618
+ <zeroOrMore>
619
+ <ref name="note"/>
620
+ </zeroOrMore>
621
+ </zeroOrMore>
622
+ <zeroOrMore>
623
+ <ref name="references"/>
624
+ </zeroOrMore>
625
+ </element>
626
+ </define>
627
+ <define name="note">
628
+ <element name="note">
629
+ <attribute name="id">
630
+ <data type="ID"/>
631
+ </attribute>
632
+ <optional>
633
+ <attribute name="unnumbered">
634
+ <data type="boolean"/>
635
+ </attribute>
636
+ </optional>
637
+ <optional>
638
+ <attribute name="number"/>
639
+ </optional>
640
+ <optional>
641
+ <attribute name="subsequence"/>
642
+ </optional>
643
+ <optional>
644
+ <attribute name="keep-with-next">
645
+ <data type="boolean"/>
646
+ </attribute>
647
+ </optional>
648
+ <optional>
649
+ <attribute name="keep-lines-together">
650
+ <data type="boolean"/>
651
+ </attribute>
652
+ </optional>
653
+ <optional>
654
+ <attribute name="type"/>
655
+ </optional>
656
+ <oneOrMore>
657
+ <choice>
658
+ <ref name="paragraph"/>
659
+ <ref name="ul"/>
660
+ <ref name="ol"/>
661
+ <ref name="dl"/>
662
+ <ref name="formula"/>
663
+ <ref name="quote"/>
664
+ <ref name="sourcecode"/>
665
+ </choice>
666
+ </oneOrMore>
667
+ </element>
668
+ </define>
669
+ <define name="Basic-Section">
670
+ <optional>
671
+ <attribute name="id">
672
+ <data type="ID"/>
673
+ </attribute>
674
+ </optional>
675
+ <optional>
676
+ <attribute name="language"/>
677
+ </optional>
678
+ <optional>
679
+ <attribute name="script"/>
680
+ </optional>
681
+ <optional>
682
+ <attribute name="obligation">
683
+ <choice>
684
+ <value>normative</value>
685
+ <value>informative</value>
686
+ </choice>
687
+ </attribute>
688
+ </optional>
689
+ <optional>
690
+ <ref name="section-title"/>
691
+ </optional>
692
+ <group>
693
+ <oneOrMore>
694
+ <ref name="BasicBlock"/>
695
+ </oneOrMore>
696
+ <zeroOrMore>
697
+ <ref name="note"/>
698
+ </zeroOrMore>
699
+ </group>
700
+ </define>
701
+ <define name="li">
702
+ <element name="li">
703
+ <group>
704
+ <optional>
705
+ <attribute name="id">
706
+ <data type="ID"/>
707
+ </attribute>
708
+ </optional>
709
+ <oneOrMore>
710
+ <ref name="BasicBlock"/>
711
+ </oneOrMore>
712
+ </group>
713
+ <!-- exclude figures? -->
714
+ </element>
715
+ </define>
716
+ <define name="dd">
717
+ <element name="dd">
718
+ <zeroOrMore>
719
+ <!-- exclude figures? -->
720
+ <ref name="BasicBlock"/>
721
+ </zeroOrMore>
722
+ </element>
723
+ </define>
724
+ <define name="thead">
725
+ <element name="thead">
726
+ <oneOrMore>
727
+ <ref name="tr"/>
728
+ </oneOrMore>
729
+ </element>
730
+ </define>
731
+ <define name="td">
732
+ <element name="td">
733
+ <optional>
734
+ <attribute name="colspan"/>
735
+ </optional>
736
+ <optional>
737
+ <attribute name="rowspan"/>
738
+ </optional>
739
+ <optional>
740
+ <attribute name="align">
741
+ <choice>
742
+ <value>left</value>
743
+ <value>right</value>
744
+ <value>center</value>
745
+ </choice>
746
+ </attribute>
747
+ </optional>
748
+ <optional>
749
+ <attribute name="valign">
750
+ <choice>
751
+ <value>top</value>
752
+ <value>middle</value>
753
+ <value>bottom</value>
754
+ <value>baseline</value>
755
+ </choice>
756
+ </attribute>
757
+ </optional>
758
+ <choice>
759
+ <zeroOrMore>
760
+ <choice>
761
+ <ref name="TextElement"/>
762
+ <ref name="fn"/>
763
+ </choice>
764
+ </zeroOrMore>
765
+ <oneOrMore>
766
+ <choice>
767
+ <ref name="paragraph-with-footnote"/>
768
+ <ref name="dl"/>
769
+ <ref name="ul"/>
770
+ <ref name="ol"/>
771
+ <ref name="figure"/>
772
+ </choice>
773
+ </oneOrMore>
774
+ </choice>
775
+ </element>
776
+ </define>
777
+ <define name="th">
778
+ <element name="th">
779
+ <optional>
780
+ <attribute name="colspan"/>
781
+ </optional>
782
+ <optional>
783
+ <attribute name="rowspan"/>
784
+ </optional>
785
+ <optional>
786
+ <attribute name="align">
787
+ <choice>
788
+ <value>left</value>
789
+ <value>right</value>
790
+ <value>center</value>
791
+ </choice>
792
+ </attribute>
793
+ </optional>
794
+ <optional>
795
+ <attribute name="valign">
796
+ <choice>
797
+ <value>top</value>
798
+ <value>middle</value>
799
+ <value>bottom</value>
800
+ <value>baseline</value>
801
+ </choice>
802
+ </attribute>
803
+ </optional>
804
+ <choice>
805
+ <zeroOrMore>
806
+ <choice>
807
+ <ref name="TextElement"/>
808
+ <ref name="fn"/>
809
+ </choice>
810
+ </zeroOrMore>
811
+ <oneOrMore>
812
+ <ref name="paragraph-with-footnote"/>
813
+ </oneOrMore>
814
+ </choice>
815
+ </element>
816
+ </define>
817
+ <define name="table-note">
818
+ <element name="note">
819
+ <optional>
820
+ <attribute name="id">
821
+ <data type="ID"/>
822
+ </attribute>
823
+ </optional>
824
+ <ref name="paragraph"/>
825
+ </element>
826
+ </define>
827
+ <define name="em">
828
+ <element name="em">
829
+ <zeroOrMore>
830
+ <choice>
831
+ <ref name="PureTextElement"/>
832
+ <ref name="stem"/>
833
+ <ref name="index"/>
834
+ </choice>
835
+ </zeroOrMore>
836
+ </element>
837
+ </define>
838
+ <define name="strong">
839
+ <element name="strong">
840
+ <zeroOrMore>
841
+ <choice>
842
+ <ref name="PureTextElement"/>
843
+ <ref name="stem"/>
844
+ <ref name="index"/>
845
+ </choice>
846
+ </zeroOrMore>
847
+ </element>
848
+ </define>
849
+ <define name="tt">
850
+ <element name="tt">
851
+ <zeroOrMore>
852
+ <choice>
853
+ <ref name="PureTextElement"/>
854
+ <ref name="index"/>
855
+ </choice>
856
+ </zeroOrMore>
857
+ </element>
858
+ </define>
859
+ <define name="keyword">
860
+ <element name="keyword">
861
+ <zeroOrMore>
862
+ <choice>
863
+ <ref name="PureTextElement"/>
864
+ <ref name="index"/>
865
+ </choice>
866
+ </zeroOrMore>
867
+ </element>
868
+ </define>
869
+ <define name="strike">
870
+ <element name="strike">
871
+ <zeroOrMore>
872
+ <choice>
873
+ <ref name="PureTextElement"/>
874
+ <ref name="index"/>
875
+ </choice>
876
+ </zeroOrMore>
877
+ </element>
878
+ </define>
879
+ <define name="underline">
880
+ <element name="underline">
881
+ <zeroOrMore>
882
+ <choice>
883
+ <ref name="PureTextElement"/>
884
+ <ref name="index"/>
885
+ </choice>
886
+ </zeroOrMore>
887
+ </element>
888
+ </define>
889
+ <define name="smallcap">
890
+ <element name="smallcap">
891
+ <zeroOrMore>
892
+ <choice>
893
+ <ref name="PureTextElement"/>
894
+ <ref name="index"/>
895
+ </choice>
896
+ </zeroOrMore>
897
+ </element>
898
+ </define>
899
+ <define name="pagebreak">
900
+ <element name="pagebreak">
901
+ <optional>
902
+ <attribute name="orientation">
903
+ <choice>
904
+ <value>landscape</value>
905
+ <value>portrait</value>
906
+ </choice>
907
+ </attribute>
908
+ </optional>
909
+ </element>
910
+ </define>
911
+ </include>
912
+ <!-- end overrides -->
913
+ <define name="docsubtype">
914
+ <element name="subdoctype">
915
+ <ref name="DocumentSubtype"/>
916
+ </element>
917
+ </define>
918
+ <define name="DocumentSubtype">
919
+ <text/>
920
+ </define>
921
+ <define name="colgroup">
922
+ <element name="colgroup">
923
+ <oneOrMore>
924
+ <ref name="col"/>
925
+ </oneOrMore>
926
+ </element>
927
+ </define>
928
+ <define name="col">
929
+ <element name="col">
930
+ <attribute name="width"/>
931
+ </element>
932
+ </define>
933
+ <define name="BibItemType" combine="choice">
934
+ <value>internal</value>
935
+ </define>
936
+ <define name="TextElement" combine="choice">
937
+ <choice>
938
+ <ref name="concept"/>
939
+ <ref name="add"/>
940
+ <ref name="del"/>
941
+ </choice>
942
+ </define>
943
+ <define name="add">
944
+ <element name="add">
945
+ <choice>
946
+ <ref name="PureTextElement"/>
947
+ <ref name="eref"/>
948
+ <ref name="stem"/>
949
+ <ref name="keyword"/>
950
+ <ref name="xref"/>
951
+ <ref name="hyperlink"/>
952
+ </choice>
953
+ </element>
954
+ </define>
955
+ <define name="del">
956
+ <element name="del">
957
+ <choice>
958
+ <ref name="PureTextElement"/>
959
+ <ref name="eref"/>
960
+ <ref name="stem"/>
961
+ <ref name="keyword"/>
962
+ <ref name="xref"/>
963
+ <ref name="hyperlink"/>
964
+ </choice>
965
+ </element>
966
+ </define>
967
+ <define name="concept">
968
+ <element name="concept">
969
+ <optional>
970
+ <attribute name="ital">
971
+ <data type="boolean"/>
972
+ </attribute>
973
+ </optional>
974
+ <optional>
975
+ <attribute name="ref">
976
+ <data type="boolean"/>
977
+ </attribute>
978
+ </optional>
979
+ <optional>
980
+ <element name="refterm">
981
+ <zeroOrMore>
982
+ <choice>
983
+ <ref name="PureTextElement"/>
984
+ <ref name="stem"/>
985
+ </choice>
986
+ </zeroOrMore>
987
+ </element>
988
+ </optional>
989
+ <optional>
990
+ <element name="renderterm">
991
+ <zeroOrMore>
992
+ <choice>
993
+ <ref name="PureTextElement"/>
994
+ <ref name="stem"/>
995
+ </choice>
996
+ </zeroOrMore>
997
+ </element>
998
+ </optional>
999
+ <choice>
1000
+ <ref name="eref"/>
1001
+ <ref name="xref"/>
1002
+ <ref name="termref"/>
1003
+ </choice>
1004
+ </element>
1005
+ </define>
1006
+ <define name="BasicBlock" combine="choice">
1007
+ <choice>
1008
+ <ref name="requirement"/>
1009
+ <ref name="recommendation"/>
1010
+ <ref name="permission"/>
1011
+ <ref name="imagemap"/>
1012
+ <ref name="svgmap"/>
1013
+ <ref name="inputform"/>
1014
+ </choice>
1015
+ </define>
1016
+ <define name="inputform">
1017
+ <element name="form">
1018
+ <attribute name="id">
1019
+ <data type="ID"/>
1020
+ </attribute>
1021
+ <attribute name="name"/>
1022
+ <attribute name="action"/>
1023
+ <optional>
1024
+ <attribute name="class"/>
1025
+ </optional>
1026
+ <zeroOrMore>
1027
+ <choice>
1028
+ <ref name="TextElement"/>
1029
+ <ref name="FormInput"/>
1030
+ </choice>
1031
+ </zeroOrMore>
1032
+ </element>
1033
+ </define>
1034
+ <define name="FormInput">
1035
+ <choice>
1036
+ <ref name="input"/>
1037
+ <ref name="formlabel"/>
1038
+ <ref name="select"/>
1039
+ <ref name="textarea"/>
1040
+ </choice>
1041
+ </define>
1042
+ <define name="InputType">
1043
+ <choice>
1044
+ <value>button</value>
1045
+ <value>checkbox</value>
1046
+ <value>date</value>
1047
+ <value>file</value>
1048
+ <value>password</value>
1049
+ <value>radio</value>
1050
+ <value>submit</value>
1051
+ <value>text</value>
1052
+ </choice>
1053
+ </define>
1054
+ <define name="input">
1055
+ <element name="input">
1056
+ <attribute name="type">
1057
+ <ref name="InputType"/>
1058
+ </attribute>
1059
+ <optional>
1060
+ <attribute name="checked">
1061
+ <data type="boolean"/>
1062
+ </attribute>
1063
+ </optional>
1064
+ <optional>
1065
+ <attribute name="disabled">
1066
+ <data type="boolean"/>
1067
+ </attribute>
1068
+ </optional>
1069
+ <optional>
1070
+ <attribute name="readonly">
1071
+ <data type="boolean"/>
1072
+ </attribute>
1073
+ </optional>
1074
+ <optional>
1075
+ <attribute name="maxlength">
1076
+ <data type="int"/>
1077
+ </attribute>
1078
+ </optional>
1079
+ <optional>
1080
+ <attribute name="minlength">
1081
+ <data type="int"/>
1082
+ </attribute>
1083
+ </optional>
1084
+ <optional>
1085
+ <attribute name="name"/>
1086
+ </optional>
1087
+ <optional>
1088
+ <attribute name="value"/>
1089
+ </optional>
1090
+ <optional>
1091
+ <attribute name="id">
1092
+ <data type="ID"/>
1093
+ </attribute>
1094
+ </optional>
1095
+ </element>
1096
+ </define>
1097
+ <define name="formlabel">
1098
+ <element name="label">
1099
+ <attribute name="for">
1100
+ <data type="IDREF"/>
1101
+ </attribute>
1102
+ <zeroOrMore>
1103
+ <ref name="PureTextElement"/>
1104
+ </zeroOrMore>
1105
+ </element>
1106
+ </define>
1107
+ <define name="select">
1108
+ <element name="select">
1109
+ <optional>
1110
+ <attribute name="name"/>
1111
+ </optional>
1112
+ <optional>
1113
+ <attribute name="value"/>
1114
+ </optional>
1115
+ <optional>
1116
+ <attribute name="id">
1117
+ <data type="ID"/>
1118
+ </attribute>
1119
+ </optional>
1120
+ <optional>
1121
+ <attribute name="disabled">
1122
+ <data type="boolean"/>
1123
+ </attribute>
1124
+ </optional>
1125
+ <optional>
1126
+ <attribute name="multiple">
1127
+ <data type="boolean"/>
1128
+ </attribute>
1129
+ </optional>
1130
+ <optional>
1131
+ <attribute name="size">
1132
+ <data type="int"/>
1133
+ </attribute>
1134
+ </optional>
1135
+ <oneOrMore>
1136
+ <ref name="option"/>
1137
+ </oneOrMore>
1138
+ </element>
1139
+ </define>
1140
+ <define name="option">
1141
+ <element name="option">
1142
+ <optional>
1143
+ <attribute name="disabled">
1144
+ <data type="boolean"/>
1145
+ </attribute>
1146
+ </optional>
1147
+ <optional>
1148
+ <attribute name="value"/>
1149
+ </optional>
1150
+ <zeroOrMore>
1151
+ <ref name="PureTextElement"/>
1152
+ </zeroOrMore>
1153
+ </element>
1154
+ </define>
1155
+ <define name="textarea">
1156
+ <element name="textarea">
1157
+ <optional>
1158
+ <attribute name="name"/>
1159
+ </optional>
1160
+ <optional>
1161
+ <attribute name="value"/>
1162
+ </optional>
1163
+ <optional>
1164
+ <attribute name="id">
1165
+ <data type="ID"/>
1166
+ </attribute>
1167
+ </optional>
1168
+ <optional>
1169
+ <attribute name="rows">
1170
+ <data type="int"/>
1171
+ </attribute>
1172
+ </optional>
1173
+ <optional>
1174
+ <attribute name="cols">
1175
+ <data type="int"/>
1176
+ </attribute>
1177
+ </optional>
1178
+ </element>
1179
+ </define>
1180
+ <define name="bibliography">
1181
+ <element name="bibliography">
1182
+ <oneOrMore>
1183
+ <choice>
1184
+ <ref name="references"/>
1185
+ <ref name="reference-clause"/>
1186
+ </choice>
1187
+ </oneOrMore>
1188
+ </element>
1189
+ </define>
1190
+ <define name="reference-clause">
1191
+ <element name="clause">
1192
+ <optional>
1193
+ <attribute name="id">
1194
+ <data type="ID"/>
1195
+ </attribute>
1196
+ </optional>
1197
+ <optional>
1198
+ <attribute name="language"/>
1199
+ </optional>
1200
+ <optional>
1201
+ <attribute name="script"/>
1202
+ </optional>
1203
+ <optional>
1204
+ <attribute name="inline-header">
1205
+ <data type="boolean"/>
1206
+ </attribute>
1207
+ </optional>
1208
+ <optional>
1209
+ <attribute name="number"/>
1210
+ </optional>
1211
+ <optional>
1212
+ <attribute name="obligation">
1213
+ <choice>
1214
+ <value>normative</value>
1215
+ <value>informative</value>
1216
+ </choice>
1217
+ </attribute>
1218
+ </optional>
1219
+ <optional>
1220
+ <ref name="section-title"/>
1221
+ </optional>
1222
+ <zeroOrMore>
1223
+ <ref name="BasicBlock"/>
1224
+ </zeroOrMore>
1225
+ <zeroOrMore>
1226
+ <ref name="note"/>
1227
+ </zeroOrMore>
1228
+ <choice>
1229
+ <oneOrMore>
1230
+ <ref name="reference-clause"/>
1231
+ </oneOrMore>
1232
+ <zeroOrMore>
1233
+ <ref name="references"/>
1234
+ </zeroOrMore>
1235
+ </choice>
1236
+ </element>
1237
+ </define>
1238
+ <define name="editorialgroup">
1239
+ <element name="editorialgroup">
1240
+ <oneOrMore>
1241
+ <ref name="technical-committee"/>
1242
+ </oneOrMore>
1243
+ </element>
1244
+ </define>
1245
+ <define name="technical-committee">
1246
+ <element name="technical-committee">
1247
+ <ref name="IsoWorkgroup"/>
1248
+ </element>
1249
+ </define>
1250
+ <define name="IsoWorkgroup">
1251
+ <optional>
1252
+ <attribute name="number"/>
1253
+ </optional>
1254
+ <optional>
1255
+ <attribute name="type"/>
1256
+ </optional>
1257
+ <optional>
1258
+ <attribute name="identifier"/>
1259
+ </optional>
1260
+ <optional>
1261
+ <attribute name="prefix"/>
1262
+ </optional>
1263
+ <text/>
1264
+ </define>
1265
+ <define name="ics">
1266
+ <element name="ics">
1267
+ <element name="code">
1268
+ <text/>
1269
+ </element>
1270
+ <optional>
1271
+ <element name="text">
1272
+ <text/>
1273
+ </element>
1274
+ </optional>
1275
+ </element>
1276
+ </define>
1277
+ <define name="standard-document">
1278
+ <element name="standard-document">
1279
+ <attribute name="version"/>
1280
+ <attribute name="type">
1281
+ <choice>
1282
+ <value>semantic</value>
1283
+ <value>presentation</value>
1284
+ </choice>
1285
+ </attribute>
1286
+ <ref name="bibdata"/>
1287
+ <optional>
1288
+ <ref name="misccontainer"/>
1289
+ </optional>
1290
+ <optional>
1291
+ <ref name="boilerplate"/>
1292
+ </optional>
1293
+ <optional>
1294
+ <ref name="preface"/>
1295
+ </optional>
1296
+ <ref name="sections"/>
1297
+ <zeroOrMore>
1298
+ <ref name="annex"/>
1299
+ </zeroOrMore>
1300
+ <optional>
1301
+ <ref name="bibliography"/>
1302
+ </optional>
1303
+ <zeroOrMore>
1304
+ <ref name="indexsect"/>
1305
+ </zeroOrMore>
1306
+ </element>
1307
+ </define>
1308
+ <define name="misccontainer">
1309
+ <element name="misc-container">
1310
+ <oneOrMore>
1311
+ <ref name="AnyElement"/>
1312
+ </oneOrMore>
1313
+ </element>
1314
+ </define>
1315
+ <define name="preface">
1316
+ <element name="preface">
1317
+ <oneOrMore>
1318
+ <choice>
1319
+ <ref name="content"/>
1320
+ <ref name="abstract"/>
1321
+ <ref name="foreword"/>
1322
+ <ref name="introduction"/>
1323
+ <ref name="acknowledgements"/>
1324
+ </choice>
1325
+ </oneOrMore>
1326
+ </element>
1327
+ </define>
1328
+ <define name="foreword">
1329
+ <element name="foreword">
1330
+ <ref name="Content-Section"/>
1331
+ </element>
1332
+ </define>
1333
+ <define name="introduction">
1334
+ <element name="introduction">
1335
+ <ref name="Content-Section"/>
1336
+ </element>
1337
+ </define>
1338
+ <define name="indexsect">
1339
+ <element name="indexsect">
1340
+ <ref name="Content-Section"/>
1341
+ </element>
1342
+ </define>
1343
+ <define name="boilerplate">
1344
+ <element name="boilerplate">
1345
+ <optional>
1346
+ <ref name="copyright-statement"/>
1347
+ </optional>
1348
+ <optional>
1349
+ <ref name="license-statement"/>
1350
+ </optional>
1351
+ <optional>
1352
+ <ref name="legal-statement"/>
1353
+ </optional>
1354
+ <optional>
1355
+ <ref name="feedback-statement"/>
1356
+ </optional>
1357
+ </element>
1358
+ </define>
1359
+ <define name="copyright-statement">
1360
+ <element name="copyright-statement">
1361
+ <ref name="Content-Section"/>
1362
+ </element>
1363
+ </define>
1364
+ <define name="license-statement">
1365
+ <element name="license-statement">
1366
+ <ref name="Content-Section"/>
1367
+ </element>
1368
+ </define>
1369
+ <define name="legal-statement">
1370
+ <element name="legal-statement">
1371
+ <ref name="Content-Section"/>
1372
+ </element>
1373
+ </define>
1374
+ <define name="feedback-statement">
1375
+ <element name="feedback-statement">
1376
+ <ref name="Content-Section"/>
1377
+ </element>
1378
+ </define>
1379
+ <define name="definitions">
1380
+ <element name="definitions">
1381
+ <optional>
1382
+ <attribute name="id">
1383
+ <data type="ID"/>
1384
+ </attribute>
1385
+ </optional>
1386
+ <optional>
1387
+ <attribute name="language"/>
1388
+ </optional>
1389
+ <optional>
1390
+ <attribute name="script"/>
1391
+ </optional>
1392
+ <optional>
1393
+ <attribute name="type"/>
1394
+ </optional>
1395
+ <optional>
1396
+ <attribute name="obligation">
1397
+ <choice>
1398
+ <value>normative</value>
1399
+ <value>informative</value>
1400
+ </choice>
1401
+ </attribute>
1402
+ </optional>
1403
+ <optional>
1404
+ <ref name="section-title"/>
1405
+ </optional>
1406
+ <oneOrMore>
1407
+ <zeroOrMore>
1408
+ <ref name="BasicBlock"/>
1409
+ </zeroOrMore>
1410
+ <zeroOrMore>
1411
+ <ref name="note"/>
1412
+ </zeroOrMore>
1413
+ <ref name="dl"/>
1414
+ </oneOrMore>
1415
+ </element>
1416
+ </define>
1417
+ <define name="content">
1418
+ <element name="clause">
1419
+ <ref name="Content-Section"/>
1420
+ </element>
1421
+ </define>
1422
+ <define name="abstract">
1423
+ <element name="abstract">
1424
+ <ref name="Content-Section"/>
1425
+ </element>
1426
+ </define>
1427
+ <define name="acknowledgements">
1428
+ <element name="acknowledgements">
1429
+ <ref name="Content-Section"/>
1430
+ </element>
1431
+ </define>
1432
+ <define name="content-subsection">
1433
+ <element name="clause">
1434
+ <ref name="Content-Section"/>
1435
+ </element>
1436
+ </define>
1437
+ <define name="Content-Section">
1438
+ <optional>
1439
+ <attribute name="id">
1440
+ <data type="ID"/>
1441
+ </attribute>
1442
+ </optional>
1443
+ <optional>
1444
+ <attribute name="language"/>
1445
+ </optional>
1446
+ <optional>
1447
+ <attribute name="script"/>
1448
+ </optional>
1449
+ <optional>
1450
+ <attribute name="inline-header">
1451
+ <data type="boolean"/>
1452
+ </attribute>
1453
+ </optional>
1454
+ <optional>
1455
+ <attribute name="obligation">
1456
+ <choice>
1457
+ <value>normative</value>
1458
+ <value>informative</value>
1459
+ </choice>
1460
+ </attribute>
1461
+ </optional>
1462
+ <optional>
1463
+ <attribute name="number"/>
1464
+ </optional>
1465
+ <optional>
1466
+ <attribute name="type"/>
1467
+ </optional>
1468
+ <optional>
1469
+ <ref name="section-title"/>
1470
+ </optional>
1471
+ <group>
1472
+ <group>
1473
+ <zeroOrMore>
1474
+ <ref name="BasicBlock"/>
1475
+ </zeroOrMore>
1476
+ <zeroOrMore>
1477
+ <ref name="note"/>
1478
+ </zeroOrMore>
1479
+ </group>
1480
+ <zeroOrMore>
1481
+ <ref name="content-subsection"/>
1482
+ </zeroOrMore>
1483
+ </group>
1484
+ </define>
1485
+ <define name="clause">
1486
+ <element name="clause">
1487
+ <ref name="Clause-Section"/>
1488
+ </element>
1489
+ </define>
1490
+ <define name="Clause-Section">
1491
+ <optional>
1492
+ <attribute name="id">
1493
+ <data type="ID"/>
1494
+ </attribute>
1495
+ </optional>
1496
+ <optional>
1497
+ <attribute name="language"/>
1498
+ </optional>
1499
+ <optional>
1500
+ <attribute name="script"/>
1501
+ </optional>
1502
+ <optional>
1503
+ <attribute name="inline-header">
1504
+ <data type="boolean"/>
1505
+ </attribute>
1506
+ </optional>
1507
+ <optional>
1508
+ <attribute name="obligation">
1509
+ <choice>
1510
+ <value>normative</value>
1511
+ <value>informative</value>
1512
+ </choice>
1513
+ </attribute>
1514
+ </optional>
1515
+ <optional>
1516
+ <attribute name="type"/>
1517
+ </optional>
1518
+ <optional>
1519
+ <attribute name="number"/>
1520
+ </optional>
1521
+ <optional>
1522
+ <ref name="section-title"/>
1523
+ </optional>
1524
+ <choice>
1525
+ <choice>
1526
+ <group>
1527
+ <oneOrMore>
1528
+ <ref name="BasicBlock"/>
1529
+ </oneOrMore>
1530
+ <zeroOrMore>
1531
+ <ref name="note"/>
1532
+ </zeroOrMore>
1533
+ </group>
1534
+ <ref name="amend"/>
1535
+ </choice>
1536
+ <oneOrMore>
1537
+ <choice>
1538
+ <ref name="clause-subsection"/>
1539
+ <ref name="terms"/>
1540
+ <ref name="definitions"/>
1541
+ </choice>
1542
+ </oneOrMore>
1543
+ </choice>
1544
+ </define>
1545
+ <define name="Annex-Section">
1546
+ <optional>
1547
+ <attribute name="id">
1548
+ <data type="ID"/>
1549
+ </attribute>
1550
+ </optional>
1551
+ <optional>
1552
+ <attribute name="language"/>
1553
+ </optional>
1554
+ <optional>
1555
+ <attribute name="script"/>
1556
+ </optional>
1557
+ <optional>
1558
+ <attribute name="inline-header">
1559
+ <data type="boolean"/>
1560
+ </attribute>
1561
+ </optional>
1562
+ <optional>
1563
+ <attribute name="obligation">
1564
+ <choice>
1565
+ <value>normative</value>
1566
+ <value>informative</value>
1567
+ </choice>
1568
+ </attribute>
1569
+ </optional>
1570
+ <optional>
1571
+ <ref name="section-title"/>
1572
+ </optional>
1573
+ <group>
1574
+ <group>
1575
+ <zeroOrMore>
1576
+ <ref name="BasicBlock"/>
1577
+ </zeroOrMore>
1578
+ <zeroOrMore>
1579
+ <ref name="note"/>
1580
+ </zeroOrMore>
1581
+ </group>
1582
+ <zeroOrMore>
1583
+ <choice>
1584
+ <ref name="annex-subsection"/>
1585
+ <ref name="terms"/>
1586
+ <ref name="definitions"/>
1587
+ <ref name="references"/>
1588
+ </choice>
1589
+ </zeroOrMore>
1590
+ </group>
1591
+ </define>
1592
+ <define name="clause-subsection">
1593
+ <element name="clause">
1594
+ <ref name="Clause-Section"/>
1595
+ </element>
1596
+ </define>
1597
+ <define name="annex-subsection">
1598
+ <element name="clause">
1599
+ <ref name="Annex-Section"/>
1600
+ </element>
1601
+ </define>
1602
+ <define name="annex">
1603
+ <element name="annex">
1604
+ <ref name="Annex-Section"/>
1605
+ </element>
1606
+ </define>
1607
+ <define name="terms">
1608
+ <element name="terms">
1609
+ <optional>
1610
+ <attribute name="id">
1611
+ <data type="ID"/>
1612
+ </attribute>
1613
+ </optional>
1614
+ <optional>
1615
+ <attribute name="language"/>
1616
+ </optional>
1617
+ <optional>
1618
+ <attribute name="script"/>
1619
+ </optional>
1620
+ <optional>
1621
+ <attribute name="type"/>
1622
+ </optional>
1623
+ <optional>
1624
+ <attribute name="number"/>
1625
+ </optional>
1626
+ <optional>
1627
+ <attribute name="obligation">
1628
+ <choice>
1629
+ <value>normative</value>
1630
+ <value>informative</value>
1631
+ </choice>
1632
+ </attribute>
1633
+ </optional>
1634
+ <optional>
1635
+ <ref name="section-title"/>
1636
+ </optional>
1637
+ <zeroOrMore>
1638
+ <ref name="BasicBlock"/>
1639
+ </zeroOrMore>
1640
+ <zeroOrMore>
1641
+ <ref name="note"/>
1642
+ </zeroOrMore>
1643
+ <choice>
1644
+ <oneOrMore>
1645
+ <ref name="term"/>
1646
+ </oneOrMore>
1647
+ <group>
1648
+ <zeroOrMore>
1649
+ <ref name="terms"/>
1650
+ </zeroOrMore>
1651
+ <optional>
1652
+ <ref name="definitions"/>
1653
+ </optional>
1654
+ </group>
1655
+ </choice>
1656
+ </element>
1657
+ </define>
1658
+ <define name="term">
1659
+ <element name="term">
1660
+ <optional>
1661
+ <attribute name="id">
1662
+ <data type="ID"/>
1663
+ </attribute>
1664
+ </optional>
1665
+ <oneOrMore>
1666
+ <ref name="preferred"/>
1667
+ </oneOrMore>
1668
+ <zeroOrMore>
1669
+ <ref name="admitted"/>
1670
+ </zeroOrMore>
1671
+ <zeroOrMore>
1672
+ <ref name="related"/>
1673
+ </zeroOrMore>
1674
+ <zeroOrMore>
1675
+ <ref name="deprecates"/>
1676
+ </zeroOrMore>
1677
+ <optional>
1678
+ <ref name="termdomain"/>
1679
+ </optional>
1680
+ <zeroOrMore>
1681
+ <ref name="termgrammar"/>
1682
+ </zeroOrMore>
1683
+ <ref name="definition"/>
1684
+ <zeroOrMore>
1685
+ <ref name="termnote"/>
1686
+ </zeroOrMore>
1687
+ <zeroOrMore>
1688
+ <ref name="termexample"/>
1689
+ </zeroOrMore>
1690
+ <zeroOrMore>
1691
+ <ref name="termsource"/>
1692
+ </zeroOrMore>
1693
+ </element>
1694
+ </define>
1695
+ <define name="preferred">
1696
+ <element name="preferred">
1697
+ <oneOrMore>
1698
+ <ref name="TextElement"/>
1699
+ </oneOrMore>
1700
+ </element>
1701
+ </define>
1702
+ <define name="admitted">
1703
+ <element name="admitted">
1704
+ <oneOrMore>
1705
+ <ref name="TextElement"/>
1706
+ </oneOrMore>
1707
+ </element>
1708
+ </define>
1709
+ <define name="related">
1710
+ <element name="related">
1711
+ <optional>
1712
+ <attribute name="type">
1713
+ <choice>
1714
+ <value>compare</value>
1715
+ <value>contrast</value>
1716
+ <value>see</value>
1717
+ </choice>
1718
+ </attribute>
1719
+ </optional>
1720
+ <oneOrMore>
1721
+ <ref name="TextElement"/>
1722
+ </oneOrMore>
1723
+ </element>
1724
+ </define>
1725
+ <define name="deprecates">
1726
+ <element name="deprecates">
1727
+ <oneOrMore>
1728
+ <ref name="TextElement"/>
1729
+ </oneOrMore>
1730
+ </element>
1731
+ </define>
1732
+ <define name="termdomain">
1733
+ <element name="domain">
1734
+ <oneOrMore>
1735
+ <ref name="TextElement"/>
1736
+ </oneOrMore>
1737
+ </element>
1738
+ </define>
1739
+ <define name="termgrammar">
1740
+ <element name="grammar">
1741
+ <oneOrMore>
1742
+ <ref name="TextElement"/>
1743
+ </oneOrMore>
1744
+ </element>
1745
+ </define>
1746
+ <define name="definition">
1747
+ <element name="definition">
1748
+ <oneOrMore>
1749
+ <choice>
1750
+ <ref name="paragraph"/>
1751
+ <ref name="figure"/>
1752
+ <ref name="formula"/>
1753
+ </choice>
1754
+ </oneOrMore>
1755
+ </element>
1756
+ </define>
1757
+ <define name="termnote">
1758
+ <element name="termnote">
1759
+ <attribute name="id">
1760
+ <data type="ID"/>
1761
+ </attribute>
1762
+ <optional>
1763
+ <attribute name="unnumbered">
1764
+ <data type="boolean"/>
1765
+ </attribute>
1766
+ </optional>
1767
+ <optional>
1768
+ <attribute name="number"/>
1769
+ </optional>
1770
+ <optional>
1771
+ <attribute name="subsequence"/>
1772
+ </optional>
1773
+ <optional>
1774
+ <attribute name="keep-with-next">
1775
+ <data type="boolean"/>
1776
+ </attribute>
1777
+ </optional>
1778
+ <optional>
1779
+ <attribute name="keep-lines-together">
1780
+ <data type="boolean"/>
1781
+ </attribute>
1782
+ </optional>
1783
+ <oneOrMore>
1784
+ <choice>
1785
+ <ref name="paragraph"/>
1786
+ <ref name="ul"/>
1787
+ <ref name="ol"/>
1788
+ <ref name="dl"/>
1789
+ <ref name="formula"/>
1790
+ </choice>
1791
+ </oneOrMore>
1792
+ </element>
1793
+ </define>
1794
+ <define name="termexample">
1795
+ <element name="termexample">
1796
+ <attribute name="id">
1797
+ <data type="ID"/>
1798
+ </attribute>
1799
+ <ref name="paragraph"/>
1800
+ </element>
1801
+ </define>
1802
+ <define name="termsource">
1803
+ <element name="termsource">
1804
+ <attribute name="status">
1805
+ <choice>
1806
+ <value>identical</value>
1807
+ <value>modified</value>
1808
+ </choice>
1809
+ </attribute>
1810
+ <ref name="origin"/>
1811
+ <optional>
1812
+ <ref name="modification"/>
1813
+ </optional>
1814
+ </element>
1815
+ </define>
1816
+ <define name="origin">
1817
+ <element name="origin">
1818
+ <choice>
1819
+ <ref name="erefType"/>
1820
+ <ref name="termref"/>
1821
+ </choice>
1822
+ </element>
1823
+ </define>
1824
+ <define name="modification">
1825
+ <element name="modification">
1826
+ <ref name="paragraph"/>
1827
+ </element>
1828
+ </define>
1829
+ <define name="termref">
1830
+ <element name="termref">
1831
+ <attribute name="base"/>
1832
+ <attribute name="target"/>
1833
+ <optional>
1834
+ <text/>
1835
+ </optional>
1836
+ </element>
1837
+ </define>
1838
+ <define name="structuredidentifier">
1839
+ <element name="structuredidentifier">
1840
+ <optional>
1841
+ <attribute name="type"/>
1842
+ </optional>
1843
+ <oneOrMore>
1844
+ <element name="agency">
1845
+ <text/>
1846
+ </element>
1847
+ </oneOrMore>
1848
+ <optional>
1849
+ <element name="class">
1850
+ <text/>
1851
+ </element>
1852
+ </optional>
1853
+ <element name="docnumber">
1854
+ <text/>
1855
+ </element>
1856
+ <optional>
1857
+ <element name="partnumber">
1858
+ <text/>
1859
+ </element>
1860
+ </optional>
1861
+ <optional>
1862
+ <element name="edition">
1863
+ <text/>
1864
+ </element>
1865
+ </optional>
1866
+ <optional>
1867
+ <element name="version">
1868
+ <text/>
1869
+ </element>
1870
+ </optional>
1871
+ <optional>
1872
+ <element name="supplementtype">
1873
+ <text/>
1874
+ </element>
1875
+ </optional>
1876
+ <optional>
1877
+ <element name="supplementnumber">
1878
+ <text/>
1879
+ </element>
1880
+ </optional>
1881
+ <optional>
1882
+ <element name="language">
1883
+ <text/>
1884
+ </element>
1885
+ </optional>
1886
+ <optional>
1887
+ <element name="year">
1888
+ <text/>
1889
+ </element>
1890
+ </optional>
1891
+ </element>
1892
+ </define>
1893
+ <define name="term-clause">
1894
+ <element name="clause">
1895
+ <optional>
1896
+ <attribute name="id">
1897
+ <data type="ID"/>
1898
+ </attribute>
1899
+ </optional>
1900
+ <optional>
1901
+ <attribute name="language"/>
1902
+ </optional>
1903
+ <optional>
1904
+ <attribute name="script"/>
1905
+ </optional>
1906
+ <optional>
1907
+ <attribute name="inline-header">
1908
+ <data type="boolean"/>
1909
+ </attribute>
1910
+ </optional>
1911
+ <optional>
1912
+ <attribute name="obligation">
1913
+ <choice>
1914
+ <value>normative</value>
1915
+ <value>informative</value>
1916
+ </choice>
1917
+ </attribute>
1918
+ </optional>
1919
+ <optional>
1920
+ <ref name="section-title"/>
1921
+ </optional>
1922
+ <zeroOrMore>
1923
+ <ref name="BasicBlock"/>
1924
+ </zeroOrMore>
1925
+ <zeroOrMore>
1926
+ <ref name="note"/>
1927
+ </zeroOrMore>
1928
+ <zeroOrMore>
1929
+ <choice>
1930
+ <ref name="term-clause"/>
1931
+ <ref name="terms"/>
1932
+ <ref name="definitions"/>
1933
+ </choice>
1934
+ </zeroOrMore>
1935
+ </element>
1936
+ </define>
1937
+ <define name="termdocsource">
1938
+ <element name="termdocsource">
1939
+ <ref name="CitationType"/>
1940
+ </element>
1941
+ </define>
1942
+ <define name="amend">
1943
+ <element name="amend">
1944
+ <optional>
1945
+ <attribute name="id">
1946
+ <data type="ID"/>
1947
+ </attribute>
1948
+ </optional>
1949
+ <attribute name="change">
1950
+ <choice>
1951
+ <value>add</value>
1952
+ <value>modify</value>
1953
+ <value>delete</value>
1954
+ <value>replace</value>
1955
+ </choice>
1956
+ </attribute>
1957
+ <optional>
1958
+ <attribute name="path"/>
1959
+ </optional>
1960
+ <optional>
1961
+ <attribute name="path_end"/>
1962
+ </optional>
1963
+ <optional>
1964
+ <attribute name="title"/>
1965
+ </optional>
1966
+ <optional>
1967
+ <element name="location">
1968
+ <zeroOrMore>
1969
+ <ref name="locality"/>
1970
+ </zeroOrMore>
1971
+ </element>
1972
+ </optional>
1973
+ <zeroOrMore>
1974
+ <ref name="autonumber"/>
1975
+ </zeroOrMore>
1976
+ <optional>
1977
+ <element name="description">
1978
+ <zeroOrMore>
1979
+ <ref name="BasicBlock"/>
1980
+ </zeroOrMore>
1981
+ </element>
1982
+ </optional>
1983
+ <optional>
1984
+ <element name="newcontent">
1985
+ <optional>
1986
+ <attribute name="id">
1987
+ <data type="ID"/>
1988
+ </attribute>
1989
+ </optional>
1990
+ <zeroOrMore>
1991
+ <ref name="BasicBlock"/>
1992
+ </zeroOrMore>
1993
+ </element>
1994
+ </optional>
1995
+ <optional>
1996
+ <element name="description">
1997
+ <zeroOrMore>
1998
+ <ref name="BasicBlock"/>
1999
+ </zeroOrMore>
2000
+ </element>
2001
+ </optional>
2002
+ </element>
2003
+ </define>
2004
+ <define name="autonumber">
2005
+ <element name="autonumber">
2006
+ <attribute name="type">
2007
+ <choice>
2008
+ <value>requirement</value>
2009
+ <value>recommendation</value>
2010
+ <value>permission</value>
2011
+ <value>table</value>
2012
+ <value>figure</value>
2013
+ <value>admonition</value>
2014
+ <value>formula</value>
2015
+ <value>sourcecode</value>
2016
+ <value>example</value>
2017
+ <value>note</value>
2018
+ </choice>
2019
+ </attribute>
2020
+ <text/>
2021
+ </element>
2022
+ </define>
2023
+ <define name="imagemap">
2024
+ <element name="imagemap">
2025
+ <ref name="figure"/>
2026
+ <zeroOrMore>
2027
+ <element name="area">
2028
+ <attribute name="type">
2029
+ <choice>
2030
+ <value>rect</value>
2031
+ <value>circle</value>
2032
+ <value>ellipse</value>
2033
+ <value>poly</value>
2034
+ </choice>
2035
+ </attribute>
2036
+ <choice>
2037
+ <ref name="xref"/>
2038
+ <ref name="hyperlink"/>
2039
+ <ref name="eref"/>
2040
+ </choice>
2041
+ <oneOrMore>
2042
+ <element name="coords">
2043
+ <attribute name="x">
2044
+ <data type="float"/>
2045
+ </attribute>
2046
+ <attribute name="y">
2047
+ <data type="float"/>
2048
+ </attribute>
2049
+ </element>
2050
+ </oneOrMore>
2051
+ <optional>
2052
+ <element name="radius">
2053
+ <attribute name="x">
2054
+ <data type="float"/>
2055
+ </attribute>
2056
+ <optional>
2057
+ <attribute name="y">
2058
+ <data type="float"/>
2059
+ </attribute>
2060
+ </optional>
2061
+ </element>
2062
+ </optional>
2063
+ </element>
2064
+ </zeroOrMore>
2065
+ </element>
2066
+ </define>
2067
+ <define name="svgmap">
2068
+ <element name="svgmap">
2069
+ <ref name="figure"/>
2070
+ <zeroOrMore>
2071
+ <element name="target">
2072
+ <attribute name="href">
2073
+ <data type="anyURI"/>
2074
+ </attribute>
2075
+ <choice>
2076
+ <ref name="xref"/>
2077
+ <ref name="hyperlink"/>
2078
+ <ref name="eref"/>
2079
+ </choice>
2080
+ </element>
2081
+ </zeroOrMore>
2082
+ </element>
2083
+ </define>
2084
+ <define name="ul_li">
2085
+ <element name="li">
2086
+ <optional>
2087
+ <attribute name="id">
2088
+ <data type="ID"/>
2089
+ </attribute>
2090
+ </optional>
2091
+ <optional>
2092
+ <attribute name="uncheckedcheckbox">
2093
+ <data type="boolean"/>
2094
+ </attribute>
2095
+ </optional>
2096
+ <optional>
2097
+ <attribute name="checkedcheckbox">
2098
+ <data type="boolean"/>
2099
+ </attribute>
2100
+ </optional>
2101
+ <oneOrMore>
2102
+ <ref name="BasicBlock"/>
2103
+ </oneOrMore>
2104
+ </element>
2105
+ </define>
2106
+ </grammar>