metanorma-iho 0.3.11 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -58,6 +58,14 @@
58
58
  <optional>
59
59
  <attribute name="type"/>
60
60
  </optional>
61
+ <optional>
62
+ <attribute name="tag"/>
63
+ </optional>
64
+ <optional>
65
+ <attribute name="multilingual-rendering">
66
+ <ref name="MultilingualRenderingType"/>
67
+ </attribute>
68
+ </optional>
61
69
  <optional>
62
70
  <ref name="reqtitle"/>
63
71
  </optional>
@@ -101,7 +109,9 @@
101
109
  </define>
102
110
  <define name="label">
103
111
  <element name="label">
104
- <text/>
112
+ <oneOrMore>
113
+ <ref name="TextElement"/>
114
+ </oneOrMore>
105
115
  </element>
106
116
  </define>
107
117
  <define name="subject">
@@ -175,8 +185,19 @@
175
185
  <data type="boolean"/>
176
186
  </attribute>
177
187
  </optional>
188
+ <optional>
189
+ <attribute name="tag"/>
190
+ </optional>
191
+ <optional>
192
+ <attribute name="multilingual-rendering">
193
+ <ref name="MultilingualRenderingType"/>
194
+ </attribute>
195
+ </optional>
178
196
  <oneOrMore>
179
- <ref name="BasicBlock"/>
197
+ <choice>
198
+ <ref name="BasicBlock"/>
199
+ <ref name="component"/>
200
+ </choice>
180
201
  </oneOrMore>
181
202
  </define>
182
203
  <define name="ObligationType">
@@ -70,7 +70,7 @@ module IsoDoc
70
70
  end
71
71
 
72
72
  def extract_uri(bib)
73
- bib.at(ns("./uri"))
73
+ bib.at(ns("./uri[@type = 'src']")) || bib.at(ns("./uri"))
74
74
  end
75
75
 
76
76
  def omit_docid_prefix(prefix)
@@ -153,6 +153,7 @@ p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxS
153
153
  p.MsoCommentText, li.MsoCommentText, div.MsoCommentText {
154
154
  mso-style-noshow: yes;
155
155
  mso-style-unhide: no;
156
+ mso-style-name: "Comment Text";
156
157
  margin: 0cm;
157
158
  margin-bottom: .0001pt;
158
159
  mso-pagination: widow-orphan;
@@ -373,6 +374,7 @@ h1 {
373
374
  mso-style-priority: 1;
374
375
  mso-style-unhide: no;
375
376
  mso-style-qformat: yes;
377
+ mso-style-name: "Heading 1";
376
378
  mso-style-link: "Heading 1 Char";
377
379
  mso-style-next: Normal;
378
380
  margin-top: 13.5pt;
@@ -458,6 +460,7 @@ h2 {
458
460
  mso-style-priority: 2;
459
461
  mso-style-unhide: no;
460
462
  mso-style-qformat: yes;
463
+ mso-style-name: "Heading 2";
461
464
  mso-style-parent: "Heading 1";
462
465
  mso-style-link: "Heading 2 Char";
463
466
  mso-style-next: Normal;
@@ -486,7 +489,8 @@ h3 {
486
489
  mso-style-priority: 3;
487
490
  mso-style-unhide: no;
488
491
  mso-style-qformat: yes;
489
- mso-style-parent: "Heading 1";
492
+ mso-style-name: "Heading 3";
493
+ mso-style-parent: "Heading 2";
490
494
  mso-style-link: "Heading 3 Char";
491
495
  mso-style-next: Normal;
492
496
  margin-top: 3.0pt;
@@ -513,6 +517,7 @@ h4 {
513
517
  mso-style-priority: 4;
514
518
  mso-style-unhide: no;
515
519
  mso-style-qformat: yes;
520
+ mso-style-name: "Heading 4";
516
521
  mso-style-parent: "Heading 3";
517
522
  mso-style-link: "Heading 4 Char";
518
523
  mso-style-next: Normal;
@@ -540,6 +545,7 @@ h5 {
540
545
  mso-style-priority: 5;
541
546
  mso-style-unhide: no;
542
547
  mso-style-qformat: yes;
548
+ mso-style-name: "Heading 5";
543
549
  mso-style-parent: "Heading 4";
544
550
  mso-style-link: "Heading 5 Char";
545
551
  mso-style-next: Normal;
@@ -567,6 +573,7 @@ h6 {
567
573
  mso-style-priority: 6;
568
574
  mso-style-unhide: no;
569
575
  mso-style-qformat: yes;
576
+ mso-style-name: "Heading 6";
570
577
  mso-style-parent: "Heading 5";
571
578
  mso-style-link: "Heading 6 Char";
572
579
  mso-style-next: Normal;
@@ -593,6 +600,7 @@ h6 {
593
600
  p.MsoToc1, li.MsoToc1, div.MsoToc1 {
594
601
  mso-style-priority: 39;
595
602
  mso-style-unhide: no;
603
+ mso-style-name: "TOC 1";
596
604
  mso-style-next: Normal;
597
605
  margin-top: 6.0pt;
598
606
  margin-right: 25.0pt;
@@ -616,6 +624,7 @@ p.MsoToc2, li.MsoToc2, div.MsoToc2 {
616
624
  mso-style-noshow: yes;
617
625
  mso-style-priority: 39;
618
626
  mso-style-unhide: no;
627
+ mso-style-name: "TOC 2";
619
628
  mso-style-parent: "TOC 1";
620
629
  mso-style-next: Normal;
621
630
  margin-top: 0cm;
@@ -640,6 +649,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3 {
640
649
  mso-style-noshow: yes;
641
650
  mso-style-priority: 39;
642
651
  mso-style-unhide: no;
652
+ mso-style-name: "TOC 3";
643
653
  mso-style-parent: "TOC 2";
644
654
  mso-style-next: Normal;
645
655
  margin-top: 0cm;
@@ -662,6 +672,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3 {
662
672
 
663
673
  span.MsoFootnoteReference {
664
674
  mso-style-priority: 99;
675
+ mso-style-name: "Footnote Reference";
665
676
  vertical-align: super; }
666
677
 
667
678
  p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText {
@@ -139,6 +139,7 @@ p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxS
139
139
  p.MsoCommentText, li.MsoCommentText, div.MsoCommentText
140
140
  {mso-style-noshow:yes;
141
141
  mso-style-unhide:no;
142
+ mso-style-name:"Comment Text";
142
143
  margin:0cm;
143
144
  margin-bottom:.0001pt;
144
145
  mso-pagination:widow-orphan;
@@ -343,6 +344,7 @@ h1
343
344
  {mso-style-priority:1;
344
345
  mso-style-unhide:no;
345
346
  mso-style-qformat:yes;
347
+ mso-style-name:"Heading 1";
346
348
  mso-style-link:"Heading 1 Char";
347
349
  mso-style-next:Normal;
348
350
  margin-top:13.5pt;
@@ -425,6 +427,7 @@ h2
425
427
  {mso-style-priority:2;
426
428
  mso-style-unhide:no;
427
429
  mso-style-qformat:yes;
430
+ mso-style-name:"Heading 2";
428
431
  mso-style-parent:"Heading 1";
429
432
  mso-style-link:"Heading 2 Char";
430
433
  mso-style-next:Normal;
@@ -452,7 +455,8 @@ h3
452
455
  {mso-style-priority:3;
453
456
  mso-style-unhide:no;
454
457
  mso-style-qformat:yes;
455
- mso-style-parent:"Heading 1";
458
+ mso-style-name:"Heading 3";
459
+ mso-style-parent:"Heading 2";
456
460
  mso-style-link:"Heading 3 Char";
457
461
  mso-style-next:Normal;
458
462
  margin-top:3.0pt;
@@ -478,6 +482,7 @@ h4
478
482
  {mso-style-priority:4;
479
483
  mso-style-unhide:no;
480
484
  mso-style-qformat:yes;
485
+ mso-style-name:"Heading 4";
481
486
  mso-style-parent:"Heading 3";
482
487
  mso-style-link:"Heading 4 Char";
483
488
  mso-style-next:Normal;
@@ -504,6 +509,7 @@ h5
504
509
  {mso-style-priority:5;
505
510
  mso-style-unhide:no;
506
511
  mso-style-qformat:yes;
512
+ mso-style-name:"Heading 5";
507
513
  mso-style-parent:"Heading 4";
508
514
  mso-style-link:"Heading 5 Char";
509
515
  mso-style-next:Normal;
@@ -530,6 +536,7 @@ h6
530
536
  {mso-style-priority:6;
531
537
  mso-style-unhide:no;
532
538
  mso-style-qformat:yes;
539
+ mso-style-name:"Heading 6";
533
540
  mso-style-parent:"Heading 5";
534
541
  mso-style-link:"Heading 6 Char";
535
542
  mso-style-next:Normal;
@@ -555,6 +562,7 @@ h6
555
562
  p.MsoToc1, li.MsoToc1, div.MsoToc1
556
563
  {mso-style-priority:39;
557
564
  mso-style-unhide:no;
565
+ mso-style-name:"TOC 1";
558
566
  mso-style-next:Normal;
559
567
  margin-top:6.0pt;
560
568
  margin-right:25.0pt;
@@ -577,6 +585,7 @@ p.MsoToc2, li.MsoToc2, div.MsoToc2
577
585
  {mso-style-noshow:yes;
578
586
  mso-style-priority:39;
579
587
  mso-style-unhide:no;
588
+ mso-style-name:"TOC 2";
580
589
  mso-style-parent:"TOC 1";
581
590
  mso-style-next:Normal;
582
591
  margin-top:0cm;
@@ -600,6 +609,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3
600
609
  {mso-style-noshow:yes;
601
610
  mso-style-priority:39;
602
611
  mso-style-unhide:no;
612
+ mso-style-name:"TOC 3";
603
613
  mso-style-parent:"TOC 2";
604
614
  mso-style-next:Normal;
605
615
  margin-top:0cm;
@@ -621,6 +631,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3
621
631
  mso-bidi-font-weight:normal;}
622
632
  span.MsoFootnoteReference
623
633
  {mso-style-priority:99;
634
+ mso-style-name:"Footnote Reference";
624
635
  vertical-align:super;}
625
636
  p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText
626
637
  {mso-style-noshow:yes;