relaton-oasis 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2634 @@
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:a="http://relaxng.org/ns/compatibility/annotations/1.0" 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="index">
36
+ <element name="index">
37
+ <optional>
38
+ <attribute name="to">
39
+ <data type="IDREF"/>
40
+ </attribute>
41
+ </optional>
42
+ <element name="primary">
43
+ <oneOrMore>
44
+ <choice>
45
+ <ref name="PureTextElement"/>
46
+ <ref name="stem"/>
47
+ </choice>
48
+ </oneOrMore>
49
+ </element>
50
+ <optional>
51
+ <element name="secondary">
52
+ <oneOrMore>
53
+ <choice>
54
+ <ref name="PureTextElement"/>
55
+ <ref name="stem"/>
56
+ </choice>
57
+ </oneOrMore>
58
+ </element>
59
+ </optional>
60
+ <optional>
61
+ <element name="tertiary">
62
+ <oneOrMore>
63
+ <choice>
64
+ <ref name="PureTextElement"/>
65
+ <ref name="stem"/>
66
+ </choice>
67
+ </oneOrMore>
68
+ </element>
69
+ </optional>
70
+ </element>
71
+ </define>
72
+ <define name="bibitem">
73
+ <element name="bibitem">
74
+ <attribute name="id">
75
+ <data type="ID"/>
76
+ </attribute>
77
+ <optional>
78
+ <attribute name="hidden">
79
+ <data type="boolean"/>
80
+ </attribute>
81
+ </optional>
82
+ <ref name="BibliographicItem"/>
83
+ </element>
84
+ </define>
85
+ <define name="section-title">
86
+ <element name="title">
87
+ <zeroOrMore>
88
+ <ref name="TextElement"/>
89
+ </zeroOrMore>
90
+ </element>
91
+ <zeroOrMore>
92
+ <element name="variant-title">
93
+ <ref name="TypedTitleString"/>
94
+ </element>
95
+ </zeroOrMore>
96
+ </define>
97
+ <define name="hyperlink">
98
+ <element name="link">
99
+ <attribute name="target">
100
+ <data type="anyURI"/>
101
+ </attribute>
102
+ <optional>
103
+ <attribute name="type">
104
+ <ref name="ReferenceFormat"/>
105
+ </attribute>
106
+ </optional>
107
+ <optional>
108
+ <attribute name="alt"/>
109
+ </optional>
110
+ <optional>
111
+ <attribute name="update-type">
112
+ <data type="boolean"/>
113
+ </attribute>
114
+ </optional>
115
+ <oneOrMore>
116
+ <ref name="PureTextElement"/>
117
+ </oneOrMore>
118
+ </element>
119
+ </define>
120
+ <define name="xref">
121
+ <element name="xref">
122
+ <attribute name="target">
123
+ <data type="string">
124
+ <param name="pattern">\i\c*|\c+#\c+</param>
125
+ </data>
126
+ </attribute>
127
+ <optional>
128
+ <attribute name="to">
129
+ <data type="string">
130
+ <param name="pattern">\i\c*|\c+#\c+</param>
131
+ </data>
132
+ </attribute>
133
+ </optional>
134
+ <optional>
135
+ <attribute name="type">
136
+ <ref name="ReferenceFormat"/>
137
+ </attribute>
138
+ </optional>
139
+ <optional>
140
+ <attribute name="alt"/>
141
+ </optional>
142
+ <optional>
143
+ <attribute name="case">
144
+ <choice>
145
+ <value>capital</value>
146
+ <value>lowercase</value>
147
+ </choice>
148
+ </attribute>
149
+ </optional>
150
+ <optional>
151
+ <attribute name="droploc">
152
+ <data type="boolean"/>
153
+ </attribute>
154
+ </optional>
155
+ <oneOrMore>
156
+ <ref name="PureTextElement"/>
157
+ </oneOrMore>
158
+ </element>
159
+ </define>
160
+ <define name="erefType">
161
+ <optional>
162
+ <attribute name="normative">
163
+ <data type="boolean"/>
164
+ </attribute>
165
+ </optional>
166
+ <attribute name="citeas"/>
167
+ <attribute name="type">
168
+ <ref name="ReferenceFormat"/>
169
+ </attribute>
170
+ <optional>
171
+ <attribute name="alt"/>
172
+ </optional>
173
+ <optional>
174
+ <attribute name="case">
175
+ <choice>
176
+ <value>capital</value>
177
+ <value>lowercase</value>
178
+ </choice>
179
+ </attribute>
180
+ </optional>
181
+ <optional>
182
+ <attribute name="droploc">
183
+ <data type="boolean"/>
184
+ </attribute>
185
+ </optional>
186
+ <ref name="CitationType"/>
187
+ <oneOrMore>
188
+ <ref name="PureTextElement"/>
189
+ </oneOrMore>
190
+ </define>
191
+ <define name="ul">
192
+ <element name="ul">
193
+ <attribute name="id">
194
+ <data type="ID"/>
195
+ </attribute>
196
+ <optional>
197
+ <attribute name="keep-with-next">
198
+ <data type="boolean"/>
199
+ </attribute>
200
+ </optional>
201
+ <optional>
202
+ <attribute name="keep-lines-together">
203
+ <data type="boolean"/>
204
+ </attribute>
205
+ </optional>
206
+ <optional>
207
+ <attribute name="tag"/>
208
+ </optional>
209
+ <optional>
210
+ <attribute name="multilingual-rendering">
211
+ <ref name="MultilingualRenderingType"/>
212
+ </attribute>
213
+ </optional>
214
+ <oneOrMore>
215
+ <ref name="ul_li"/>
216
+ </oneOrMore>
217
+ <zeroOrMore>
218
+ <ref name="note"/>
219
+ </zeroOrMore>
220
+ </element>
221
+ </define>
222
+ <define name="ol">
223
+ <element name="ol">
224
+ <attribute name="id">
225
+ <data type="ID"/>
226
+ </attribute>
227
+ <optional>
228
+ <attribute name="keep-with-next">
229
+ <data type="boolean"/>
230
+ </attribute>
231
+ </optional>
232
+ <optional>
233
+ <attribute name="keep-lines-together">
234
+ <data type="boolean"/>
235
+ </attribute>
236
+ </optional>
237
+ <optional>
238
+ <attribute name="tag"/>
239
+ </optional>
240
+ <optional>
241
+ <attribute name="multilingual-rendering">
242
+ <ref name="MultilingualRenderingType"/>
243
+ </attribute>
244
+ </optional>
245
+ <optional>
246
+ <attribute name="type">
247
+ <choice>
248
+ <value>roman</value>
249
+ <value>alphabet</value>
250
+ <value>arabic</value>
251
+ <value>roman_upper</value>
252
+ <value>alphabet_upper</value>
253
+ </choice>
254
+ </attribute>
255
+ </optional>
256
+ <oneOrMore>
257
+ <ref name="li"/>
258
+ </oneOrMore>
259
+ <zeroOrMore>
260
+ <ref name="note"/>
261
+ </zeroOrMore>
262
+ </element>
263
+ </define>
264
+ <define name="dl">
265
+ <element name="dl">
266
+ <attribute name="id">
267
+ <data type="ID"/>
268
+ </attribute>
269
+ <optional>
270
+ <attribute name="keep-with-next">
271
+ <data type="boolean"/>
272
+ </attribute>
273
+ </optional>
274
+ <optional>
275
+ <attribute name="keep-lines-together">
276
+ <data type="boolean"/>
277
+ </attribute>
278
+ </optional>
279
+ <optional>
280
+ <attribute name="key">
281
+ <data type="boolean"/>
282
+ </attribute>
283
+ </optional>
284
+ <optional>
285
+ <attribute name="tag"/>
286
+ </optional>
287
+ <optional>
288
+ <attribute name="multilingual-rendering">
289
+ <ref name="MultilingualRenderingType"/>
290
+ </attribute>
291
+ </optional>
292
+ <oneOrMore>
293
+ <ref name="dt"/>
294
+ <ref name="dd"/>
295
+ </oneOrMore>
296
+ <zeroOrMore>
297
+ <ref name="note"/>
298
+ </zeroOrMore>
299
+ </element>
300
+ </define>
301
+ <define name="dt">
302
+ <element name="dt">
303
+ <optional>
304
+ <attribute name="id">
305
+ <data type="ID"/>
306
+ </attribute>
307
+ </optional>
308
+ <zeroOrMore>
309
+ <ref name="TextElement"/>
310
+ </zeroOrMore>
311
+ </element>
312
+ </define>
313
+ <define name="example">
314
+ <element name="example">
315
+ <attribute name="id">
316
+ <data type="ID"/>
317
+ </attribute>
318
+ <optional>
319
+ <attribute name="unnumbered">
320
+ <data type="boolean"/>
321
+ </attribute>
322
+ </optional>
323
+ <optional>
324
+ <attribute name="subsequence"/>
325
+ </optional>
326
+ <optional>
327
+ <attribute name="number"/>
328
+ </optional>
329
+ <optional>
330
+ <attribute name="keep-with-next">
331
+ <data type="boolean"/>
332
+ </attribute>
333
+ </optional>
334
+ <optional>
335
+ <attribute name="keep-lines-together">
336
+ <data type="boolean"/>
337
+ </attribute>
338
+ </optional>
339
+ <optional>
340
+ <attribute name="tag"/>
341
+ </optional>
342
+ <optional>
343
+ <attribute name="multilingual-rendering">
344
+ <ref name="MultilingualRenderingType"/>
345
+ </attribute>
346
+ </optional>
347
+ <optional>
348
+ <ref name="tname"/>
349
+ </optional>
350
+ <oneOrMore>
351
+ <choice>
352
+ <ref name="formula"/>
353
+ <ref name="ul"/>
354
+ <ref name="ol"/>
355
+ <ref name="dl"/>
356
+ <ref name="quote"/>
357
+ <ref name="sourcecode"/>
358
+ <ref name="paragraph-with-footnote"/>
359
+ <ref name="figure"/>
360
+ </choice>
361
+ </oneOrMore>
362
+ <zeroOrMore>
363
+ <ref name="note"/>
364
+ </zeroOrMore>
365
+ </element>
366
+ </define>
367
+ <define name="table">
368
+ <element name="table">
369
+ <attribute name="id">
370
+ <data type="ID"/>
371
+ </attribute>
372
+ <optional>
373
+ <attribute name="unnumbered">
374
+ <data type="boolean"/>
375
+ </attribute>
376
+ </optional>
377
+ <optional>
378
+ <attribute name="number"/>
379
+ </optional>
380
+ <optional>
381
+ <attribute name="subsequence"/>
382
+ </optional>
383
+ <optional>
384
+ <attribute name="alt"/>
385
+ </optional>
386
+ <optional>
387
+ <attribute name="summary"/>
388
+ </optional>
389
+ <optional>
390
+ <attribute name="uri">
391
+ <data type="anyURI"/>
392
+ </attribute>
393
+ </optional>
394
+ <optional>
395
+ <attribute name="keep-with-next">
396
+ <data type="boolean"/>
397
+ </attribute>
398
+ </optional>
399
+ <optional>
400
+ <attribute name="keep-lines-together">
401
+ <data type="boolean"/>
402
+ </attribute>
403
+ </optional>
404
+ <optional>
405
+ <attribute name="width"/>
406
+ </optional>
407
+ <optional>
408
+ <attribute name="tag"/>
409
+ </optional>
410
+ <optional>
411
+ <attribute name="multilingual-rendering">
412
+ <ref name="MultilingualRenderingType"/>
413
+ </attribute>
414
+ </optional>
415
+ <optional>
416
+ <ref name="colgroup"/>
417
+ </optional>
418
+ <optional>
419
+ <ref name="tname"/>
420
+ </optional>
421
+ <optional>
422
+ <ref name="thead"/>
423
+ </optional>
424
+ <ref name="tbody"/>
425
+ <optional>
426
+ <ref name="tfoot"/>
427
+ </optional>
428
+ <zeroOrMore>
429
+ <ref name="table-note"/>
430
+ </zeroOrMore>
431
+ <optional>
432
+ <ref name="dl"/>
433
+ </optional>
434
+ </element>
435
+ </define>
436
+ <define name="figure">
437
+ <element name="figure">
438
+ <attribute name="id">
439
+ <data type="ID"/>
440
+ </attribute>
441
+ <optional>
442
+ <attribute name="unnumbered">
443
+ <data type="boolean"/>
444
+ </attribute>
445
+ </optional>
446
+ <optional>
447
+ <attribute name="number"/>
448
+ </optional>
449
+ <optional>
450
+ <attribute name="subsequence"/>
451
+ </optional>
452
+ <optional>
453
+ <attribute name="keep-with-next">
454
+ <data type="boolean"/>
455
+ </attribute>
456
+ </optional>
457
+ <optional>
458
+ <attribute name="keep-lines-together">
459
+ <data type="boolean"/>
460
+ </attribute>
461
+ </optional>
462
+ <optional>
463
+ <attribute name="class"/>
464
+ </optional>
465
+ <optional>
466
+ <attribute name="tag"/>
467
+ </optional>
468
+ <optional>
469
+ <attribute name="multilingual-rendering">
470
+ <ref name="MultilingualRenderingType"/>
471
+ </attribute>
472
+ </optional>
473
+ <optional>
474
+ <ref name="source"/>
475
+ </optional>
476
+ <optional>
477
+ <ref name="tname"/>
478
+ </optional>
479
+ <choice>
480
+ <ref name="image"/>
481
+ <ref name="video"/>
482
+ <ref name="audio"/>
483
+ <ref name="pre"/>
484
+ <oneOrMore>
485
+ <ref name="paragraph-with-footnote"/>
486
+ </oneOrMore>
487
+ <zeroOrMore>
488
+ <ref name="figure"/>
489
+ </zeroOrMore>
490
+ </choice>
491
+ <zeroOrMore>
492
+ <ref name="fn"/>
493
+ </zeroOrMore>
494
+ <optional>
495
+ <ref name="dl"/>
496
+ </optional>
497
+ <zeroOrMore>
498
+ <ref name="note"/>
499
+ </zeroOrMore>
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
+ <attribute name="unnumbered">
509
+ <data type="boolean"/>
510
+ </attribute>
511
+ </optional>
512
+ <optional>
513
+ <attribute name="number"/>
514
+ </optional>
515
+ <optional>
516
+ <attribute name="subsequence"/>
517
+ </optional>
518
+ <optional>
519
+ <attribute name="keep-with-next">
520
+ <data type="boolean"/>
521
+ </attribute>
522
+ </optional>
523
+ <optional>
524
+ <attribute name="keep-lines-together">
525
+ <data type="boolean"/>
526
+ </attribute>
527
+ </optional>
528
+ <optional>
529
+ <attribute name="lang"/>
530
+ </optional>
531
+ <optional>
532
+ <attribute name="tag"/>
533
+ </optional>
534
+ <optional>
535
+ <attribute name="multilingual-rendering">
536
+ <ref name="MultilingualRenderingType"/>
537
+ </attribute>
538
+ </optional>
539
+ <optional>
540
+ <ref name="tname"/>
541
+ </optional>
542
+ <oneOrMore>
543
+ <choice>
544
+ <text/>
545
+ <ref name="callout"/>
546
+ </choice>
547
+ </oneOrMore>
548
+ <zeroOrMore>
549
+ <ref name="annotation"/>
550
+ </zeroOrMore>
551
+ <zeroOrMore>
552
+ <ref name="note"/>
553
+ </zeroOrMore>
554
+ </element>
555
+ </define>
556
+ <define name="formula">
557
+ <element name="formula">
558
+ <attribute name="id">
559
+ <data type="ID"/>
560
+ </attribute>
561
+ <optional>
562
+ <attribute name="unnumbered">
563
+ <data type="boolean"/>
564
+ </attribute>
565
+ </optional>
566
+ <optional>
567
+ <attribute name="number"/>
568
+ </optional>
569
+ <optional>
570
+ <attribute name="subsequence"/>
571
+ </optional>
572
+ <optional>
573
+ <attribute name="keep-with-next">
574
+ <data type="boolean"/>
575
+ </attribute>
576
+ </optional>
577
+ <optional>
578
+ <attribute name="keep-lines-together">
579
+ <data type="boolean"/>
580
+ </attribute>
581
+ </optional>
582
+ <optional>
583
+ <attribute name="inequality">
584
+ <data type="boolean"/>
585
+ </attribute>
586
+ </optional>
587
+ <optional>
588
+ <attribute name="tag"/>
589
+ </optional>
590
+ <optional>
591
+ <attribute name="multilingual-rendering">
592
+ <ref name="MultilingualRenderingType"/>
593
+ </attribute>
594
+ </optional>
595
+ <ref name="stem"/>
596
+ <optional>
597
+ <ref name="dl"/>
598
+ </optional>
599
+ <zeroOrMore>
600
+ <ref name="note"/>
601
+ </zeroOrMore>
602
+ </element>
603
+ </define>
604
+ <define name="ParagraphType">
605
+ <attribute name="id">
606
+ <data type="ID"/>
607
+ </attribute>
608
+ <optional>
609
+ <attribute name="align">
610
+ <ref name="Alignments"/>
611
+ </attribute>
612
+ </optional>
613
+ <optional>
614
+ <attribute name="keep-with-next">
615
+ <data type="boolean"/>
616
+ </attribute>
617
+ </optional>
618
+ <optional>
619
+ <attribute name="keep-lines-together">
620
+ <data type="boolean"/>
621
+ </attribute>
622
+ </optional>
623
+ <optional>
624
+ <attribute name="tag"/>
625
+ </optional>
626
+ <optional>
627
+ <attribute name="multilingual-rendering">
628
+ <ref name="MultilingualRenderingType"/>
629
+ </attribute>
630
+ </optional>
631
+ <zeroOrMore>
632
+ <ref name="TextElement"/>
633
+ </zeroOrMore>
634
+ <zeroOrMore>
635
+ <ref name="note"/>
636
+ </zeroOrMore>
637
+ </define>
638
+ <define name="paragraph-with-footnote">
639
+ <element name="p">
640
+ <attribute name="id">
641
+ <data type="ID"/>
642
+ </attribute>
643
+ <optional>
644
+ <attribute name="align">
645
+ <ref name="Alignments"/>
646
+ </attribute>
647
+ </optional>
648
+ <optional>
649
+ <attribute name="keep-with-next">
650
+ <data type="boolean"/>
651
+ </attribute>
652
+ </optional>
653
+ <optional>
654
+ <attribute name="keep-lines-together">
655
+ <data type="boolean"/>
656
+ </attribute>
657
+ </optional>
658
+ <optional>
659
+ <attribute name="tag"/>
660
+ </optional>
661
+ <optional>
662
+ <attribute name="multilingual-rendering">
663
+ <ref name="MultilingualRenderingType"/>
664
+ </attribute>
665
+ </optional>
666
+ <zeroOrMore>
667
+ <choice>
668
+ <ref name="TextElement"/>
669
+ <ref name="fn"/>
670
+ </choice>
671
+ </zeroOrMore>
672
+ <zeroOrMore>
673
+ <ref name="note"/>
674
+ </zeroOrMore>
675
+ </element>
676
+ </define>
677
+ <define name="quote">
678
+ <element name="quote">
679
+ <attribute name="id">
680
+ <data type="ID"/>
681
+ </attribute>
682
+ <optional>
683
+ <attribute name="alignment">
684
+ <ref name="Alignments"/>
685
+ </attribute>
686
+ </optional>
687
+ <optional>
688
+ <attribute name="keep-with-next">
689
+ <data type="boolean"/>
690
+ </attribute>
691
+ </optional>
692
+ <optional>
693
+ <attribute name="keep-lines-together">
694
+ <data type="boolean"/>
695
+ </attribute>
696
+ </optional>
697
+ <optional>
698
+ <attribute name="tag"/>
699
+ </optional>
700
+ <optional>
701
+ <attribute name="multilingual-rendering">
702
+ <ref name="MultilingualRenderingType"/>
703
+ </attribute>
704
+ </optional>
705
+ <optional>
706
+ <ref name="quote-source"/>
707
+ </optional>
708
+ <optional>
709
+ <ref name="quote-author"/>
710
+ </optional>
711
+ <oneOrMore>
712
+ <ref name="paragraph-with-footnote"/>
713
+ </oneOrMore>
714
+ <zeroOrMore>
715
+ <ref name="note"/>
716
+ </zeroOrMore>
717
+ </element>
718
+ </define>
719
+ <define name="BibDataExtensionType">
720
+ <ref name="doctype"/>
721
+ <optional>
722
+ <ref name="docsubtype"/>
723
+ </optional>
724
+ <optional>
725
+ <ref name="editorialgroup"/>
726
+ </optional>
727
+ <zeroOrMore>
728
+ <ref name="ics"/>
729
+ </zeroOrMore>
730
+ <zeroOrMore>
731
+ <ref name="structuredidentifier"/>
732
+ </zeroOrMore>
733
+ </define>
734
+ <!-- TitleType = text -->
735
+ <define name="sections">
736
+ <element name="sections">
737
+ <oneOrMore>
738
+ <choice>
739
+ <ref name="clause"/>
740
+ <ref name="terms"/>
741
+ <ref name="term-clause"/>
742
+ <ref name="definitions"/>
743
+ <ref name="floating-title"/>
744
+ </choice>
745
+ </oneOrMore>
746
+ </element>
747
+ </define>
748
+ <define name="references">
749
+ <element name="references">
750
+ <optional>
751
+ <attribute name="id">
752
+ <data type="ID"/>
753
+ </attribute>
754
+ </optional>
755
+ <optional>
756
+ <attribute name="obligation">
757
+ <choice>
758
+ <value>normative</value>
759
+ <value>informative</value>
760
+ </choice>
761
+ </attribute>
762
+ </optional>
763
+ <attribute name="normative">
764
+ <data type="boolean"/>
765
+ </attribute>
766
+ <optional>
767
+ <ref name="section-title"/>
768
+ </optional>
769
+ <zeroOrMore>
770
+ <ref name="BasicBlock"/>
771
+ </zeroOrMore>
772
+ <zeroOrMore>
773
+ <ref name="bibitem"/>
774
+ <zeroOrMore>
775
+ <ref name="note"/>
776
+ </zeroOrMore>
777
+ </zeroOrMore>
778
+ <zeroOrMore>
779
+ <ref name="references"/>
780
+ </zeroOrMore>
781
+ </element>
782
+ </define>
783
+ <define name="note">
784
+ <element name="note">
785
+ <attribute name="id">
786
+ <data type="ID"/>
787
+ </attribute>
788
+ <optional>
789
+ <attribute name="unnumbered">
790
+ <data type="boolean"/>
791
+ </attribute>
792
+ </optional>
793
+ <optional>
794
+ <attribute name="number"/>
795
+ </optional>
796
+ <optional>
797
+ <attribute name="subsequence"/>
798
+ </optional>
799
+ <optional>
800
+ <attribute name="keep-with-next">
801
+ <data type="boolean"/>
802
+ </attribute>
803
+ </optional>
804
+ <optional>
805
+ <attribute name="keep-lines-together">
806
+ <data type="boolean"/>
807
+ </attribute>
808
+ </optional>
809
+ <optional>
810
+ <attribute name="type"/>
811
+ </optional>
812
+ <optional>
813
+ <attribute name="tag"/>
814
+ </optional>
815
+ <optional>
816
+ <attribute name="multilingual-rendering">
817
+ <ref name="MultilingualRenderingType"/>
818
+ </attribute>
819
+ </optional>
820
+ <oneOrMore>
821
+ <choice>
822
+ <ref name="paragraph"/>
823
+ <ref name="ul"/>
824
+ <ref name="ol"/>
825
+ <ref name="dl"/>
826
+ <ref name="formula"/>
827
+ <ref name="quote"/>
828
+ <ref name="sourcecode"/>
829
+ </choice>
830
+ </oneOrMore>
831
+ </element>
832
+ </define>
833
+ <define name="Basic-Section">
834
+ <optional>
835
+ <attribute name="id">
836
+ <data type="ID"/>
837
+ </attribute>
838
+ </optional>
839
+ <optional>
840
+ <attribute name="language"/>
841
+ </optional>
842
+ <optional>
843
+ <attribute name="script"/>
844
+ </optional>
845
+ <optional>
846
+ <attribute name="obligation">
847
+ <choice>
848
+ <value>normative</value>
849
+ <value>informative</value>
850
+ </choice>
851
+ </attribute>
852
+ </optional>
853
+ <optional>
854
+ <ref name="section-title"/>
855
+ </optional>
856
+ <oneOrMore>
857
+ <ref name="BasicBlock"/>
858
+ </oneOrMore>
859
+ </define>
860
+ <define name="li">
861
+ <element name="li">
862
+ <group>
863
+ <optional>
864
+ <attribute name="id">
865
+ <data type="ID"/>
866
+ </attribute>
867
+ </optional>
868
+ <oneOrMore>
869
+ <ref name="BasicBlock"/>
870
+ </oneOrMore>
871
+ </group>
872
+ <!-- exclude figures? -->
873
+ </element>
874
+ </define>
875
+ <define name="dd">
876
+ <element name="dd">
877
+ <zeroOrMore>
878
+ <!-- exclude figures? -->
879
+ <ref name="BasicBlock"/>
880
+ </zeroOrMore>
881
+ </element>
882
+ </define>
883
+ <define name="thead">
884
+ <element name="thead">
885
+ <oneOrMore>
886
+ <ref name="tr"/>
887
+ </oneOrMore>
888
+ </element>
889
+ </define>
890
+ <define name="td">
891
+ <element name="td">
892
+ <optional>
893
+ <attribute name="colspan"/>
894
+ </optional>
895
+ <optional>
896
+ <attribute name="rowspan"/>
897
+ </optional>
898
+ <optional>
899
+ <attribute name="align">
900
+ <choice>
901
+ <value>left</value>
902
+ <value>right</value>
903
+ <value>center</value>
904
+ </choice>
905
+ </attribute>
906
+ </optional>
907
+ <optional>
908
+ <attribute name="valign">
909
+ <choice>
910
+ <value>top</value>
911
+ <value>middle</value>
912
+ <value>bottom</value>
913
+ <value>baseline</value>
914
+ </choice>
915
+ </attribute>
916
+ </optional>
917
+ <choice>
918
+ <zeroOrMore>
919
+ <choice>
920
+ <ref name="TextElement"/>
921
+ <ref name="fn"/>
922
+ </choice>
923
+ </zeroOrMore>
924
+ <oneOrMore>
925
+ <choice>
926
+ <ref name="paragraph-with-footnote"/>
927
+ <ref name="dl"/>
928
+ <ref name="ul"/>
929
+ <ref name="ol"/>
930
+ <ref name="figure"/>
931
+ </choice>
932
+ </oneOrMore>
933
+ </choice>
934
+ </element>
935
+ </define>
936
+ <define name="th">
937
+ <element name="th">
938
+ <optional>
939
+ <attribute name="colspan"/>
940
+ </optional>
941
+ <optional>
942
+ <attribute name="rowspan"/>
943
+ </optional>
944
+ <optional>
945
+ <attribute name="align">
946
+ <choice>
947
+ <value>left</value>
948
+ <value>right</value>
949
+ <value>center</value>
950
+ </choice>
951
+ </attribute>
952
+ </optional>
953
+ <optional>
954
+ <attribute name="valign">
955
+ <choice>
956
+ <value>top</value>
957
+ <value>middle</value>
958
+ <value>bottom</value>
959
+ <value>baseline</value>
960
+ </choice>
961
+ </attribute>
962
+ </optional>
963
+ <choice>
964
+ <zeroOrMore>
965
+ <choice>
966
+ <ref name="TextElement"/>
967
+ <ref name="fn"/>
968
+ </choice>
969
+ </zeroOrMore>
970
+ <oneOrMore>
971
+ <ref name="paragraph-with-footnote"/>
972
+ </oneOrMore>
973
+ </choice>
974
+ </element>
975
+ </define>
976
+ <define name="table-note">
977
+ <element name="note">
978
+ <optional>
979
+ <attribute name="id">
980
+ <data type="ID"/>
981
+ </attribute>
982
+ </optional>
983
+ <ref name="paragraph"/>
984
+ </element>
985
+ </define>
986
+ <define name="em">
987
+ <element name="em">
988
+ <zeroOrMore>
989
+ <choice>
990
+ <ref name="PureTextElement"/>
991
+ <ref name="stem"/>
992
+ <ref name="index"/>
993
+ <ref name="eref"/>
994
+ <ref name="xref"/>
995
+ <ref name="hyperlink"/>
996
+ </choice>
997
+ </zeroOrMore>
998
+ </element>
999
+ </define>
1000
+ <define name="strong">
1001
+ <element name="strong">
1002
+ <zeroOrMore>
1003
+ <choice>
1004
+ <ref name="PureTextElement"/>
1005
+ <ref name="stem"/>
1006
+ <ref name="index"/>
1007
+ <ref name="eref"/>
1008
+ <ref name="xref"/>
1009
+ <ref name="hyperlink"/>
1010
+ </choice>
1011
+ </zeroOrMore>
1012
+ </element>
1013
+ </define>
1014
+ <define name="tt">
1015
+ <element name="tt">
1016
+ <zeroOrMore>
1017
+ <choice>
1018
+ <ref name="PureTextElement"/>
1019
+ <ref name="index"/>
1020
+ <ref name="eref"/>
1021
+ <ref name="xref"/>
1022
+ <ref name="hyperlink"/>
1023
+ </choice>
1024
+ </zeroOrMore>
1025
+ </element>
1026
+ </define>
1027
+ <define name="keyword">
1028
+ <element name="keyword">
1029
+ <zeroOrMore>
1030
+ <choice>
1031
+ <ref name="PureTextElement"/>
1032
+ <ref name="index"/>
1033
+ </choice>
1034
+ </zeroOrMore>
1035
+ </element>
1036
+ </define>
1037
+ <define name="strike">
1038
+ <element name="strike">
1039
+ <zeroOrMore>
1040
+ <choice>
1041
+ <ref name="PureTextElement"/>
1042
+ <ref name="index"/>
1043
+ </choice>
1044
+ </zeroOrMore>
1045
+ </element>
1046
+ </define>
1047
+ <define name="underline">
1048
+ <element name="underline">
1049
+ <zeroOrMore>
1050
+ <choice>
1051
+ <ref name="PureTextElement"/>
1052
+ <ref name="index"/>
1053
+ </choice>
1054
+ </zeroOrMore>
1055
+ </element>
1056
+ </define>
1057
+ <define name="smallcap">
1058
+ <element name="smallcap">
1059
+ <zeroOrMore>
1060
+ <choice>
1061
+ <ref name="PureTextElement"/>
1062
+ <ref name="index"/>
1063
+ </choice>
1064
+ </zeroOrMore>
1065
+ </element>
1066
+ </define>
1067
+ <define name="sub">
1068
+ <element name="sub">
1069
+ <zeroOrMore>
1070
+ <choice>
1071
+ <ref name="PureTextElement"/>
1072
+ <ref name="stem"/>
1073
+ </choice>
1074
+ </zeroOrMore>
1075
+ </element>
1076
+ </define>
1077
+ <define name="sup">
1078
+ <element name="sup">
1079
+ <zeroOrMore>
1080
+ <choice>
1081
+ <ref name="PureTextElement"/>
1082
+ <ref name="stem"/>
1083
+ </choice>
1084
+ </zeroOrMore>
1085
+ </element>
1086
+ </define>
1087
+ <define name="pagebreak">
1088
+ <element name="pagebreak">
1089
+ <optional>
1090
+ <attribute name="orientation">
1091
+ <choice>
1092
+ <value>landscape</value>
1093
+ <value>portrait</value>
1094
+ </choice>
1095
+ </attribute>
1096
+ </optional>
1097
+ </element>
1098
+ </define>
1099
+ </include>
1100
+ <!-- end overrides -->
1101
+ <define name="MultilingualRenderingType">
1102
+ <choice>
1103
+ <value>common</value>
1104
+ <value>all-columns</value>
1105
+ <value>parallel</value>
1106
+ <value>tag</value>
1107
+ </choice>
1108
+ </define>
1109
+ <define name="docsubtype">
1110
+ <element name="subdoctype">
1111
+ <ref name="DocumentSubtype"/>
1112
+ </element>
1113
+ </define>
1114
+ <define name="DocumentSubtype">
1115
+ <text/>
1116
+ </define>
1117
+ <define name="colgroup">
1118
+ <element name="colgroup">
1119
+ <oneOrMore>
1120
+ <ref name="col"/>
1121
+ </oneOrMore>
1122
+ </element>
1123
+ </define>
1124
+ <define name="col">
1125
+ <element name="col">
1126
+ <attribute name="width"/>
1127
+ </element>
1128
+ </define>
1129
+ <define name="BibItemType" combine="choice">
1130
+ <value>internal</value>
1131
+ </define>
1132
+ <define name="TextElement" combine="choice">
1133
+ <choice>
1134
+ <ref name="concept"/>
1135
+ <ref name="add"/>
1136
+ <ref name="del"/>
1137
+ </choice>
1138
+ </define>
1139
+ <define name="add">
1140
+ <element name="add">
1141
+ <choice>
1142
+ <ref name="PureTextElement"/>
1143
+ <ref name="eref"/>
1144
+ <ref name="stem"/>
1145
+ <ref name="keyword"/>
1146
+ <ref name="xref"/>
1147
+ <ref name="hyperlink"/>
1148
+ </choice>
1149
+ </element>
1150
+ </define>
1151
+ <define name="del">
1152
+ <element name="del">
1153
+ <choice>
1154
+ <ref name="PureTextElement"/>
1155
+ <ref name="eref"/>
1156
+ <ref name="stem"/>
1157
+ <ref name="keyword"/>
1158
+ <ref name="xref"/>
1159
+ <ref name="hyperlink"/>
1160
+ </choice>
1161
+ </element>
1162
+ </define>
1163
+ <define name="concept">
1164
+ <element name="concept">
1165
+ <optional>
1166
+ <attribute name="ital">
1167
+ <data type="boolean"/>
1168
+ </attribute>
1169
+ </optional>
1170
+ <optional>
1171
+ <attribute name="ref">
1172
+ <data type="boolean"/>
1173
+ </attribute>
1174
+ </optional>
1175
+ <optional>
1176
+ <attribute name="linkmention">
1177
+ <data type="boolean"/>
1178
+ </attribute>
1179
+ </optional>
1180
+ <optional>
1181
+ <attribute name="linkref">
1182
+ <data type="boolean"/>
1183
+ </attribute>
1184
+ </optional>
1185
+ <optional>
1186
+ <element name="refterm">
1187
+ <zeroOrMore>
1188
+ <choice>
1189
+ <ref name="PureTextElement"/>
1190
+ <ref name="stem"/>
1191
+ </choice>
1192
+ </zeroOrMore>
1193
+ </element>
1194
+ </optional>
1195
+ <optional>
1196
+ <element name="renderterm">
1197
+ <zeroOrMore>
1198
+ <choice>
1199
+ <ref name="PureTextElement"/>
1200
+ <ref name="stem"/>
1201
+ </choice>
1202
+ </zeroOrMore>
1203
+ </element>
1204
+ </optional>
1205
+ <choice>
1206
+ <ref name="eref"/>
1207
+ <ref name="xref"/>
1208
+ <ref name="termref"/>
1209
+ </choice>
1210
+ </element>
1211
+ </define>
1212
+ <define name="BasicBlock" combine="choice">
1213
+ <choice>
1214
+ <ref name="requirement"/>
1215
+ <ref name="recommendation"/>
1216
+ <ref name="permission"/>
1217
+ <ref name="imagemap"/>
1218
+ <ref name="svgmap"/>
1219
+ <ref name="inputform"/>
1220
+ <ref name="toc"/>
1221
+ <ref name="passthrough"/>
1222
+ </choice>
1223
+ </define>
1224
+ <define name="toc">
1225
+ <element name="toc">
1226
+ <ref name="ul"/>
1227
+ </element>
1228
+ </define>
1229
+ <define name="passthrough">
1230
+ <element name="passthrough">
1231
+ <optional>
1232
+ <attribute name="formats"/>
1233
+ </optional>
1234
+ <text/>
1235
+ </element>
1236
+ </define>
1237
+ <define name="inputform">
1238
+ <element name="form">
1239
+ <attribute name="id">
1240
+ <data type="ID"/>
1241
+ </attribute>
1242
+ <attribute name="name"/>
1243
+ <attribute name="action"/>
1244
+ <optional>
1245
+ <attribute name="class"/>
1246
+ </optional>
1247
+ <optional>
1248
+ <attribute name="tag"/>
1249
+ </optional>
1250
+ <optional>
1251
+ <attribute name="multilingual-rendering">
1252
+ <ref name="MultilingualRenderingType"/>
1253
+ </attribute>
1254
+ </optional>
1255
+ <zeroOrMore>
1256
+ <choice>
1257
+ <ref name="TextElement"/>
1258
+ <ref name="FormInput"/>
1259
+ </choice>
1260
+ </zeroOrMore>
1261
+ </element>
1262
+ </define>
1263
+ <define name="FormInput">
1264
+ <choice>
1265
+ <ref name="input"/>
1266
+ <ref name="formlabel"/>
1267
+ <ref name="select"/>
1268
+ <ref name="textarea"/>
1269
+ </choice>
1270
+ </define>
1271
+ <define name="InputType">
1272
+ <choice>
1273
+ <value>button</value>
1274
+ <value>checkbox</value>
1275
+ <value>date</value>
1276
+ <value>file</value>
1277
+ <value>password</value>
1278
+ <value>radio</value>
1279
+ <value>submit</value>
1280
+ <value>text</value>
1281
+ </choice>
1282
+ </define>
1283
+ <define name="input">
1284
+ <element name="input">
1285
+ <attribute name="type">
1286
+ <ref name="InputType"/>
1287
+ </attribute>
1288
+ <optional>
1289
+ <attribute name="checked">
1290
+ <data type="boolean"/>
1291
+ </attribute>
1292
+ </optional>
1293
+ <optional>
1294
+ <attribute name="disabled">
1295
+ <data type="boolean"/>
1296
+ </attribute>
1297
+ </optional>
1298
+ <optional>
1299
+ <attribute name="readonly">
1300
+ <data type="boolean"/>
1301
+ </attribute>
1302
+ </optional>
1303
+ <optional>
1304
+ <attribute name="maxlength">
1305
+ <data type="int"/>
1306
+ </attribute>
1307
+ </optional>
1308
+ <optional>
1309
+ <attribute name="minlength">
1310
+ <data type="int"/>
1311
+ </attribute>
1312
+ </optional>
1313
+ <optional>
1314
+ <attribute name="name"/>
1315
+ </optional>
1316
+ <optional>
1317
+ <attribute name="value"/>
1318
+ </optional>
1319
+ <optional>
1320
+ <attribute name="id">
1321
+ <data type="ID"/>
1322
+ </attribute>
1323
+ </optional>
1324
+ </element>
1325
+ </define>
1326
+ <define name="formlabel">
1327
+ <element name="label">
1328
+ <attribute name="for">
1329
+ <data type="IDREF"/>
1330
+ </attribute>
1331
+ <zeroOrMore>
1332
+ <ref name="PureTextElement"/>
1333
+ </zeroOrMore>
1334
+ </element>
1335
+ </define>
1336
+ <define name="select">
1337
+ <element name="select">
1338
+ <optional>
1339
+ <attribute name="name"/>
1340
+ </optional>
1341
+ <optional>
1342
+ <attribute name="value"/>
1343
+ </optional>
1344
+ <optional>
1345
+ <attribute name="id">
1346
+ <data type="ID"/>
1347
+ </attribute>
1348
+ </optional>
1349
+ <optional>
1350
+ <attribute name="disabled">
1351
+ <data type="boolean"/>
1352
+ </attribute>
1353
+ </optional>
1354
+ <optional>
1355
+ <attribute name="multiple">
1356
+ <data type="boolean"/>
1357
+ </attribute>
1358
+ </optional>
1359
+ <optional>
1360
+ <attribute name="size">
1361
+ <data type="int"/>
1362
+ </attribute>
1363
+ </optional>
1364
+ <oneOrMore>
1365
+ <ref name="option"/>
1366
+ </oneOrMore>
1367
+ </element>
1368
+ </define>
1369
+ <define name="option">
1370
+ <element name="option">
1371
+ <optional>
1372
+ <attribute name="disabled">
1373
+ <data type="boolean"/>
1374
+ </attribute>
1375
+ </optional>
1376
+ <optional>
1377
+ <attribute name="value"/>
1378
+ </optional>
1379
+ <zeroOrMore>
1380
+ <ref name="PureTextElement"/>
1381
+ </zeroOrMore>
1382
+ </element>
1383
+ </define>
1384
+ <define name="textarea">
1385
+ <element name="textarea">
1386
+ <optional>
1387
+ <attribute name="name"/>
1388
+ </optional>
1389
+ <optional>
1390
+ <attribute name="value"/>
1391
+ </optional>
1392
+ <optional>
1393
+ <attribute name="id">
1394
+ <data type="ID"/>
1395
+ </attribute>
1396
+ </optional>
1397
+ <optional>
1398
+ <attribute name="rows">
1399
+ <data type="int"/>
1400
+ </attribute>
1401
+ </optional>
1402
+ <optional>
1403
+ <attribute name="cols">
1404
+ <data type="int"/>
1405
+ </attribute>
1406
+ </optional>
1407
+ </element>
1408
+ </define>
1409
+ <define name="bibliography">
1410
+ <element name="bibliography">
1411
+ <oneOrMore>
1412
+ <choice>
1413
+ <ref name="references"/>
1414
+ <ref name="reference-clause"/>
1415
+ </choice>
1416
+ </oneOrMore>
1417
+ </element>
1418
+ </define>
1419
+ <define name="reference-clause">
1420
+ <element name="clause">
1421
+ <optional>
1422
+ <attribute name="id">
1423
+ <data type="ID"/>
1424
+ </attribute>
1425
+ </optional>
1426
+ <optional>
1427
+ <attribute name="language"/>
1428
+ </optional>
1429
+ <optional>
1430
+ <attribute name="script"/>
1431
+ </optional>
1432
+ <optional>
1433
+ <attribute name="inline-header">
1434
+ <data type="boolean"/>
1435
+ </attribute>
1436
+ </optional>
1437
+ <optional>
1438
+ <attribute name="number"/>
1439
+ </optional>
1440
+ <optional>
1441
+ <attribute name="obligation">
1442
+ <choice>
1443
+ <value>normative</value>
1444
+ <value>informative</value>
1445
+ </choice>
1446
+ </attribute>
1447
+ </optional>
1448
+ <optional>
1449
+ <ref name="section-title"/>
1450
+ </optional>
1451
+ <zeroOrMore>
1452
+ <ref name="BasicBlock"/>
1453
+ </zeroOrMore>
1454
+ <choice>
1455
+ <oneOrMore>
1456
+ <ref name="reference-clause"/>
1457
+ </oneOrMore>
1458
+ <zeroOrMore>
1459
+ <ref name="references"/>
1460
+ </zeroOrMore>
1461
+ </choice>
1462
+ </element>
1463
+ </define>
1464
+ <define name="editorialgroup">
1465
+ <element name="editorialgroup">
1466
+ <oneOrMore>
1467
+ <ref name="technical-committee"/>
1468
+ </oneOrMore>
1469
+ </element>
1470
+ </define>
1471
+ <define name="technical-committee">
1472
+ <element name="technical-committee">
1473
+ <ref name="IsoWorkgroup"/>
1474
+ </element>
1475
+ </define>
1476
+ <define name="IsoWorkgroup">
1477
+ <optional>
1478
+ <attribute name="number"/>
1479
+ </optional>
1480
+ <optional>
1481
+ <attribute name="type"/>
1482
+ </optional>
1483
+ <optional>
1484
+ <attribute name="identifier"/>
1485
+ </optional>
1486
+ <optional>
1487
+ <attribute name="prefix"/>
1488
+ </optional>
1489
+ <text/>
1490
+ </define>
1491
+ <define name="ics">
1492
+ <element name="ics">
1493
+ <element name="code">
1494
+ <text/>
1495
+ </element>
1496
+ <optional>
1497
+ <element name="text">
1498
+ <text/>
1499
+ </element>
1500
+ </optional>
1501
+ </element>
1502
+ </define>
1503
+ <define name="standard-document">
1504
+ <element name="standard-document">
1505
+ <attribute name="version"/>
1506
+ <attribute name="type">
1507
+ <choice>
1508
+ <value>semantic</value>
1509
+ <value>presentation</value>
1510
+ </choice>
1511
+ </attribute>
1512
+ <ref name="bibdata"/>
1513
+ <optional>
1514
+ <ref name="misccontainer"/>
1515
+ </optional>
1516
+ <optional>
1517
+ <ref name="boilerplate"/>
1518
+ </optional>
1519
+ <optional>
1520
+ <ref name="preface"/>
1521
+ </optional>
1522
+ <ref name="sections"/>
1523
+ <zeroOrMore>
1524
+ <ref name="annex"/>
1525
+ </zeroOrMore>
1526
+ <optional>
1527
+ <ref name="bibliography"/>
1528
+ </optional>
1529
+ <zeroOrMore>
1530
+ <ref name="indexsect"/>
1531
+ </zeroOrMore>
1532
+ </element>
1533
+ </define>
1534
+ <define name="misccontainer">
1535
+ <element name="misc-container">
1536
+ <oneOrMore>
1537
+ <ref name="AnyElement"/>
1538
+ </oneOrMore>
1539
+ </element>
1540
+ </define>
1541
+ <define name="preface">
1542
+ <element name="preface">
1543
+ <oneOrMore>
1544
+ <choice>
1545
+ <ref name="content"/>
1546
+ <ref name="abstract"/>
1547
+ <ref name="foreword"/>
1548
+ <ref name="introduction"/>
1549
+ <ref name="acknowledgements"/>
1550
+ </choice>
1551
+ </oneOrMore>
1552
+ </element>
1553
+ </define>
1554
+ <define name="foreword">
1555
+ <element name="foreword">
1556
+ <ref name="Content-Section"/>
1557
+ </element>
1558
+ </define>
1559
+ <define name="introduction">
1560
+ <element name="introduction">
1561
+ <ref name="Content-Section"/>
1562
+ </element>
1563
+ </define>
1564
+ <define name="indexsect">
1565
+ <element name="indexsect">
1566
+ <ref name="Content-Section"/>
1567
+ </element>
1568
+ </define>
1569
+ <define name="boilerplate">
1570
+ <element name="boilerplate">
1571
+ <optional>
1572
+ <ref name="copyright-statement"/>
1573
+ </optional>
1574
+ <optional>
1575
+ <ref name="license-statement"/>
1576
+ </optional>
1577
+ <optional>
1578
+ <ref name="legal-statement"/>
1579
+ </optional>
1580
+ <optional>
1581
+ <ref name="feedback-statement"/>
1582
+ </optional>
1583
+ </element>
1584
+ </define>
1585
+ <define name="copyright-statement">
1586
+ <element name="copyright-statement">
1587
+ <ref name="Content-Section"/>
1588
+ </element>
1589
+ </define>
1590
+ <define name="license-statement">
1591
+ <element name="license-statement">
1592
+ <ref name="Content-Section"/>
1593
+ </element>
1594
+ </define>
1595
+ <define name="legal-statement">
1596
+ <element name="legal-statement">
1597
+ <ref name="Content-Section"/>
1598
+ </element>
1599
+ </define>
1600
+ <define name="feedback-statement">
1601
+ <element name="feedback-statement">
1602
+ <ref name="Content-Section"/>
1603
+ </element>
1604
+ </define>
1605
+ <define name="definitions">
1606
+ <element name="definitions">
1607
+ <optional>
1608
+ <attribute name="id">
1609
+ <data type="ID"/>
1610
+ </attribute>
1611
+ </optional>
1612
+ <optional>
1613
+ <attribute name="language"/>
1614
+ </optional>
1615
+ <optional>
1616
+ <attribute name="script"/>
1617
+ </optional>
1618
+ <optional>
1619
+ <attribute name="type"/>
1620
+ </optional>
1621
+ <optional>
1622
+ <attribute name="obligation">
1623
+ <choice>
1624
+ <value>normative</value>
1625
+ <value>informative</value>
1626
+ </choice>
1627
+ </attribute>
1628
+ </optional>
1629
+ <optional>
1630
+ <ref name="section-title"/>
1631
+ </optional>
1632
+ <oneOrMore>
1633
+ <zeroOrMore>
1634
+ <ref name="BasicBlock"/>
1635
+ </zeroOrMore>
1636
+ <ref name="dl"/>
1637
+ </oneOrMore>
1638
+ </element>
1639
+ </define>
1640
+ <define name="content">
1641
+ <element name="clause">
1642
+ <ref name="Content-Section"/>
1643
+ </element>
1644
+ </define>
1645
+ <define name="abstract">
1646
+ <element name="abstract">
1647
+ <ref name="Content-Section"/>
1648
+ </element>
1649
+ </define>
1650
+ <define name="acknowledgements">
1651
+ <element name="acknowledgements">
1652
+ <ref name="Content-Section"/>
1653
+ </element>
1654
+ </define>
1655
+ <define name="content-subsection">
1656
+ <element name="clause">
1657
+ <ref name="Content-Section"/>
1658
+ </element>
1659
+ </define>
1660
+ <define name="Content-Section">
1661
+ <optional>
1662
+ <attribute name="id">
1663
+ <data type="ID"/>
1664
+ </attribute>
1665
+ </optional>
1666
+ <optional>
1667
+ <attribute name="language"/>
1668
+ </optional>
1669
+ <optional>
1670
+ <attribute name="script"/>
1671
+ </optional>
1672
+ <optional>
1673
+ <attribute name="inline-header">
1674
+ <data type="boolean"/>
1675
+ </attribute>
1676
+ </optional>
1677
+ <optional>
1678
+ <attribute name="obligation">
1679
+ <choice>
1680
+ <value>normative</value>
1681
+ <value>informative</value>
1682
+ </choice>
1683
+ </attribute>
1684
+ </optional>
1685
+ <optional>
1686
+ <attribute name="number"/>
1687
+ </optional>
1688
+ <optional>
1689
+ <attribute name="type"/>
1690
+ </optional>
1691
+ <optional>
1692
+ <ref name="section-title"/>
1693
+ </optional>
1694
+ <group>
1695
+ <zeroOrMore>
1696
+ <ref name="BasicBlock"/>
1697
+ </zeroOrMore>
1698
+ <zeroOrMore>
1699
+ <ref name="content-subsection"/>
1700
+ </zeroOrMore>
1701
+ </group>
1702
+ </define>
1703
+ <define name="clause">
1704
+ <element name="clause">
1705
+ <ref name="Clause-Section"/>
1706
+ </element>
1707
+ </define>
1708
+ <define name="Clause-Section">
1709
+ <optional>
1710
+ <attribute name="id">
1711
+ <data type="ID"/>
1712
+ </attribute>
1713
+ </optional>
1714
+ <optional>
1715
+ <attribute name="language"/>
1716
+ </optional>
1717
+ <optional>
1718
+ <attribute name="script"/>
1719
+ </optional>
1720
+ <optional>
1721
+ <attribute name="inline-header">
1722
+ <data type="boolean"/>
1723
+ </attribute>
1724
+ </optional>
1725
+ <optional>
1726
+ <attribute name="obligation">
1727
+ <choice>
1728
+ <value>normative</value>
1729
+ <value>informative</value>
1730
+ </choice>
1731
+ </attribute>
1732
+ </optional>
1733
+ <optional>
1734
+ <attribute name="type"/>
1735
+ </optional>
1736
+ <optional>
1737
+ <attribute name="number"/>
1738
+ </optional>
1739
+ <optional>
1740
+ <ref name="section-title"/>
1741
+ </optional>
1742
+ <choice>
1743
+ <choice>
1744
+ <oneOrMore>
1745
+ <ref name="BasicBlock"/>
1746
+ </oneOrMore>
1747
+ <ref name="amend"/>
1748
+ </choice>
1749
+ <oneOrMore>
1750
+ <choice>
1751
+ <ref name="clause-subsection"/>
1752
+ <ref name="terms"/>
1753
+ <ref name="definitions"/>
1754
+ <ref name="floating-title"/>
1755
+ </choice>
1756
+ </oneOrMore>
1757
+ </choice>
1758
+ </define>
1759
+ <define name="Annex-Section">
1760
+ <optional>
1761
+ <attribute name="id">
1762
+ <data type="ID"/>
1763
+ </attribute>
1764
+ </optional>
1765
+ <optional>
1766
+ <attribute name="language"/>
1767
+ </optional>
1768
+ <optional>
1769
+ <attribute name="script"/>
1770
+ </optional>
1771
+ <optional>
1772
+ <attribute name="inline-header">
1773
+ <data type="boolean"/>
1774
+ </attribute>
1775
+ </optional>
1776
+ <optional>
1777
+ <attribute name="obligation">
1778
+ <choice>
1779
+ <value>normative</value>
1780
+ <value>informative</value>
1781
+ </choice>
1782
+ </attribute>
1783
+ </optional>
1784
+ <optional>
1785
+ <ref name="section-title"/>
1786
+ </optional>
1787
+ <group>
1788
+ <zeroOrMore>
1789
+ <ref name="BasicBlock"/>
1790
+ </zeroOrMore>
1791
+ <zeroOrMore>
1792
+ <choice>
1793
+ <ref name="annex-subsection"/>
1794
+ <ref name="terms"/>
1795
+ <ref name="definitions"/>
1796
+ <ref name="references"/>
1797
+ <ref name="floating-title"/>
1798
+ </choice>
1799
+ </zeroOrMore>
1800
+ </group>
1801
+ </define>
1802
+ <define name="clause-subsection">
1803
+ <element name="clause">
1804
+ <ref name="Clause-Section"/>
1805
+ </element>
1806
+ </define>
1807
+ <define name="annex-subsection">
1808
+ <element name="clause">
1809
+ <ref name="Annex-Section"/>
1810
+ </element>
1811
+ </define>
1812
+ <define name="annex">
1813
+ <element name="annex">
1814
+ <ref name="Annex-Section"/>
1815
+ </element>
1816
+ </define>
1817
+ <define name="terms">
1818
+ <element name="terms">
1819
+ <optional>
1820
+ <attribute name="id">
1821
+ <data type="ID"/>
1822
+ </attribute>
1823
+ </optional>
1824
+ <optional>
1825
+ <attribute name="language"/>
1826
+ </optional>
1827
+ <optional>
1828
+ <attribute name="script"/>
1829
+ </optional>
1830
+ <optional>
1831
+ <attribute name="type"/>
1832
+ </optional>
1833
+ <optional>
1834
+ <attribute name="number"/>
1835
+ </optional>
1836
+ <optional>
1837
+ <attribute name="obligation">
1838
+ <choice>
1839
+ <value>normative</value>
1840
+ <value>informative</value>
1841
+ </choice>
1842
+ </attribute>
1843
+ </optional>
1844
+ <optional>
1845
+ <ref name="section-title"/>
1846
+ </optional>
1847
+ <zeroOrMore>
1848
+ <ref name="BasicBlock"/>
1849
+ </zeroOrMore>
1850
+ <choice>
1851
+ <oneOrMore>
1852
+ <ref name="term"/>
1853
+ </oneOrMore>
1854
+ <group>
1855
+ <zeroOrMore>
1856
+ <ref name="terms"/>
1857
+ </zeroOrMore>
1858
+ <optional>
1859
+ <ref name="definitions"/>
1860
+ </optional>
1861
+ </group>
1862
+ </choice>
1863
+ </element>
1864
+ </define>
1865
+ <define name="term">
1866
+ <element name="term">
1867
+ <optional>
1868
+ <attribute name="id">
1869
+ <data type="ID"/>
1870
+ </attribute>
1871
+ </optional>
1872
+ <optional>
1873
+ <attribute name="language"/>
1874
+ </optional>
1875
+ <optional>
1876
+ <attribute name="script"/>
1877
+ </optional>
1878
+ <optional>
1879
+ <attribute name="tag"/>
1880
+ </optional>
1881
+ <optional>
1882
+ <attribute name="multilingual-rendering">
1883
+ <ref name="MultilingualRenderingType"/>
1884
+ </attribute>
1885
+ </optional>
1886
+ <oneOrMore>
1887
+ <ref name="preferred"/>
1888
+ </oneOrMore>
1889
+ <zeroOrMore>
1890
+ <ref name="admitted"/>
1891
+ </zeroOrMore>
1892
+ <zeroOrMore>
1893
+ <ref name="deprecates"/>
1894
+ </zeroOrMore>
1895
+ <zeroOrMore>
1896
+ <ref name="related"/>
1897
+ </zeroOrMore>
1898
+ <optional>
1899
+ <ref name="termdomain"/>
1900
+ </optional>
1901
+ <optional>
1902
+ <ref name="termsubject"/>
1903
+ </optional>
1904
+ <oneOrMore>
1905
+ <ref name="termdefinition"/>
1906
+ </oneOrMore>
1907
+ <zeroOrMore>
1908
+ <ref name="termnote"/>
1909
+ </zeroOrMore>
1910
+ <zeroOrMore>
1911
+ <ref name="termexample"/>
1912
+ </zeroOrMore>
1913
+ <zeroOrMore>
1914
+ <ref name="termsource"/>
1915
+ </zeroOrMore>
1916
+ </element>
1917
+ </define>
1918
+ <define name="preferred">
1919
+ <element name="preferred">
1920
+ <ref name="Designation"/>
1921
+ </element>
1922
+ </define>
1923
+ <define name="admitted">
1924
+ <element name="admitted">
1925
+ <ref name="Designation"/>
1926
+ </element>
1927
+ </define>
1928
+ <define name="related">
1929
+ <element name="related">
1930
+ <attribute name="type">
1931
+ <ref name="RelatedTermType"/>
1932
+ </attribute>
1933
+ <element name="preferred">
1934
+ <ref name="Designation"/>
1935
+ </element>
1936
+ <choice>
1937
+ <ref name="eref"/>
1938
+ <ref name="xref"/>
1939
+ <ref name="termref"/>
1940
+ </choice>
1941
+ </element>
1942
+ </define>
1943
+ <define name="RelatedTermType">
1944
+ <choice>
1945
+ <value>deprecates</value>
1946
+ <value>supersedes</value>
1947
+ <value>narrower</value>
1948
+ <value>broader</value>
1949
+ <value>equivalent</value>
1950
+ <value>compare</value>
1951
+ <value>contrast</value>
1952
+ <value>see</value>
1953
+ </choice>
1954
+ </define>
1955
+ <define name="deprecates">
1956
+ <element name="deprecates">
1957
+ <ref name="Designation"/>
1958
+ </element>
1959
+ </define>
1960
+ <define name="Designation">
1961
+ <optional>
1962
+ <attribute name="absent">
1963
+ <data type="boolean"/>
1964
+ </attribute>
1965
+ </optional>
1966
+ <optional>
1967
+ <attribute name="geographic-area"/>
1968
+ </optional>
1969
+ <choice>
1970
+ <ref name="expression_designation"/>
1971
+ <ref name="letter_symbol_designation"/>
1972
+ <ref name="graphical_symbol_designation"/>
1973
+ </choice>
1974
+ <optional>
1975
+ <ref name="fieldofapplication"/>
1976
+ </optional>
1977
+ <optional>
1978
+ <ref name="usageinfo"/>
1979
+ </optional>
1980
+ <zeroOrMore>
1981
+ <ref name="termsource"/>
1982
+ </zeroOrMore>
1983
+ </define>
1984
+ <define name="fieldofapplication">
1985
+ <element name="field-of-application">
1986
+ <oneOrMore>
1987
+ <ref name="PureTextElement"/>
1988
+ </oneOrMore>
1989
+ </element>
1990
+ </define>
1991
+ <define name="usageinfo">
1992
+ <element name="usage-info">
1993
+ <oneOrMore>
1994
+ <ref name="PureTextElement"/>
1995
+ </oneOrMore>
1996
+ </element>
1997
+ </define>
1998
+ <define name="letter_symbol_designation">
1999
+ <element name="letter-symbol">
2000
+ <optional>
2001
+ <attribute name="isInternational">
2002
+ <data type="boolean"/>
2003
+ </attribute>
2004
+ </optional>
2005
+ <element name="name">
2006
+ <oneOrMore>
2007
+ <choice>
2008
+ <ref name="PureTextElement"/>
2009
+ <ref name="stem"/>
2010
+ </choice>
2011
+ </oneOrMore>
2012
+ </element>
2013
+ </element>
2014
+ </define>
2015
+ <define name="graphical_symbol_designation">
2016
+ <element name="graphical-symbol">
2017
+ <optional>
2018
+ <attribute name="isInternational">
2019
+ <data type="boolean"/>
2020
+ </attribute>
2021
+ </optional>
2022
+ <ref name="figure"/>
2023
+ </element>
2024
+ </define>
2025
+ <define name="expression_designation">
2026
+ <element name="expression">
2027
+ <optional>
2028
+ <attribute name="language">
2029
+ <a:documentation>ISO-639</a:documentation>
2030
+ </attribute>
2031
+ </optional>
2032
+ <optional>
2033
+ <attribute name="script">
2034
+ <a:documentation>ISO-15924</a:documentation>
2035
+ </attribute>
2036
+ </optional>
2037
+ <optional>
2038
+ <attribute name="type">
2039
+ <ref name="ExpressionDesignationType"/>
2040
+ </attribute>
2041
+ </optional>
2042
+ <optional>
2043
+ <attribute name="isInternational">
2044
+ <data type="boolean"/>
2045
+ </attribute>
2046
+ </optional>
2047
+ <element name="name">
2048
+ <zeroOrMore>
2049
+ <choice>
2050
+ <ref name="PureTextElement"/>
2051
+ <ref name="stem"/>
2052
+ <ref name="index"/>
2053
+ </choice>
2054
+ </zeroOrMore>
2055
+ </element>
2056
+ <optional>
2057
+ <element name="abbreviation-type">
2058
+ <ref name="AbbreviationType"/>
2059
+ </element>
2060
+ </optional>
2061
+ <optional>
2062
+ <element name="pronunciation">
2063
+ <ref name="LocalizedString"/>
2064
+ </element>
2065
+ </optional>
2066
+ <optional>
2067
+ <element name="grammar">
2068
+ <ref name="Grammar"/>
2069
+ </element>
2070
+ </optional>
2071
+ </element>
2072
+ </define>
2073
+ <define name="ExpressionDesignationType">
2074
+ <choice>
2075
+ <value>prefix</value>
2076
+ <value>suffix</value>
2077
+ <value>abbreviation</value>
2078
+ <value>full</value>
2079
+ </choice>
2080
+ </define>
2081
+ <define name="AbbreviationType">
2082
+ <choice>
2083
+ <value>truncation</value>
2084
+ <value>acronym</value>
2085
+ <value>initialism</value>
2086
+ </choice>
2087
+ </define>
2088
+ <define name="Grammar">
2089
+ <zeroOrMore>
2090
+ <element name="gender">
2091
+ <ref name="GrammarGender"/>
2092
+ </element>
2093
+ </zeroOrMore>
2094
+ <zeroOrMore>
2095
+ <element name="number">
2096
+ <ref name="GrammarNumber"/>
2097
+ </element>
2098
+ </zeroOrMore>
2099
+ <optional>
2100
+ <element name="isPreposition">
2101
+ <data type="boolean"/>
2102
+ </element>
2103
+ </optional>
2104
+ <optional>
2105
+ <element name="isParticiple">
2106
+ <data type="boolean"/>
2107
+ </element>
2108
+ </optional>
2109
+ <optional>
2110
+ <element name="isAdjective">
2111
+ <data type="boolean"/>
2112
+ </element>
2113
+ </optional>
2114
+ <optional>
2115
+ <element name="isVerb">
2116
+ <data type="boolean"/>
2117
+ </element>
2118
+ </optional>
2119
+ <optional>
2120
+ <element name="isAdverb">
2121
+ <data type="boolean"/>
2122
+ </element>
2123
+ </optional>
2124
+ <optional>
2125
+ <element name="isNoun">
2126
+ <data type="boolean"/>
2127
+ </element>
2128
+ </optional>
2129
+ <zeroOrMore>
2130
+ <element name="grammar-value">
2131
+ <text/>
2132
+ </element>
2133
+ </zeroOrMore>
2134
+ </define>
2135
+ <define name="GrammarGender">
2136
+ <choice>
2137
+ <value>masculine</value>
2138
+ <value>feminine</value>
2139
+ <value>neuter</value>
2140
+ <value>common</value>
2141
+ </choice>
2142
+ </define>
2143
+ <define name="GrammarNumber">
2144
+ <choice>
2145
+ <value>singular</value>
2146
+ <value>dual</value>
2147
+ <value>plural</value>
2148
+ </choice>
2149
+ </define>
2150
+ <define name="termdomain">
2151
+ <element name="domain">
2152
+ <oneOrMore>
2153
+ <ref name="TextElement"/>
2154
+ </oneOrMore>
2155
+ </element>
2156
+ </define>
2157
+ <define name="termsubject">
2158
+ <element name="subject">
2159
+ <oneOrMore>
2160
+ <ref name="TextElement"/>
2161
+ </oneOrMore>
2162
+ </element>
2163
+ </define>
2164
+ <define name="termdefinition">
2165
+ <element name="definition">
2166
+ <choice>
2167
+ <ref name="verbaldefinition"/>
2168
+ <ref name="nonverbalrep"/>
2169
+ <group>
2170
+ <ref name="verbaldefinition"/>
2171
+ <ref name="nonverbalrep"/>
2172
+ </group>
2173
+ </choice>
2174
+ </element>
2175
+ </define>
2176
+ <define name="verbaldefinition">
2177
+ <element name="verbal-definition">
2178
+ <oneOrMore>
2179
+ <choice>
2180
+ <ref name="paragraph"/>
2181
+ <ref name="dl"/>
2182
+ <ref name="ol"/>
2183
+ <ref name="ul"/>
2184
+ <ref name="table"/>
2185
+ <ref name="figure"/>
2186
+ <ref name="formula"/>
2187
+ </choice>
2188
+ </oneOrMore>
2189
+ <zeroOrMore>
2190
+ <ref name="termsource"/>
2191
+ </zeroOrMore>
2192
+ </element>
2193
+ </define>
2194
+ <define name="nonverbalrep">
2195
+ <element name="non-verbal-representation">
2196
+ <oneOrMore>
2197
+ <choice>
2198
+ <ref name="table"/>
2199
+ <ref name="figure"/>
2200
+ <ref name="formula"/>
2201
+ </choice>
2202
+ </oneOrMore>
2203
+ <zeroOrMore>
2204
+ <ref name="termsource"/>
2205
+ </zeroOrMore>
2206
+ </element>
2207
+ </define>
2208
+ <define name="termnote">
2209
+ <element name="termnote">
2210
+ <attribute name="id">
2211
+ <data type="ID"/>
2212
+ </attribute>
2213
+ <optional>
2214
+ <attribute name="unnumbered">
2215
+ <data type="boolean"/>
2216
+ </attribute>
2217
+ </optional>
2218
+ <optional>
2219
+ <attribute name="number"/>
2220
+ </optional>
2221
+ <optional>
2222
+ <attribute name="subsequence"/>
2223
+ </optional>
2224
+ <optional>
2225
+ <attribute name="keep-with-next">
2226
+ <data type="boolean"/>
2227
+ </attribute>
2228
+ </optional>
2229
+ <optional>
2230
+ <attribute name="keep-lines-together">
2231
+ <data type="boolean"/>
2232
+ </attribute>
2233
+ </optional>
2234
+ <optional>
2235
+ <attribute name="tag"/>
2236
+ </optional>
2237
+ <optional>
2238
+ <attribute name="multilingual-rendering">
2239
+ <ref name="MultilingualRenderingType"/>
2240
+ </attribute>
2241
+ </optional>
2242
+ <oneOrMore>
2243
+ <choice>
2244
+ <ref name="paragraph"/>
2245
+ <ref name="ul"/>
2246
+ <ref name="ol"/>
2247
+ <ref name="dl"/>
2248
+ <ref name="formula"/>
2249
+ </choice>
2250
+ </oneOrMore>
2251
+ </element>
2252
+ </define>
2253
+ <define name="termexample">
2254
+ <element name="termexample">
2255
+ <attribute name="id">
2256
+ <data type="ID"/>
2257
+ </attribute>
2258
+ <optional>
2259
+ <attribute name="keep-with-next">
2260
+ <data type="boolean"/>
2261
+ </attribute>
2262
+ </optional>
2263
+ <optional>
2264
+ <attribute name="keep-lines-together">
2265
+ <data type="boolean"/>
2266
+ </attribute>
2267
+ </optional>
2268
+ <optional>
2269
+ <attribute name="tag"/>
2270
+ </optional>
2271
+ <optional>
2272
+ <attribute name="multilingual-rendering">
2273
+ <ref name="MultilingualRenderingType"/>
2274
+ </attribute>
2275
+ </optional>
2276
+ <oneOrMore>
2277
+ <choice>
2278
+ <ref name="formula"/>
2279
+ <ref name="ul"/>
2280
+ <ref name="ol"/>
2281
+ <ref name="dl"/>
2282
+ <ref name="quote"/>
2283
+ <ref name="sourcecode"/>
2284
+ <ref name="paragraph"/>
2285
+ <ref name="figure"/>
2286
+ </choice>
2287
+ </oneOrMore>
2288
+ </element>
2289
+ </define>
2290
+ <define name="termsource">
2291
+ <element name="termsource">
2292
+ <attribute name="status">
2293
+ <choice>
2294
+ <value>identical</value>
2295
+ <value>modified</value>
2296
+ </choice>
2297
+ </attribute>
2298
+ <attribute name="type">
2299
+ <choice>
2300
+ <value>authoritative</value>
2301
+ <value>lineage</value>
2302
+ </choice>
2303
+ </attribute>
2304
+ <ref name="origin"/>
2305
+ <optional>
2306
+ <ref name="modification"/>
2307
+ </optional>
2308
+ </element>
2309
+ </define>
2310
+ <define name="origin">
2311
+ <element name="origin">
2312
+ <choice>
2313
+ <ref name="erefType"/>
2314
+ <ref name="termref"/>
2315
+ </choice>
2316
+ </element>
2317
+ </define>
2318
+ <define name="modification">
2319
+ <element name="modification">
2320
+ <ref name="paragraph"/>
2321
+ </element>
2322
+ </define>
2323
+ <define name="termref">
2324
+ <element name="termref">
2325
+ <attribute name="base"/>
2326
+ <attribute name="target"/>
2327
+ <optional>
2328
+ <text/>
2329
+ </optional>
2330
+ </element>
2331
+ </define>
2332
+ <define name="structuredidentifier">
2333
+ <element name="structuredidentifier">
2334
+ <optional>
2335
+ <attribute name="type"/>
2336
+ </optional>
2337
+ <oneOrMore>
2338
+ <element name="agency">
2339
+ <text/>
2340
+ </element>
2341
+ </oneOrMore>
2342
+ <optional>
2343
+ <element name="class">
2344
+ <text/>
2345
+ </element>
2346
+ </optional>
2347
+ <element name="docnumber">
2348
+ <text/>
2349
+ </element>
2350
+ <optional>
2351
+ <element name="partnumber">
2352
+ <text/>
2353
+ </element>
2354
+ </optional>
2355
+ <optional>
2356
+ <element name="edition">
2357
+ <text/>
2358
+ </element>
2359
+ </optional>
2360
+ <optional>
2361
+ <element name="version">
2362
+ <text/>
2363
+ </element>
2364
+ </optional>
2365
+ <optional>
2366
+ <element name="supplementtype">
2367
+ <text/>
2368
+ </element>
2369
+ </optional>
2370
+ <optional>
2371
+ <element name="supplementnumber">
2372
+ <text/>
2373
+ </element>
2374
+ </optional>
2375
+ <optional>
2376
+ <element name="language">
2377
+ <text/>
2378
+ </element>
2379
+ </optional>
2380
+ <optional>
2381
+ <element name="year">
2382
+ <text/>
2383
+ </element>
2384
+ </optional>
2385
+ </element>
2386
+ </define>
2387
+ <define name="term-clause">
2388
+ <element name="clause">
2389
+ <optional>
2390
+ <attribute name="id">
2391
+ <data type="ID"/>
2392
+ </attribute>
2393
+ </optional>
2394
+ <optional>
2395
+ <attribute name="language"/>
2396
+ </optional>
2397
+ <optional>
2398
+ <attribute name="script"/>
2399
+ </optional>
2400
+ <optional>
2401
+ <attribute name="inline-header">
2402
+ <data type="boolean"/>
2403
+ </attribute>
2404
+ </optional>
2405
+ <optional>
2406
+ <attribute name="obligation">
2407
+ <choice>
2408
+ <value>normative</value>
2409
+ <value>informative</value>
2410
+ </choice>
2411
+ </attribute>
2412
+ </optional>
2413
+ <optional>
2414
+ <ref name="section-title"/>
2415
+ </optional>
2416
+ <zeroOrMore>
2417
+ <ref name="BasicBlock"/>
2418
+ </zeroOrMore>
2419
+ <zeroOrMore>
2420
+ <choice>
2421
+ <ref name="term-clause"/>
2422
+ <ref name="terms"/>
2423
+ <ref name="definitions"/>
2424
+ </choice>
2425
+ </zeroOrMore>
2426
+ </element>
2427
+ </define>
2428
+ <define name="termdocsource">
2429
+ <element name="termdocsource">
2430
+ <ref name="CitationType"/>
2431
+ </element>
2432
+ </define>
2433
+ <define name="amend">
2434
+ <element name="amend">
2435
+ <optional>
2436
+ <attribute name="id">
2437
+ <data type="ID"/>
2438
+ </attribute>
2439
+ </optional>
2440
+ <attribute name="change">
2441
+ <choice>
2442
+ <value>add</value>
2443
+ <value>modify</value>
2444
+ <value>delete</value>
2445
+ <value>replace</value>
2446
+ </choice>
2447
+ </attribute>
2448
+ <optional>
2449
+ <attribute name="path"/>
2450
+ </optional>
2451
+ <optional>
2452
+ <attribute name="path_end"/>
2453
+ </optional>
2454
+ <optional>
2455
+ <attribute name="title"/>
2456
+ </optional>
2457
+ <optional>
2458
+ <attribute name="tag"/>
2459
+ </optional>
2460
+ <optional>
2461
+ <attribute name="multilingual-rendering">
2462
+ <ref name="MultilingualRenderingType"/>
2463
+ </attribute>
2464
+ </optional>
2465
+ <optional>
2466
+ <element name="location">
2467
+ <zeroOrMore>
2468
+ <ref name="locality"/>
2469
+ </zeroOrMore>
2470
+ </element>
2471
+ </optional>
2472
+ <zeroOrMore>
2473
+ <ref name="autonumber"/>
2474
+ </zeroOrMore>
2475
+ <optional>
2476
+ <element name="description">
2477
+ <zeroOrMore>
2478
+ <ref name="BasicBlock"/>
2479
+ </zeroOrMore>
2480
+ </element>
2481
+ </optional>
2482
+ <optional>
2483
+ <element name="newcontent">
2484
+ <optional>
2485
+ <attribute name="id">
2486
+ <data type="ID"/>
2487
+ </attribute>
2488
+ </optional>
2489
+ <zeroOrMore>
2490
+ <ref name="BasicBlock"/>
2491
+ </zeroOrMore>
2492
+ </element>
2493
+ </optional>
2494
+ <optional>
2495
+ <element name="description">
2496
+ <zeroOrMore>
2497
+ <ref name="BasicBlock"/>
2498
+ </zeroOrMore>
2499
+ </element>
2500
+ </optional>
2501
+ </element>
2502
+ </define>
2503
+ <define name="autonumber">
2504
+ <element name="autonumber">
2505
+ <attribute name="type">
2506
+ <choice>
2507
+ <value>requirement</value>
2508
+ <value>recommendation</value>
2509
+ <value>permission</value>
2510
+ <value>table</value>
2511
+ <value>figure</value>
2512
+ <value>admonition</value>
2513
+ <value>formula</value>
2514
+ <value>sourcecode</value>
2515
+ <value>example</value>
2516
+ <value>note</value>
2517
+ </choice>
2518
+ </attribute>
2519
+ <text/>
2520
+ </element>
2521
+ </define>
2522
+ <define name="imagemap">
2523
+ <element name="imagemap">
2524
+ <optional>
2525
+ <attribute name="tag"/>
2526
+ </optional>
2527
+ <optional>
2528
+ <attribute name="multilingual-rendering">
2529
+ <ref name="MultilingualRenderingType"/>
2530
+ </attribute>
2531
+ </optional>
2532
+ <ref name="figure"/>
2533
+ <zeroOrMore>
2534
+ <element name="area">
2535
+ <attribute name="type">
2536
+ <choice>
2537
+ <value>rect</value>
2538
+ <value>circle</value>
2539
+ <value>ellipse</value>
2540
+ <value>poly</value>
2541
+ </choice>
2542
+ </attribute>
2543
+ <choice>
2544
+ <ref name="xref"/>
2545
+ <ref name="hyperlink"/>
2546
+ <ref name="eref"/>
2547
+ </choice>
2548
+ <oneOrMore>
2549
+ <element name="coords">
2550
+ <attribute name="x">
2551
+ <data type="float"/>
2552
+ </attribute>
2553
+ <attribute name="y">
2554
+ <data type="float"/>
2555
+ </attribute>
2556
+ </element>
2557
+ </oneOrMore>
2558
+ <optional>
2559
+ <element name="radius">
2560
+ <attribute name="x">
2561
+ <data type="float"/>
2562
+ </attribute>
2563
+ <optional>
2564
+ <attribute name="y">
2565
+ <data type="float"/>
2566
+ </attribute>
2567
+ </optional>
2568
+ </element>
2569
+ </optional>
2570
+ </element>
2571
+ </zeroOrMore>
2572
+ </element>
2573
+ </define>
2574
+ <define name="svgmap">
2575
+ <element name="svgmap">
2576
+ <optional>
2577
+ <attribute name="tag"/>
2578
+ </optional>
2579
+ <optional>
2580
+ <attribute name="multilingual-rendering">
2581
+ <ref name="MultilingualRenderingType"/>
2582
+ </attribute>
2583
+ </optional>
2584
+ <ref name="figure"/>
2585
+ <zeroOrMore>
2586
+ <element name="target">
2587
+ <attribute name="href">
2588
+ <data type="anyURI"/>
2589
+ </attribute>
2590
+ <choice>
2591
+ <ref name="xref"/>
2592
+ <ref name="hyperlink"/>
2593
+ <ref name="eref"/>
2594
+ </choice>
2595
+ </element>
2596
+ </zeroOrMore>
2597
+ </element>
2598
+ </define>
2599
+ <define name="ul_li">
2600
+ <element name="li">
2601
+ <optional>
2602
+ <attribute name="id">
2603
+ <data type="ID"/>
2604
+ </attribute>
2605
+ </optional>
2606
+ <optional>
2607
+ <attribute name="uncheckedcheckbox">
2608
+ <data type="boolean"/>
2609
+ </attribute>
2610
+ </optional>
2611
+ <optional>
2612
+ <attribute name="checkedcheckbox">
2613
+ <data type="boolean"/>
2614
+ </attribute>
2615
+ </optional>
2616
+ <oneOrMore>
2617
+ <ref name="BasicBlock"/>
2618
+ </oneOrMore>
2619
+ </element>
2620
+ </define>
2621
+ <define name="floating-title">
2622
+ <element name="floating-title">
2623
+ <attribute name="id">
2624
+ <data type="ID"/>
2625
+ </attribute>
2626
+ <attribute name="depth">
2627
+ <data type="int"/>
2628
+ </attribute>
2629
+ <zeroOrMore>
2630
+ <ref name="TextElement"/>
2631
+ </zeroOrMore>
2632
+ </element>
2633
+ </define>
2634
+ </grammar>