metanorma-iso 1.3.22 → 1.3.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/macos.yml +0 -7
- data/.github/workflows/ubuntu.yml +0 -7
- data/.github/workflows/windows.yml +0 -8
- data/Gemfile +2 -0
- data/lib/asciidoctor/iso/base.rb +6 -0
- data/lib/asciidoctor/iso/biblio.rng +53 -26
- data/lib/asciidoctor/iso/isodoc.rng +28 -1
- data/lib/isodoc/iso/base_convert.rb +20 -17
- data/lib/isodoc/iso/html/header.html +5 -5
- data/lib/isodoc/iso/html/html_iso_titlepage.html +2 -2
- data/lib/isodoc/iso/html/isodoc.scss +28 -28
- data/lib/isodoc/iso/html/scripts.html +5 -21
- data/lib/isodoc/iso/html/word_iso_titlepage.html +2 -2
- data/lib/isodoc/iso/html/wordstyle.scss +35 -35
- data/lib/isodoc/iso/html_convert.rb +0 -9
- data/lib/isodoc/iso/iso.international-standard.xsl +3979 -0
- data/lib/isodoc/iso/metadata.rb +2 -0
- data/lib/isodoc/iso/pdf_convert.rb +32 -0
- data/lib/metanorma-iso.rb +1 -0
- data/lib/metanorma/iso/processor.rb +8 -1
- data/lib/metanorma/iso/version.rb +1 -1
- data/spec/asciidoctor-iso/base_spec.rb +7 -0
- data/spec/asciidoctor-iso/cleanup_spec.rb +183 -162
- data/spec/asciidoctor-iso/inline_spec.rb +1 -0
- data/spec/asciidoctor-iso/refs_spec.rb +3 -0
- data/spec/assets/iso.xml +64 -1
- data/spec/isodoc/i18n_spec.rb +4 -12
- data/spec/isodoc/metadata_spec.rb +4 -2
- data/spec/isodoc/postproc_spec.rb +12 -6
- data/spec/isodoc/section_spec.rb +3 -7
- data/spec/isodoc/table_spec.rb +1 -1
- data/spec/isodoc/terms_spec.rb +2 -2
- data/spec/isodoc/xref_spec.rb +9 -9
- data/spec/metanorma/processor_spec.rb +2 -2
- metadata +4 -2
@@ -1,24 +1,8 @@
|
|
1
|
-
<script>
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
'container': 'main', //element to find all selectors in
|
7
|
-
'smoothScrolling': true, //enable or disable smooth scrolling on click
|
8
|
-
'prefix': 'toc', //prefix for anchor tags and class names
|
9
|
-
'onHighlight': function(el) {}, //called when a new section is highlighted
|
10
|
-
'highlightOnScroll': true, //add class to heading that is currently in focus
|
11
|
-
'highlightOffset': 100, //offset to trigger the next headline
|
12
|
-
'anchorName': function(i, heading, prefix) { //custom function for anchor name
|
13
|
-
return prefix+i;
|
14
|
-
},
|
15
|
-
'headerText': function(i, heading, $heading) { //custom function building the header-item text
|
16
|
-
return $heading.text();
|
17
|
-
},
|
18
|
-
'itemClass': function(i, heading, $heading, prefix) { // custom function for item class
|
19
|
-
return $heading[0].tagName.toLowerCase();
|
20
|
-
}
|
21
|
-
});
|
1
|
+
<script>
|
2
|
+
$("#toc").on('click', 'li', function(e) {
|
3
|
+
$(this).parent().find('li.toc-active').removeClass('toc-active');
|
4
|
+
$(this).addClass('toc-active');
|
5
|
+
});
|
22
6
|
</script>
|
23
7
|
|
24
8
|
<script>
|
@@ -6,7 +6,7 @@ style='mso-bidi-font-weight:normal'><span lang="EN-GB" style='font-size:14.0pt'>
|
|
6
6
|
{% endfor %}
|
7
7
|
{% else %}
|
8
8
|
<p class="MsoNormal" align="right" style='text-align:right'><b style='mso-bidi-font-weight:
|
9
|
-
normal'><span lang="EN-GB" style='font-size:14.0pt;mso-no-proof:yes'>{{
|
9
|
+
normal'><span lang="EN-GB" style='font-size:14.0pt;mso-no-proof:yes'>{{ docnumber_lang }} {{ draftinfo }}</span></b><b
|
10
10
|
style='mso-bidi-font-weight:normal'><span lang="EN-GB" style='font-size:14.0pt'><o:p></o:p></span></b></p>
|
11
11
|
{% endif %}
|
12
12
|
|
@@ -15,7 +15,7 @@ style='mso-bidi-font-weight:normal'><span lang="EN-GB" style='font-size:14.0pt'>
|
|
15
15
|
{% endif %}
|
16
16
|
|
17
17
|
{% if tc_docnumber.size > 0 %}
|
18
|
-
<p class="MsoNormal" align="right" style='text-align:right'><span lang="EN-GB" style='mso-no-proof:yes'>{{
|
18
|
+
<p class="MsoNormal" align="right" style='text-align:right'><span lang="EN-GB" style='mso-no-proof:yes'>{{ docnumber_lang }} {{ draftinfo }}</span></p>
|
19
19
|
{% endif %}
|
20
20
|
|
21
21
|
<p class="MsoNormal" align="right" style='text-align:right'><span lang="EN-GB"
|
@@ -63,7 +63,7 @@ p.MsoNormal, li.MsoNormal, div.MsoNormal
|
|
63
63
|
tab-stops:20.15pt;
|
64
64
|
font-size:11.0pt;
|
65
65
|
font-family:$bodyfont;
|
66
|
-
mso-fareast-font-family
|
66
|
+
mso-fareast-font-family:"SimSun",serif;
|
67
67
|
mso-bidi-font-family:$bodyfont;
|
68
68
|
mso-ansi-language:EN-GB;}
|
69
69
|
p.MsoNormalIndent, li.MsoNormalIndent, div.MsoNormalIndent
|
@@ -78,7 +78,7 @@ p.MsoNormalIndent, li.MsoNormalIndent, div.MsoNormalIndent
|
|
78
78
|
tab-stops:20.15pt;
|
79
79
|
font-size:11.0pt;
|
80
80
|
font-family:$bodyfont;
|
81
|
-
mso-fareast-font-family
|
81
|
+
mso-fareast-font-family:"SimSun",serif;
|
82
82
|
mso-bidi-font-family:$bodyfont;
|
83
83
|
mso-ansi-language:EN-GB;}
|
84
84
|
p.MsoBlockText, li.MsoBlockText, div.MsoBlockText
|
@@ -98,7 +98,7 @@ p.MsoBlockText, li.MsoBlockText, div.MsoBlockText
|
|
98
98
|
font-family:$bodyfont;
|
99
99
|
mso-ascii-font-family:$bodyfont;
|
100
100
|
mso-ascii-theme-font:minor-latin;
|
101
|
-
mso-fareast-font-family
|
101
|
+
mso-fareast-font-family:"SimSun",serif;
|
102
102
|
mso-fareast-theme-font:minor-fareast;
|
103
103
|
mso-hansi-font-family:$bodyfont;
|
104
104
|
mso-hansi-theme-font:minor-latin;
|
@@ -187,7 +187,7 @@ h1
|
|
187
187
|
font-size:13.0pt;
|
188
188
|
mso-bidi-font-size:11.0pt;
|
189
189
|
font-family:$headerfont;
|
190
|
-
mso-fareast-font-family
|
190
|
+
mso-fareast-font-family:"SimHei",serif;
|
191
191
|
mso-font-kerning:0pt;
|
192
192
|
mso-ansi-language:EN-GB;
|
193
193
|
mso-fareast-language:JA;
|
@@ -215,7 +215,7 @@ h1.Annex
|
|
215
215
|
font-size:13.0pt;
|
216
216
|
mso-bidi-font-size:11.0pt;
|
217
217
|
font-family:$headerfont;
|
218
|
-
mso-fareast-font-family
|
218
|
+
mso-fareast-font-family:"SimHei",serif;
|
219
219
|
mso-font-kerning:0pt;
|
220
220
|
mso-ansi-language:EN-GB;
|
221
221
|
mso-fareast-language:JA;
|
@@ -242,7 +242,7 @@ h1.Annex
|
|
242
242
|
font-weight:bold;
|
243
243
|
mso-bidi-font-size:11.0pt;
|
244
244
|
font-family:$headerfont;
|
245
|
-
mso-fareast-font-family
|
245
|
+
mso-fareast-font-family:"SimHei",serif;
|
246
246
|
mso-ansi-language:EN-GB;
|
247
247
|
mso-fareast-language:JA;
|
248
248
|
mso-bidi-font-weight:normal;}
|
@@ -269,7 +269,7 @@ h2
|
|
269
269
|
font-size:11.0pt;
|
270
270
|
font-family:$headerfont;
|
271
271
|
font-weight:bold;
|
272
|
-
mso-fareast-font-family
|
272
|
+
mso-fareast-font-family:"SimHei",serif;
|
273
273
|
mso-ansi-language:EN-GB;
|
274
274
|
mso-fareast-language:JA;
|
275
275
|
mso-bidi-font-weight:normal;}
|
@@ -295,7 +295,7 @@ h3 {mso-list:l1 level3 lfo6;}
|
|
295
295
|
font-size:11.0pt;
|
296
296
|
font-family:$headerfont;
|
297
297
|
font-weight:bold;
|
298
|
-
mso-fareast-font-family
|
298
|
+
mso-fareast-font-family:"SimHei",serif;
|
299
299
|
mso-ansi-language:EN-GB;
|
300
300
|
mso-fareast-language:JA;
|
301
301
|
mso-bidi-font-weight:normal;}
|
@@ -321,7 +321,7 @@ h4 {mso-list:l1 level4 lfo6;}
|
|
321
321
|
font-size:11.0pt;
|
322
322
|
font-family:$headerfont;
|
323
323
|
font-weight:bold;
|
324
|
-
mso-fareast-font-family
|
324
|
+
mso-fareast-font-family:"SimHei",serif;
|
325
325
|
mso-ansi-language:EN-GB;
|
326
326
|
mso-fareast-language:JA;
|
327
327
|
mso-bidi-font-weight:normal;}
|
@@ -347,7 +347,7 @@ h6
|
|
347
347
|
font-size:11.0pt;
|
348
348
|
font-family:$headerfont;
|
349
349
|
font-weight:bold;
|
350
|
-
mso-fareast-font-family
|
350
|
+
mso-fareast-font-family:"SimHei",serif;
|
351
351
|
mso-ansi-language:EN-GB;
|
352
352
|
mso-fareast-language:JA;
|
353
353
|
mso-bidi-font-weight:normal;}
|
@@ -368,7 +368,7 @@ p.MsoToc1, li.MsoToc1, div.MsoToc1
|
|
368
368
|
tab-stops:20.15pt 36.0pt right dotted 487.6pt;
|
369
369
|
font-size:11.0pt;
|
370
370
|
font-family:$bodyfont;
|
371
|
-
mso-fareast-font-family
|
371
|
+
mso-fareast-font-family:"SimHei",serif;
|
372
372
|
mso-bidi-font-family:$bodyfont;
|
373
373
|
mso-ansi-language:EN-GB;
|
374
374
|
font-weight:bold;
|
@@ -391,7 +391,7 @@ p.MsoToc2, li.MsoToc2, div.MsoToc2
|
|
391
391
|
tab-stops:20.15pt 36.0pt right dotted 487.6pt;
|
392
392
|
font-size:11.0pt;
|
393
393
|
font-family:$bodyfont;
|
394
|
-
mso-fareast-font-family
|
394
|
+
mso-fareast-font-family:"SimSun",serif;
|
395
395
|
mso-bidi-font-family:$bodyfont;
|
396
396
|
mso-ansi-language:EN-GB;
|
397
397
|
font-weight:bold;
|
@@ -414,7 +414,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3
|
|
414
414
|
tab-stops:20.15pt 36.0pt right dotted 487.6pt;
|
415
415
|
font-size:11.0pt;
|
416
416
|
font-family:$bodyfont;
|
417
|
-
mso-fareast-font-family
|
417
|
+
mso-fareast-font-family:"SimSun",serif;
|
418
418
|
mso-bidi-font-family:$bodyfont;
|
419
419
|
mso-ansi-language:EN-GB;
|
420
420
|
font-weight:bold;
|
@@ -435,7 +435,7 @@ p.MsoHeader, li.MsoHeader, div.MsoHeader
|
|
435
435
|
tab-stops:20.15pt;
|
436
436
|
font-size:11.0pt;
|
437
437
|
font-family:$headerfont;
|
438
|
-
mso-fareast-font-family
|
438
|
+
mso-fareast-font-family:"SimHei",serif;
|
439
439
|
mso-bidi-font-family:$headerfont;
|
440
440
|
mso-ansi-language:EN-GB;
|
441
441
|
font-weight:bold;
|
@@ -456,7 +456,7 @@ p.MsoHeaderLandscape, li.MsoHeaderLandscape, div.MsoHeaderLandscape
|
|
456
456
|
tab-stops:20.15pt;
|
457
457
|
font-size:11.0pt;
|
458
458
|
font-family:$headerfont;
|
459
|
-
mso-fareast-font-family
|
459
|
+
mso-fareast-font-family:"SimHei",serif;
|
460
460
|
mso-bidi-font-family:$headerfont;
|
461
461
|
mso-ansi-language:EN-GB;
|
462
462
|
font-weight:bold;
|
@@ -477,7 +477,7 @@ p.MsoFooter, li.MsoFooter, div.MsoFooter
|
|
477
477
|
tab-stops:right 487.6pt;
|
478
478
|
font-size:11.0pt;
|
479
479
|
font-family:$headerfont;
|
480
|
-
mso-fareast-font-family
|
480
|
+
mso-fareast-font-family:"SimHei",serif;
|
481
481
|
mso-bidi-font-family:$headerfont;
|
482
482
|
mso-ansi-language:EN-GB;}
|
483
483
|
p.MsoFooterLandscape, li.MsoFooterLandscape, div.MsoFooterLandscape
|
@@ -496,7 +496,7 @@ p.MsoFooterLandscape, li.MsoFooterLandscape, div.MsoFooterLandscape
|
|
496
496
|
tab-stops:right 734.0pt;
|
497
497
|
font-size:11.0pt;
|
498
498
|
font-family:$headerfont;
|
499
|
-
mso-fareast-font-family
|
499
|
+
mso-fareast-font-family:"SimHei",serif;
|
500
500
|
mso-bidi-font-family:$headerfont;
|
501
501
|
mso-ansi-language:EN-GB;}
|
502
502
|
span.MsoFootnoteReference
|
@@ -516,7 +516,7 @@ p.MsoFootnoteText, li.MsoFootnoteText, div.MsoFootnoteText
|
|
516
516
|
tab-stops:20.15pt;
|
517
517
|
font-size:10.0pt;
|
518
518
|
font-family:$bodyfont;
|
519
|
-
mso-fareast-font-family
|
519
|
+
mso-fareast-font-family:"SimSun",serif;
|
520
520
|
mso-bidi-font-family:$bodyfont;
|
521
521
|
mso-ansi-language:EN-GB;
|
522
522
|
mso-fareast-language:EN-US;}
|
@@ -534,7 +534,7 @@ p.MsoBodyText, li.MsoBodyText, div.MsoBodyText
|
|
534
534
|
mso-pagination:widow-orphan;
|
535
535
|
font-size:11.0pt;
|
536
536
|
font-family:$bodyfont;
|
537
|
-
mso-fareast-font-family
|
537
|
+
mso-fareast-font-family:"SimSun",serif;
|
538
538
|
mso-bidi-font-family:$bodyfont;
|
539
539
|
mso-ansi-language:EN-GB;}
|
540
540
|
a:link, span.MsoHyperlink
|
@@ -568,7 +568,7 @@ span.Heading1Char
|
|
568
568
|
mso-ansi-font-size:13.0pt;
|
569
569
|
font-family:$headerfont;
|
570
570
|
mso-ascii-font-family:Cambria;
|
571
|
-
mso-fareast-font-family
|
571
|
+
mso-fareast-font-family:"SimHei",serif;
|
572
572
|
mso-hansi-font-family:$headerfont;
|
573
573
|
mso-ansi-language:EN-GB;
|
574
574
|
mso-fareast-language:JA;
|
@@ -584,7 +584,7 @@ span.Heading2Char
|
|
584
584
|
mso-ansi-font-size:12.0pt;
|
585
585
|
font-family:$headerfont;
|
586
586
|
mso-ascii-font-family:Cambria;
|
587
|
-
mso-fareast-font-family
|
587
|
+
mso-fareast-font-family:"SimHei",serif;
|
588
588
|
mso-hansi-font-family:$headerfont;
|
589
589
|
mso-ansi-language:EN-GB;
|
590
590
|
mso-fareast-language:JA;
|
@@ -600,7 +600,7 @@ span.Heading3Char
|
|
600
600
|
mso-ansi-font-size:11.0pt;
|
601
601
|
font-family:$headerfont;
|
602
602
|
mso-ascii-font-family:$headerfont;
|
603
|
-
mso-fareast-font-family
|
603
|
+
mso-fareast-font-family:"SimHei",serif;
|
604
604
|
mso-hansi-font-family:$headerfont;
|
605
605
|
mso-ansi-language:EN-GB;
|
606
606
|
mso-fareast-language:JA;
|
@@ -616,7 +616,7 @@ span.Heading4Char
|
|
616
616
|
mso-ansi-font-size:11.0pt;
|
617
617
|
font-family:$headerfont;
|
618
618
|
mso-ascii-font-family:$headerfont;
|
619
|
-
mso-fareast-font-family
|
619
|
+
mso-fareast-font-family:"SimHei",serif;
|
620
620
|
mso-hansi-font-family:$headerfont;
|
621
621
|
mso-ansi-language:EN-GB;
|
622
622
|
mso-fareast-language:JA;
|
@@ -632,7 +632,7 @@ span.Heading5Char
|
|
632
632
|
mso-ansi-font-size:11.0pt;
|
633
633
|
font-family:$headerfont;
|
634
634
|
mso-ascii-font-family:$headerfont;
|
635
|
-
mso-fareast-font-family
|
635
|
+
mso-fareast-font-family:"SimHei",serif;
|
636
636
|
mso-hansi-font-family:$headerfont;
|
637
637
|
mso-ansi-language:EN-GB;
|
638
638
|
mso-fareast-language:JA;
|
@@ -648,7 +648,7 @@ span.Heading6Char
|
|
648
648
|
mso-ansi-font-size:11.0pt;
|
649
649
|
font-family:$headerfont;
|
650
650
|
mso-ascii-font-family:$headerfont;
|
651
|
-
mso-fareast-font-family
|
651
|
+
mso-fareast-font-family:"SimHei",serif;
|
652
652
|
mso-hansi-font-family:$headerfont;
|
653
653
|
mso-ansi-language:EN-GB;
|
654
654
|
mso-fareast-language:JA;
|
@@ -673,7 +673,7 @@ p.a2, li.a2, div.a2
|
|
673
673
|
font-size:13.0pt;
|
674
674
|
mso-bidi-font-size:11.0pt;
|
675
675
|
font-family:$bodyfont;
|
676
|
-
mso-fareast-font-family
|
676
|
+
mso-fareast-font-family:"SimHei",serif;
|
677
677
|
mso-bidi-font-family:$headerfont;
|
678
678
|
mso-ansi-language:EN-GB;
|
679
679
|
mso-fareast-language:JA;
|
@@ -698,7 +698,7 @@ p.a3, li.a3, div.a3
|
|
698
698
|
font-size:12.0pt;
|
699
699
|
mso-bidi-font-size:11.0pt;
|
700
700
|
font-family:$bodyfont;
|
701
|
-
mso-fareast-font-family
|
701
|
+
mso-fareast-font-family:"SimHei",serif;
|
702
702
|
mso-bidi-font-family:$headerfont;
|
703
703
|
mso-ansi-language:EN-GB;
|
704
704
|
mso-fareast-language:JA;
|
@@ -722,7 +722,7 @@ p.a4, li.a4, div.a4
|
|
722
722
|
tab-stops:20.15pt 44.0pt list 54.0pt;
|
723
723
|
font-size:11.0pt;
|
724
724
|
font-family:$bodyfont;
|
725
|
-
mso-fareast-font-family
|
725
|
+
mso-fareast-font-family:"SimHei",serif;
|
726
726
|
mso-bidi-font-family:$headerfont;
|
727
727
|
mso-ansi-language:EN-GB;
|
728
728
|
mso-fareast-language:JA;
|
@@ -746,7 +746,7 @@ p.a5, li.a5, div.a5
|
|
746
746
|
tab-stops:20.15pt list 54.0pt left 62.35pt 68.0pt;
|
747
747
|
font-size:11.0pt;
|
748
748
|
font-family:$bodyfont;
|
749
|
-
mso-fareast-font-family
|
749
|
+
mso-fareast-font-family:"SimHei",serif;
|
750
750
|
mso-bidi-font-family:$headerfont;
|
751
751
|
mso-ansi-language:EN-GB;
|
752
752
|
mso-fareast-language:JA;
|
@@ -770,7 +770,7 @@ p.a6, li.a6, div.a6
|
|
770
770
|
tab-stops:20.15pt 62.35pt 68.0pt list 72.0pt;
|
771
771
|
font-size:11.0pt;
|
772
772
|
font-family:$bodyfont;
|
773
|
-
mso-fareast-font-family
|
773
|
+
mso-fareast-font-family:"SimHei",serif;
|
774
774
|
mso-bidi-font-family:$headerfont;
|
775
775
|
mso-ansi-language:EN-GB;
|
776
776
|
mso-fareast-language:JA;
|
@@ -810,7 +810,7 @@ span.BodyTextChar
|
|
810
810
|
mso-ansi-font-size:11.0pt;
|
811
811
|
mso-bidi-font-size:11.0pt;
|
812
812
|
font-family:$bodyfont;
|
813
|
-
mso-fareast-font-family
|
813
|
+
mso-fareast-font-family:"SimSun",serif;
|
814
814
|
mso-ansi-language:EN-GB;}
|
815
815
|
p.MsoCommentText, li.MsoCommentText, div.MsoCommentText
|
816
816
|
{mso-style-noshow:yes;
|
@@ -826,7 +826,7 @@ p.MsoCommentText, li.MsoCommentText, div.MsoCommentText
|
|
826
826
|
tab-stops:20.15pt;
|
827
827
|
font-size:12.0pt;
|
828
828
|
font-family:$bodyfont;
|
829
|
-
mso-fareast-font-family
|
829
|
+
mso-fareast-font-family:"SimSun",serif;
|
830
830
|
mso-bidi-font-family:$bodyfont;
|
831
831
|
mso-ansi-language:EN-GB;
|
832
832
|
mso-fareast-language:EN-US;}
|
@@ -852,7 +852,7 @@ p.MsoCommentSubject, li.MsoCommentSubject, div.MsoCommentSubject
|
|
852
852
|
tab-stops:20.15pt;
|
853
853
|
font-size:10.0pt;
|
854
854
|
font-family:$headerfont;
|
855
|
-
mso-fareast-font-family
|
855
|
+
mso-fareast-font-family:"SimHei",serif;
|
856
856
|
mso-bidi-font-family:$headerfont;
|
857
857
|
mso-ansi-language:EN-GB;
|
858
858
|
mso-fareast-language:EN-US;
|
@@ -870,14 +870,14 @@ p.Tablebody, li.Tablebody, div.Tablebody
|
|
870
870
|
font-size:10.0pt;
|
871
871
|
mso-bidi-font-size:11.0pt;
|
872
872
|
font-family:$bodyfont;
|
873
|
-
mso-fareast-font-family
|
873
|
+
mso-fareast-font-family:"SimSun",serif;
|
874
874
|
mso-bidi-font-family:$bodyfont;
|
875
875
|
mso-ansi-language:EN-GB;}
|
876
876
|
.MsoChpDefault
|
877
877
|
{mso-style-type:export-only;
|
878
878
|
mso-default-props:yes;
|
879
879
|
mso-ascii-font-family:$bodyfont;
|
880
|
-
mso-fareast-font-family
|
880
|
+
mso-fareast-font-family:"SimSun",serif;
|
881
881
|
mso-hansi-font-family:$bodyfont;}
|
882
882
|
/* Page Definitions */
|
883
883
|
@page
|
@@ -31,15 +31,6 @@ module IsoDoc
|
|
31
31
|
}
|
32
32
|
end
|
33
33
|
|
34
|
-
def insertall_after_here(node, insert, name)
|
35
|
-
node.children.each do |n|
|
36
|
-
next unless n.name == name
|
37
|
-
insert.next = n.remove
|
38
|
-
insert = n
|
39
|
-
end
|
40
|
-
insert
|
41
|
-
end
|
42
|
-
|
43
34
|
def footnote_reference_format(a)
|
44
35
|
a.content = a.content + ")"
|
45
36
|
end
|
@@ -0,0 +1,3979 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:iso="https://www.metanorma.org/ns/iso" xmlns:mathml="http://www.w3.org/1998/Math/MathML" xmlns:xalan="http://xml.apache.org/xalan" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions" version="1.0">
|
2
|
+
|
3
|
+
<xsl:output method="xml" encoding="UTF-8" indent="no"/>
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
<xsl:variable name="debug">false</xsl:variable>
|
10
|
+
<xsl:variable name="pageWidth" select="'210mm'"/>
|
11
|
+
<xsl:variable name="pageHeight" select="'297mm'"/>
|
12
|
+
|
13
|
+
<xsl:variable name="copyrightText" select="concat('© ISO ', iso:iso-standard/iso:bibdata/iso:copyright/iso:from ,' – All rights reserved')"/>
|
14
|
+
|
15
|
+
<xsl:variable name="lang-1st-letter_tmp" select="substring-before(substring-after(/iso:iso-standard/iso:bibdata/iso:docidentifier[@type = 'iso-with-lang'], '('), ')')"/>
|
16
|
+
<xsl:variable name="lang-1st-letter" select="concat('(', $lang-1st-letter_tmp , ')')"/>
|
17
|
+
|
18
|
+
<xsl:variable name="ISOname" select="concat(/iso:iso-standard/iso:bibdata/iso:docidentifier, ':', /iso:iso-standard/iso:bibdata/iso:copyright/iso:from , $lang-1st-letter)"/>
|
19
|
+
|
20
|
+
<!-- Information and documentation — Codes for transcription systems -->
|
21
|
+
<xsl:variable name="title-en" select="/iso:iso-standard/iso:bibdata/iso:title[@language = 'en' and @type = 'main']"/>
|
22
|
+
<xsl:variable name="title-fr" select="/iso:iso-standard/iso:bibdata/iso:title[@language = 'fr' and @type = 'main']"/>
|
23
|
+
<xsl:variable name="title-intro" select="/iso:iso-standard/iso:bibdata/iso:title[@language = 'en' and @type = 'title-intro']"/>
|
24
|
+
<xsl:variable name="title-intro-fr" select="/iso:iso-standard/iso:bibdata/iso:title[@language = 'fr' and @type = 'title-intro']"/>
|
25
|
+
<xsl:variable name="title-main" select="/iso:iso-standard/iso:bibdata/iso:title[@language = 'en' and @type = 'title-main']"/>
|
26
|
+
<xsl:variable name="title-main-fr" select="/iso:iso-standard/iso:bibdata/iso:title[@language = 'fr' and @type = 'title-main']"/>
|
27
|
+
<xsl:variable name="part" select="/iso:iso-standard/iso:bibdata/iso:ext/iso:structuredidentifier/iso:project-number/@part"/>
|
28
|
+
<xsl:variable name="title-part" select="/iso:iso-standard/iso:bibdata/iso:title[@language = 'en' and @type = 'title-part']"/>
|
29
|
+
<xsl:variable name="title-part-fr" select="/iso:iso-standard/iso:bibdata/iso:title[@language = 'fr' and @type = 'title-part']"/>
|
30
|
+
|
31
|
+
<xsl:variable name="doctype" select="/iso:iso-standard/iso:bibdata/iso:ext/iso:doctype"/>
|
32
|
+
<xsl:variable name="doctype_uppercased" select="translate(translate($doctype,'-',' '), $lower,$upper)"/>
|
33
|
+
|
34
|
+
<xsl:variable name="stage" select="number(/iso:iso-standard/iso:bibdata/iso:status/iso:stage)"/>
|
35
|
+
<xsl:variable name="stage-abbrev" select="normalize-space(/iso:iso-standard/iso:bibdata/iso:status/iso:stage/@abbreviation)"/>
|
36
|
+
<xsl:variable name="stage-fullname" select="normalize-space(/iso:iso-standard/iso:bibdata/iso:ext/iso:stagename)"/>
|
37
|
+
<xsl:variable name="substage" select="number(/iso:iso-standard/iso:bibdata/iso:status/iso:substage)"/>
|
38
|
+
<xsl:variable name="iteration" select="number(/iso:iso-standard/iso:bibdata/iso:status/iso:iteration)"/>
|
39
|
+
<xsl:variable name="stage-name">
|
40
|
+
<xsl:choose>
|
41
|
+
<xsl:when test="$stage-abbrev != ''">
|
42
|
+
<xsl:value-of select="$stage-abbrev"/>
|
43
|
+
</xsl:when>
|
44
|
+
<!-- and $substage = 0 -->
|
45
|
+
<xsl:when test="$stage = 0">NWIP</xsl:when> <!-- NWIP (NP, PWI) -->
|
46
|
+
<xsl:when test="$stage = 10">AWI</xsl:when>
|
47
|
+
<xsl:when test="$stage = 20">WD</xsl:when>
|
48
|
+
<xsl:when test="$stage = 30">CD</xsl:when>
|
49
|
+
<xsl:when test="$stage = 40">DIS</xsl:when>
|
50
|
+
<xsl:when test="$stage = 50">FDIS</xsl:when>
|
51
|
+
<xsl:when test="$stage = 60 and $substage = 0">IS</xsl:when>
|
52
|
+
<xsl:when test="$stage >=60">published</xsl:when>
|
53
|
+
<xsl:otherwise/>
|
54
|
+
</xsl:choose>
|
55
|
+
</xsl:variable>
|
56
|
+
|
57
|
+
<!-- UPPERCASED stage name -->
|
58
|
+
<xsl:variable name="stage-name-uppercased">
|
59
|
+
<xsl:if test="$stage-fullname != '' and $stage-abbrev != ''">
|
60
|
+
<item name="{$stage-abbrev}">
|
61
|
+
<xsl:if test="$stage-abbrev = 'NWIP'">
|
62
|
+
<xsl:attribute name="show">true</xsl:attribute>
|
63
|
+
<xsl:attribute name="header">PRELIMINARY WORK ITEM</xsl:attribute>
|
64
|
+
</xsl:if>
|
65
|
+
<xsl:if test="$stage-abbrev = 'AWI'">
|
66
|
+
<xsl:attribute name="show">true</xsl:attribute>
|
67
|
+
<xsl:attribute name="header">APPROVED WORK ITEM</xsl:attribute>
|
68
|
+
</xsl:if>
|
69
|
+
<xsl:if test="$stage-abbrev = 'WD'">
|
70
|
+
<xsl:attribute name="show">true</xsl:attribute>
|
71
|
+
<xsl:attribute name="header">WORKING DRAFT</xsl:attribute>
|
72
|
+
</xsl:if>
|
73
|
+
<xsl:if test="$stage-abbrev = 'CD'">
|
74
|
+
<xsl:attribute name="show">true</xsl:attribute>
|
75
|
+
<xsl:attribute name="header">COMMITTEE DRAFT</xsl:attribute>
|
76
|
+
</xsl:if>
|
77
|
+
<xsl:if test="$stage-abbrev = 'DIS'">
|
78
|
+
<xsl:attribute name="show">true</xsl:attribute>
|
79
|
+
<xsl:attribute name="header">DRAFT INTERNATIONAL STANDARD</xsl:attribute>
|
80
|
+
</xsl:if>
|
81
|
+
<xsl:if test="$stage-abbrev = 'FDIS'">
|
82
|
+
<xsl:attribute name="show">true</xsl:attribute>
|
83
|
+
<xsl:attribute name="header">FINAL DRAFT INTERNATIONAL STANDARD</xsl:attribute>
|
84
|
+
</xsl:if>
|
85
|
+
<xsl:value-of select="translate($stage-fullname, $lower, $upper)"/>
|
86
|
+
</item>
|
87
|
+
</xsl:if>
|
88
|
+
<item name="NWIP" show="true" header="PRELIMINARY WORK ITEM">NEW WORK ITEM PROPOSAL DRAFT</item>
|
89
|
+
<item name="AWI" show="true" header="APPROVED WORK ITEM">APPROVED WORK ITEM</item>
|
90
|
+
<item name="WD" show="true" header="WORKING DRAFT">WORKING DRAFT</item>
|
91
|
+
<item name="CD" show="true" header="COMMITTEE DRAFT">COMMITTEE DRAFT</item>
|
92
|
+
<item name="DIS" show="true" header="DRAFT INTERNATIONAL STANDARD">DRAFT</item>
|
93
|
+
<item name="FDIS" show="true" header="FINAL DRAFT INTERNATIONAL STANDARD">FINAL DRAFT</item>
|
94
|
+
<item name="IS">PROOF</item>
|
95
|
+
</xsl:variable>
|
96
|
+
|
97
|
+
<!--
|
98
|
+
<status>
|
99
|
+
<stage>30</stage>
|
100
|
+
<substage>92</substage>
|
101
|
+
</status>
|
102
|
+
The <stage> and <substage> values are well defined,
|
103
|
+
as the International Harmonized Stage Codes (https://www.iso.org/stage-codes.html):
|
104
|
+
stage 60 means published, everything before is a Draft (90 means withdrawn, but the document doesn't change anymore) -->
|
105
|
+
<xsl:variable name="isPublished">
|
106
|
+
<xsl:choose>
|
107
|
+
<xsl:when test="string($stage) = 'NaN'">false</xsl:when>
|
108
|
+
<xsl:when test="$stage >=60">true</xsl:when>
|
109
|
+
<xsl:when test="normalize-space($stage-name) != ''">true</xsl:when>
|
110
|
+
<xsl:otherwise>false</xsl:otherwise>
|
111
|
+
</xsl:choose>
|
112
|
+
</xsl:variable>
|
113
|
+
|
114
|
+
<xsl:variable name="document-master-reference">
|
115
|
+
<xsl:choose>
|
116
|
+
<xsl:when test="$stage-name != ''">-publishedISO</xsl:when>
|
117
|
+
<xsl:otherwise/>
|
118
|
+
</xsl:choose>
|
119
|
+
</xsl:variable>
|
120
|
+
|
121
|
+
<xsl:variable name="proof-text">PROOF/ÉPREUVE</xsl:variable>
|
122
|
+
|
123
|
+
<xsl:variable name="title-figure">
|
124
|
+
<xsl:text>Figure </xsl:text>
|
125
|
+
</xsl:variable>
|
126
|
+
|
127
|
+
<!-- Example:
|
128
|
+
<item level="1" id="Foreword" display="true">Foreword</item>
|
129
|
+
<item id="term-script" display="false">3.2</item>
|
130
|
+
-->
|
131
|
+
<xsl:variable name="contents">
|
132
|
+
<contents>
|
133
|
+
<xsl:apply-templates select="/iso:iso-standard/iso:preface/node()" mode="contents"/>
|
134
|
+
<!-- <xsl:with-param name="sectionNum" select="'0'"/>
|
135
|
+
</xsl:apply-templates> -->
|
136
|
+
<xsl:apply-templates select="/iso:iso-standard/iso:sections/iso:clause[1]" mode="contents"> <!-- [@id = '_scope'] -->
|
137
|
+
<xsl:with-param name="sectionNum" select="'1'"/>
|
138
|
+
</xsl:apply-templates>
|
139
|
+
<xsl:apply-templates select="/iso:iso-standard/iso:bibliography/iso:references[1]" mode="contents"> <!-- [@id = '_normative_references'] -->
|
140
|
+
<xsl:with-param name="sectionNum" select="'2'"/>
|
141
|
+
</xsl:apply-templates>
|
142
|
+
<xsl:apply-templates select="/iso:iso-standard/iso:sections/*[position() > 1]" mode="contents"> <!-- @id != '_scope' -->
|
143
|
+
<xsl:with-param name="sectionNumSkew" select="'1'"/>
|
144
|
+
</xsl:apply-templates>
|
145
|
+
<xsl:apply-templates select="/iso:iso-standard/iso:annex" mode="contents"/>
|
146
|
+
<xsl:apply-templates select="/iso:iso-standard/iso:bibliography/iso:references[position() > 1]" mode="contents"/> <!-- @id = '_bibliography' -->
|
147
|
+
|
148
|
+
<xsl:apply-templates select="//iso:figure" mode="contents"/>
|
149
|
+
|
150
|
+
<xsl:apply-templates select="//iso:table" mode="contents"/>
|
151
|
+
|
152
|
+
</contents>
|
153
|
+
</xsl:variable>
|
154
|
+
|
155
|
+
<xsl:variable name="lang">
|
156
|
+
<xsl:call-template name="getLang"/>
|
157
|
+
</xsl:variable>
|
158
|
+
|
159
|
+
<xsl:template match="/">
|
160
|
+
<xsl:message>INFO: Document namespace: '<xsl:value-of select="namespace-uri(/*)"/>'</xsl:message>
|
161
|
+
<fo:root font-family="Cambria, Times New Roman, Cambria Math, HanSans" font-size="11pt" xml:lang="{$lang}"> <!-- -->
|
162
|
+
<fo:layout-master-set>
|
163
|
+
|
164
|
+
<!-- cover page -->
|
165
|
+
<fo:simple-page-master master-name="cover-page" page-width="{$pageWidth}" page-height="{$pageHeight}">
|
166
|
+
<fo:region-body margin-top="25.4mm" margin-bottom="25.4mm" margin-left="31.7mm" margin-right="31.7mm"/>
|
167
|
+
<fo:region-before region-name="cover-page-header" extent="25.4mm"/>
|
168
|
+
<fo:region-after/>
|
169
|
+
<fo:region-start region-name="cover-left-region" extent="31.7mm"/>
|
170
|
+
<fo:region-end region-name="cover-right-region" extent="31.7mm"/>
|
171
|
+
</fo:simple-page-master>
|
172
|
+
|
173
|
+
<fo:simple-page-master master-name="cover-page-published" page-width="{$pageWidth}" page-height="{$pageHeight}">
|
174
|
+
<fo:region-body margin-top="12.7mm" margin-bottom="40mm" margin-left="78mm" margin-right="18.5mm"/>
|
175
|
+
<fo:region-before region-name="cover-page-header" extent="12.7mm"/>
|
176
|
+
<fo:region-after region-name="cover-page-footer" extent="40mm" display-align="after"/>
|
177
|
+
<fo:region-start region-name="cover-left-region" extent="78mm"/>
|
178
|
+
<fo:region-end region-name="cover-right-region" extent="18.5mm"/>
|
179
|
+
</fo:simple-page-master>
|
180
|
+
|
181
|
+
|
182
|
+
<fo:simple-page-master master-name="cover-page-publishedISO-odd" page-width="{$pageWidth}" page-height="{$pageHeight}">
|
183
|
+
<fo:region-body margin-top="12.7mm" margin-bottom="40mm" margin-left="25mm" margin-right="12.5mm"/>
|
184
|
+
<fo:region-before region-name="cover-page-header" extent="12.7mm"/>
|
185
|
+
<fo:region-after region-name="cover-page-footer" extent="40mm" display-align="after"/>
|
186
|
+
<fo:region-start region-name="cover-left-region" extent="25mm"/>
|
187
|
+
<fo:region-end region-name="cover-right-region" extent="12.5mm"/>
|
188
|
+
</fo:simple-page-master>
|
189
|
+
<fo:simple-page-master master-name="cover-page-publishedISO-even" page-width="{$pageWidth}" page-height="{$pageHeight}">
|
190
|
+
<fo:region-body margin-top="12.7mm" margin-bottom="40mm" margin-left="12.5mm" margin-right="25mm"/>
|
191
|
+
<fo:region-before region-name="cover-page-header" extent="12.7mm"/>
|
192
|
+
<fo:region-after region-name="cover-page-footer" extent="40mm" display-align="after"/>
|
193
|
+
<fo:region-start region-name="cover-left-region" extent="12.5mm"/>
|
194
|
+
<fo:region-end region-name="cover-right-region" extent="25mm"/>
|
195
|
+
</fo:simple-page-master>
|
196
|
+
<fo:page-sequence-master master-name="cover-page-publishedISO">
|
197
|
+
<fo:repeatable-page-master-alternatives>
|
198
|
+
<fo:conditional-page-master-reference odd-or-even="even" master-reference="cover-page-publishedISO-even"/>
|
199
|
+
<fo:conditional-page-master-reference odd-or-even="odd" master-reference="cover-page-publishedISO-odd"/>
|
200
|
+
</fo:repeatable-page-master-alternatives>
|
201
|
+
</fo:page-sequence-master>
|
202
|
+
|
203
|
+
|
204
|
+
<!-- contents pages -->
|
205
|
+
<!-- odd pages -->
|
206
|
+
<fo:simple-page-master master-name="odd" page-width="{$pageWidth}" page-height="{$pageHeight}">
|
207
|
+
<fo:region-body margin-top="27.4mm" margin-bottom="13mm" margin-left="19mm" margin-right="19mm"/>
|
208
|
+
<fo:region-before region-name="header-odd" extent="27.4mm"/> <!-- display-align="center" -->
|
209
|
+
<fo:region-after region-name="footer-odd" extent="13mm"/>
|
210
|
+
<fo:region-start region-name="left-region" extent="19mm"/>
|
211
|
+
<fo:region-end region-name="right-region" extent="19mm"/>
|
212
|
+
</fo:simple-page-master>
|
213
|
+
<!-- even pages -->
|
214
|
+
<fo:simple-page-master master-name="even" page-width="{$pageWidth}" page-height="{$pageHeight}">
|
215
|
+
<fo:region-body margin-top="27.4mm" margin-bottom="13mm" margin-left="19mm" margin-right="19mm"/>
|
216
|
+
<fo:region-before region-name="header-even" extent="27.4mm"/> <!-- display-align="center" -->
|
217
|
+
<fo:region-after region-name="footer-even" extent="13mm"/>
|
218
|
+
<fo:region-start region-name="left-region" extent="19mm"/>
|
219
|
+
<fo:region-end region-name="right-region" extent="19mm"/>
|
220
|
+
</fo:simple-page-master>
|
221
|
+
<fo:page-sequence-master master-name="preface">
|
222
|
+
<fo:repeatable-page-master-alternatives>
|
223
|
+
<fo:conditional-page-master-reference odd-or-even="even" master-reference="even"/>
|
224
|
+
<fo:conditional-page-master-reference odd-or-even="odd" master-reference="odd"/>
|
225
|
+
</fo:repeatable-page-master-alternatives>
|
226
|
+
</fo:page-sequence-master>
|
227
|
+
<fo:page-sequence-master master-name="document">
|
228
|
+
<fo:repeatable-page-master-alternatives>
|
229
|
+
<fo:conditional-page-master-reference odd-or-even="even" master-reference="even"/>
|
230
|
+
<fo:conditional-page-master-reference odd-or-even="odd" master-reference="odd"/>
|
231
|
+
</fo:repeatable-page-master-alternatives>
|
232
|
+
</fo:page-sequence-master>
|
233
|
+
|
234
|
+
|
235
|
+
<!-- first page -->
|
236
|
+
<fo:simple-page-master master-name="first-publishedISO" page-width="{$pageWidth}" page-height="{$pageHeight}">
|
237
|
+
<fo:region-body margin-top="27.4mm" margin-bottom="13mm" margin-left="25mm" margin-right="12.5mm"/>
|
238
|
+
<fo:region-before region-name="header-first" extent="27.4mm"/> <!-- display-align="center" -->
|
239
|
+
<fo:region-after region-name="footer-odd" extent="13mm"/>
|
240
|
+
<fo:region-start region-name="left-region" extent="25mm"/>
|
241
|
+
<fo:region-end region-name="right-region" extent="12.5mm"/>
|
242
|
+
</fo:simple-page-master>
|
243
|
+
<!-- odd pages -->
|
244
|
+
<fo:simple-page-master master-name="odd-publishedISO" page-width="{$pageWidth}" page-height="{$pageHeight}">
|
245
|
+
<fo:region-body margin-top="27.4mm" margin-bottom="13mm" margin-left="25mm" margin-right="12.5mm"/>
|
246
|
+
<fo:region-before region-name="header-odd" extent="27.4mm"/> <!-- display-align="center" -->
|
247
|
+
<fo:region-after region-name="footer-odd" extent="13mm"/>
|
248
|
+
<fo:region-start region-name="left-region" extent="25mm"/>
|
249
|
+
<fo:region-end region-name="right-region" extent="12.5mm"/>
|
250
|
+
</fo:simple-page-master>
|
251
|
+
<!-- even pages -->
|
252
|
+
<fo:simple-page-master master-name="even-publishedISO" page-width="{$pageWidth}" page-height="{$pageHeight}">
|
253
|
+
<fo:region-body margin-top="27.4mm" margin-bottom="13mm" margin-left="12.5mm" margin-right="25mm"/>
|
254
|
+
<fo:region-before region-name="header-even" extent="27.4mm"/>
|
255
|
+
<fo:region-after region-name="footer-even" extent="13mm"/>
|
256
|
+
<fo:region-start region-name="left-region" extent="12.5mm"/>
|
257
|
+
<fo:region-end region-name="right-region" extent="25mm"/>
|
258
|
+
</fo:simple-page-master>
|
259
|
+
<fo:page-sequence-master master-name="preface-publishedISO">
|
260
|
+
<fo:repeatable-page-master-alternatives>
|
261
|
+
<fo:conditional-page-master-reference odd-or-even="even" master-reference="even-publishedISO"/>
|
262
|
+
<fo:conditional-page-master-reference odd-or-even="odd" master-reference="odd-publishedISO"/>
|
263
|
+
</fo:repeatable-page-master-alternatives>
|
264
|
+
</fo:page-sequence-master>
|
265
|
+
<fo:page-sequence-master master-name="document-publishedISO">
|
266
|
+
<fo:repeatable-page-master-alternatives>
|
267
|
+
<fo:conditional-page-master-reference master-reference="first-publishedISO" page-position="first"/>
|
268
|
+
<fo:conditional-page-master-reference odd-or-even="even" master-reference="even-publishedISO"/>
|
269
|
+
<fo:conditional-page-master-reference odd-or-even="odd" master-reference="odd-publishedISO"/>
|
270
|
+
</fo:repeatable-page-master-alternatives>
|
271
|
+
</fo:page-sequence-master>
|
272
|
+
|
273
|
+
<fo:simple-page-master master-name="last-page" page-width="{$pageWidth}" page-height="{$pageHeight}">
|
274
|
+
<fo:region-body margin-top="27.4mm" margin-bottom="13mm" margin-left="12.5mm" margin-right="25mm"/>
|
275
|
+
<fo:region-before region-name="header-even" extent="27.4mm"/>
|
276
|
+
<fo:region-after region-name="last-page-footer" extent="13mm"/>
|
277
|
+
<fo:region-start region-name="left-region" extent="12.5mm"/>
|
278
|
+
<fo:region-end region-name="right-region" extent="25mm"/>
|
279
|
+
</fo:simple-page-master>
|
280
|
+
|
281
|
+
</fo:layout-master-set>
|
282
|
+
|
283
|
+
<fo:declarations>
|
284
|
+
<pdf:catalog xmlns:pdf="http://xmlgraphics.apache.org/fop/extensions/pdf">
|
285
|
+
<pdf:dictionary type="normal" key="ViewerPreferences">
|
286
|
+
<pdf:boolean key="DisplayDocTitle">true</pdf:boolean>
|
287
|
+
</pdf:dictionary>
|
288
|
+
</pdf:catalog>
|
289
|
+
<x:xmpmeta xmlns:x="adobe:ns:meta/">
|
290
|
+
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
291
|
+
<rdf:Description xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pdf="http://ns.adobe.com/pdf/1.3/" rdf:about="">
|
292
|
+
<!-- Dublin Core properties go here -->
|
293
|
+
<dc:title><xsl:value-of select="$title-en"/></dc:title>
|
294
|
+
<dc:creator><xsl:value-of select="/iso:iso-standard/iso:bibdata/iso:contributor[iso:role/@type='author']/iso:organization/iso:name"/></dc:creator>
|
295
|
+
<dc:description>
|
296
|
+
<xsl:variable name="abstract">
|
297
|
+
<xsl:copy-of select="/iso:iso-standard/iso:bibliography/iso:references/iso:bibitem/iso:abstract//text()"/>
|
298
|
+
</xsl:variable>
|
299
|
+
<xsl:value-of select="normalize-space($abstract)"/>
|
300
|
+
</dc:description>
|
301
|
+
<pdf:Keywords/>
|
302
|
+
</rdf:Description>
|
303
|
+
<rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about="">
|
304
|
+
<!-- XMP properties go here -->
|
305
|
+
<xmp:CreatorTool/>
|
306
|
+
</rdf:Description>
|
307
|
+
</rdf:RDF>
|
308
|
+
</x:xmpmeta>
|
309
|
+
</fo:declarations>
|
310
|
+
|
311
|
+
<!-- cover page -->
|
312
|
+
<xsl:choose>
|
313
|
+
<xsl:when test="$stage-name != ''">
|
314
|
+
<fo:page-sequence master-reference="cover-page-publishedISO" force-page-count="no-force">
|
315
|
+
<fo:static-content flow-name="cover-page-footer" font-size="10pt">
|
316
|
+
<fo:table table-layout="fixed" width="100%">
|
317
|
+
<fo:table-column column-width="52mm"/>
|
318
|
+
<fo:table-column column-width="7.5mm"/>
|
319
|
+
<fo:table-column column-width="112.5mm"/>
|
320
|
+
<fo:table-body>
|
321
|
+
<fo:table-row>
|
322
|
+
<fo:table-cell font-size="6.5pt" text-align="justify" display-align="after" padding-bottom="8mm"><!-- before -->
|
323
|
+
<!-- margin-top="-30mm" -->
|
324
|
+
<fo:block margin-top="-100mm">
|
325
|
+
<xsl:if test="$stage-name = 'DIS' or $stage-name = 'NWIP' or $stage-name = 'AWI' or $stage-name = 'WD' or $stage-name = 'CD'">
|
326
|
+
<fo:block margin-bottom="1.5mm">
|
327
|
+
<xsl:text>THIS DOCUMENT IS A DRAFT CIRCULATED FOR COMMENT AND APPROVAL. IT IS THEREFORE SUBJECT TO CHANGE AND MAY NOT BE REFERRED TO AS AN INTERNATIONAL STANDARD UNTIL PUBLISHED AS SUCH.</xsl:text>
|
328
|
+
</fo:block>
|
329
|
+
</xsl:if>
|
330
|
+
<xsl:if test="$stage-name = 'FDIS' or $stage-name = 'DIS' or $stage-name = 'NWIP' or $stage-name = 'AWI' or $stage-name = 'WD' or $stage-name = 'CD'">
|
331
|
+
<fo:block margin-bottom="1.5mm">
|
332
|
+
<xsl:text>RECIPIENTS OF THIS DRAFT ARE INVITED TO
|
333
|
+
SUBMIT, WITH THEIR COMMENTS, NOTIFICATION
|
334
|
+
OF ANY RELEVANT PATENT RIGHTS OF WHICH
|
335
|
+
THEY ARE AWARE AND TO PROVIDE SUPPORTING
|
336
|
+
DOCUMENTATION.</xsl:text>
|
337
|
+
</fo:block>
|
338
|
+
<fo:block>
|
339
|
+
<xsl:text>IN ADDITION TO THEIR EVALUATION AS
|
340
|
+
BEING ACCEPTABLE FOR INDUSTRIAL, TECHNOLOGICAL,
|
341
|
+
COMMERCIAL AND USER PURPOSES,
|
342
|
+
DRAFT INTERNATIONAL STANDARDS MAY ON
|
343
|
+
OCCASION HAVE TO BE CONSIDERED IN THE
|
344
|
+
LIGHT OF THEIR POTENTIAL TO BECOME STANDARDS
|
345
|
+
TO WHICH REFERENCE MAY BE MADE IN
|
346
|
+
NATIONAL REGULATIONS.</xsl:text>
|
347
|
+
</fo:block>
|
348
|
+
</xsl:if>
|
349
|
+
</fo:block>
|
350
|
+
</fo:table-cell>
|
351
|
+
<fo:table-cell>
|
352
|
+
<fo:block> </fo:block>
|
353
|
+
</fo:table-cell>
|
354
|
+
<fo:table-cell>
|
355
|
+
<xsl:if test="$stage-name = 'DIS'">
|
356
|
+
<fo:block-container margin-top="-15mm" margin-bottom="7mm" margin-left="1mm">
|
357
|
+
<fo:block font-size="9pt" border="0.5pt solid black" fox:border-radius="5pt" padding-left="2mm" padding-top="2mm" padding-bottom="2mm">
|
358
|
+
<xsl:text>This document is circulated as received from the committee secretariat.</xsl:text>
|
359
|
+
</fo:block>
|
360
|
+
</fo:block-container>
|
361
|
+
</xsl:if>
|
362
|
+
<fo:block>
|
363
|
+
<fo:table table-layout="fixed" width="100%" border-top="1mm double black" margin-bottom="3mm">
|
364
|
+
<fo:table-column column-width="50%"/>
|
365
|
+
<fo:table-column column-width="50%"/>
|
366
|
+
<fo:table-body>
|
367
|
+
<fo:table-row height="34mm">
|
368
|
+
<fo:table-cell display-align="center">
|
369
|
+
<fo:block text-align="left" margin-top="2mm">
|
370
|
+
<xsl:variable name="docid" select="substring-before(/iso:iso-standard/iso:bibdata/iso:docidentifier, ' ')"/>
|
371
|
+
<xsl:for-each select="xalan:tokenize($docid, '/')">
|
372
|
+
<xsl:choose>
|
373
|
+
<xsl:when test=". = 'ISO'">
|
374
|
+
<fo:external-graphic src="{concat('data:image/png;base64,', normalize-space($Image-ISO-Logo))}" width="21mm" content-height="21mm" content-width="scale-to-fit" scaling="uniform" fox:alt-text="Image {@alt}"/>
|
375
|
+
</xsl:when>
|
376
|
+
<xsl:when test=". = 'IEC'">
|
377
|
+
<fo:external-graphic src="{concat('data:image/png;base64,', normalize-space($Image-IEC-Logo))}" width="19.8mm" content-height="19.8mm" content-width="scale-to-fit" scaling="uniform" fox:alt-text="Image {@alt}"/>
|
378
|
+
</xsl:when>
|
379
|
+
<xsl:otherwise/>
|
380
|
+
</xsl:choose>
|
381
|
+
<xsl:if test="position() != last()">
|
382
|
+
<fo:inline padding-right="1mm"> </fo:inline>
|
383
|
+
</xsl:if>
|
384
|
+
</xsl:for-each>
|
385
|
+
</fo:block>
|
386
|
+
</fo:table-cell>
|
387
|
+
<fo:table-cell display-align="center">
|
388
|
+
<fo:block text-align="right">
|
389
|
+
<fo:block>Reference number</fo:block>
|
390
|
+
<fo:block><xsl:value-of select="$ISOname"/></fo:block>
|
391
|
+
<fo:block> </fo:block>
|
392
|
+
<fo:block> </fo:block>
|
393
|
+
<fo:block><fo:inline font-size="9pt">©</fo:inline><xsl:value-of select="concat(' ISO ', iso:iso-standard/iso:bibdata/iso:copyright/iso:from)"/></fo:block>
|
394
|
+
</fo:block>
|
395
|
+
</fo:table-cell>
|
396
|
+
</fo:table-row>
|
397
|
+
</fo:table-body>
|
398
|
+
</fo:table>
|
399
|
+
</fo:block>
|
400
|
+
</fo:table-cell>
|
401
|
+
</fo:table-row>
|
402
|
+
</fo:table-body>
|
403
|
+
</fo:table>
|
404
|
+
</fo:static-content>
|
405
|
+
|
406
|
+
<xsl:choose>
|
407
|
+
<xsl:when test="$stage-name = 'DIS'">
|
408
|
+
<fo:flow flow-name="xsl-region-body">
|
409
|
+
<fo:block-container>
|
410
|
+
<fo:block margin-top="-1mm" font-size="20pt" text-align="right">
|
411
|
+
<xsl:value-of select="xalan:nodeset($stage-name-uppercased)/item[@name = $stage-name and @show = 'true']/text()"/>
|
412
|
+
<xsl:text> </xsl:text>
|
413
|
+
<xsl:value-of select="$doctype_uppercased"/>
|
414
|
+
</fo:block>
|
415
|
+
<fo:block font-size="20pt" font-weight="bold" text-align="right">
|
416
|
+
<xsl:value-of select="/iso:iso-standard/iso:bibdata/iso:docidentifier[@type = 'iso']"/>
|
417
|
+
</fo:block>
|
418
|
+
|
419
|
+
|
420
|
+
<fo:table table-layout="fixed" width="100%" margin-top="18mm">
|
421
|
+
<fo:table-column column-width="59.5mm"/>
|
422
|
+
<fo:table-column column-width="52mm"/>
|
423
|
+
<fo:table-column column-width="59mm"/>
|
424
|
+
<fo:table-body>
|
425
|
+
<fo:table-row>
|
426
|
+
<fo:table-cell>
|
427
|
+
<fo:block> </fo:block>
|
428
|
+
</fo:table-cell>
|
429
|
+
<fo:table-cell>
|
430
|
+
<fo:block margin-bottom="3mm">ISO/TC <fo:inline font-weight="bold"><xsl:value-of select="/iso:iso-standard/iso:bibdata/iso:ext/iso:editorialgroup/iso:technical-committee/@number"/></fo:inline>
|
431
|
+
</fo:block>
|
432
|
+
</fo:table-cell>
|
433
|
+
<fo:table-cell>
|
434
|
+
<fo:block>Secretariat: <fo:inline font-weight="bold"><xsl:value-of select="/iso:iso-standard/iso:bibdata/iso:ext/iso:editorialgroup/iso:secretariat"/></fo:inline></fo:block>
|
435
|
+
</fo:table-cell>
|
436
|
+
</fo:table-row>
|
437
|
+
<fo:table-row>
|
438
|
+
<fo:table-cell>
|
439
|
+
<fo:block> </fo:block>
|
440
|
+
</fo:table-cell>
|
441
|
+
<fo:table-cell>
|
442
|
+
<fo:block>Voting begins on:</fo:block>
|
443
|
+
</fo:table-cell>
|
444
|
+
<fo:table-cell>
|
445
|
+
<fo:block>Voting terminates on:</fo:block>
|
446
|
+
</fo:table-cell>
|
447
|
+
</fo:table-row>
|
448
|
+
<fo:table-row>
|
449
|
+
<fo:table-cell>
|
450
|
+
<fo:block> </fo:block>
|
451
|
+
</fo:table-cell>
|
452
|
+
<fo:table-cell>
|
453
|
+
<fo:block><fo:inline font-weight="bold">2018</fo:inline>-xx-xx</fo:block>
|
454
|
+
</fo:table-cell>
|
455
|
+
<fo:table-cell>
|
456
|
+
<fo:block><fo:inline font-weight="bold">2018</fo:inline>-xx-xx</fo:block>
|
457
|
+
</fo:table-cell>
|
458
|
+
</fo:table-row>
|
459
|
+
</fo:table-body>
|
460
|
+
</fo:table>
|
461
|
+
|
462
|
+
<fo:block-container border-top="1mm double black" line-height="1.1" margin-top="3mm">
|
463
|
+
<fo:block margin-right="5mm">
|
464
|
+
<fo:block font-size="18pt" font-weight="bold" margin-top="6pt">
|
465
|
+
<xsl:if test="normalize-space($title-intro) != ''">
|
466
|
+
<xsl:value-of select="$title-intro"/>
|
467
|
+
<xsl:text> — </xsl:text>
|
468
|
+
</xsl:if>
|
469
|
+
|
470
|
+
<xsl:value-of select="$title-main"/>
|
471
|
+
|
472
|
+
<xsl:if test="normalize-space($title-part) != ''">
|
473
|
+
<xsl:if test="$part != ''">
|
474
|
+
<xsl:text> — </xsl:text>
|
475
|
+
<fo:block font-weight="normal" margin-top="6pt">
|
476
|
+
<xsl:text>Part </xsl:text><xsl:value-of select="$part"/>
|
477
|
+
<xsl:text>:</xsl:text>
|
478
|
+
</fo:block>
|
479
|
+
</xsl:if>
|
480
|
+
<xsl:value-of select="$title-part"/>
|
481
|
+
</xsl:if>
|
482
|
+
</fo:block>
|
483
|
+
|
484
|
+
<fo:block font-size="9pt"><xsl:value-of select="$linebreak"/></fo:block>
|
485
|
+
<fo:block font-size="11pt" font-style="italic" line-height="1.5">
|
486
|
+
|
487
|
+
<xsl:if test="normalize-space($title-intro-fr) != ''">
|
488
|
+
<xsl:value-of select="$title-intro-fr"/>
|
489
|
+
<xsl:text> — </xsl:text>
|
490
|
+
</xsl:if>
|
491
|
+
|
492
|
+
<xsl:value-of select="$title-main-fr"/>
|
493
|
+
|
494
|
+
<xsl:if test="normalize-space($title-part-fr) != ''">
|
495
|
+
<xsl:if test="$part != ''">
|
496
|
+
<xsl:text> — </xsl:text>
|
497
|
+
<xsl:text>Partie </xsl:text>
|
498
|
+
<xsl:value-of select="$part"/>
|
499
|
+
<xsl:text>:</xsl:text>
|
500
|
+
</xsl:if>
|
501
|
+
<xsl:value-of select="$title-part-fr"/>
|
502
|
+
</xsl:if>
|
503
|
+
</fo:block>
|
504
|
+
</fo:block>
|
505
|
+
<fo:block margin-top="10mm">ICS: xx.xxx.xx; xx.xxx.xx</fo:block>
|
506
|
+
</fo:block-container>
|
507
|
+
|
508
|
+
|
509
|
+
</fo:block-container>
|
510
|
+
</fo:flow>
|
511
|
+
|
512
|
+
</xsl:when>
|
513
|
+
<xsl:otherwise>
|
514
|
+
|
515
|
+
<fo:flow flow-name="xsl-region-body">
|
516
|
+
<fo:block-container>
|
517
|
+
<fo:table table-layout="fixed" width="100%" font-size="24pt" line-height="1"> <!-- margin-bottom="35mm" -->
|
518
|
+
<fo:table-column column-width="59.5mm"/>
|
519
|
+
<fo:table-column column-width="67.5mm"/>
|
520
|
+
<fo:table-column column-width="45.5mm"/>
|
521
|
+
<fo:table-body>
|
522
|
+
<fo:table-row>
|
523
|
+
<fo:table-cell>
|
524
|
+
<fo:block font-size="18pt">
|
525
|
+
<xsl:variable name="stgname" select="xalan:nodeset($stage-name-uppercased)/item[@name = $stage-name and @show = 'true']/text()"/>
|
526
|
+
<xsl:value-of select="translate($stgname, ' ', $linebreak)"/>
|
527
|
+
<xsl:if test="number($iteration) = $iteration and ($stage-name = 'NWIP' or $stage-name = 'AWI' or $stage-name = 'WD' or $stage-name = 'CD')"> <!-- not NaN -->
|
528
|
+
<xsl:text> </xsl:text><xsl:value-of select="$iteration"/>
|
529
|
+
</xsl:if>
|
530
|
+
<!-- <xsl:if test="$stage-name = 'draft'">DRAFT</xsl:if>
|
531
|
+
<xsl:if test="$stage-name = 'final-draft'">FINAL<xsl:value-of select="$linebreak"/>DRAFT</xsl:if> -->
|
532
|
+
</fo:block>
|
533
|
+
</fo:table-cell>
|
534
|
+
<fo:table-cell>
|
535
|
+
<fo:block text-align="left">
|
536
|
+
<xsl:value-of select="$doctype_uppercased"/>
|
537
|
+
</fo:block>
|
538
|
+
</fo:table-cell>
|
539
|
+
<fo:table-cell>
|
540
|
+
<fo:block text-align="right" font-weight="bold" margin-bottom="13mm">
|
541
|
+
<xsl:value-of select="/iso:iso-standard/iso:bibdata/iso:docidentifier[@type = 'iso']"/>
|
542
|
+
</fo:block>
|
543
|
+
</fo:table-cell>
|
544
|
+
</fo:table-row>
|
545
|
+
<fo:table-row height="42mm">
|
546
|
+
<fo:table-cell number-columns-spanned="3" font-size="10pt" line-height="1.2">
|
547
|
+
<fo:block text-align="right">
|
548
|
+
<xsl:variable name="edition" select="/iso:iso-standard/iso:bibdata/iso:edition"/>
|
549
|
+
<xsl:if test="$stage-name = 'IS' or $stage-name = 'published'">
|
550
|
+
<xsl:choose>
|
551
|
+
<xsl:when test="$edition = 1">First</xsl:when>
|
552
|
+
<xsl:when test="$edition = 2">Second</xsl:when>
|
553
|
+
<xsl:when test="$edition = 3">Third</xsl:when>
|
554
|
+
<xsl:otherwise><xsl:value-of select="$edition"/></xsl:otherwise>
|
555
|
+
</xsl:choose>
|
556
|
+
<xsl:text> edition</xsl:text>
|
557
|
+
</xsl:if>
|
558
|
+
<xsl:if test="$stage-name = 'published'">
|
559
|
+
<xsl:value-of select="$linebreak"/>
|
560
|
+
<xsl:value-of select="substring(/iso:iso-standard/iso:bibdata/iso:version/iso:revision-date,1, 7)"/>
|
561
|
+
</xsl:if>
|
562
|
+
<!-- <xsl:value-of select="$linebreak"/>
|
563
|
+
<xsl:value-of select="/iso:iso-standard/iso:bibdata/iso:version/iso:revision-date"/> -->
|
564
|
+
</fo:block>
|
565
|
+
</fo:table-cell>
|
566
|
+
</fo:table-row>
|
567
|
+
</fo:table-body>
|
568
|
+
</fo:table>
|
569
|
+
|
570
|
+
|
571
|
+
<fo:table table-layout="fixed" width="100%">
|
572
|
+
<fo:table-column column-width="52mm"/>
|
573
|
+
<fo:table-column column-width="7.5mm"/>
|
574
|
+
<fo:table-column column-width="112.5mm"/>
|
575
|
+
<fo:table-body>
|
576
|
+
<fo:table-row> <!-- border="1pt solid black" height="150mm" -->
|
577
|
+
<fo:table-cell font-size="11pt">
|
578
|
+
<fo:block>
|
579
|
+
<xsl:if test="$stage-name = 'FDIS'">
|
580
|
+
<fo:block-container border="0.5mm solid black" width="51mm">
|
581
|
+
<fo:block margin="2mm">
|
582
|
+
<fo:block margin-bottom="8pt">ISO/TC <fo:inline font-weight="bold"><xsl:value-of select="/iso:iso-standard/iso:bibdata/iso:ext/iso:editorialgroup/iso:technical-committee/@number"/></fo:inline></fo:block>
|
583
|
+
<fo:block margin-bottom="6pt">Secretariat: <xsl:value-of select="/iso:iso-standard/iso:bibdata/iso:ext/iso:editorialgroup/iso:secretariat"/></fo:block>
|
584
|
+
<fo:block margin-bottom="6pt">Voting begins on:<xsl:value-of select="$linebreak"/>
|
585
|
+
<fo:inline font-weight="bold">2018</fo:inline>-xx-xx
|
586
|
+
</fo:block>
|
587
|
+
<fo:block>Voting terminates on:<xsl:value-of select="$linebreak"/>
|
588
|
+
<fo:inline font-weight="bold">2018</fo:inline>-xx-xx
|
589
|
+
</fo:block>
|
590
|
+
</fo:block>
|
591
|
+
</fo:block-container>
|
592
|
+
</xsl:if>
|
593
|
+
</fo:block>
|
594
|
+
</fo:table-cell>
|
595
|
+
<fo:table-cell>
|
596
|
+
<fo:block> </fo:block>
|
597
|
+
</fo:table-cell>
|
598
|
+
<fo:table-cell>
|
599
|
+
<fo:block-container border-top="1mm double black" line-height="1.1">
|
600
|
+
<fo:block margin-right="5mm">
|
601
|
+
<fo:block font-size="18pt" font-weight="bold" margin-top="12pt">
|
602
|
+
|
603
|
+
<xsl:if test="normalize-space($title-intro) != ''">
|
604
|
+
<xsl:value-of select="$title-intro"/>
|
605
|
+
<xsl:text> — </xsl:text>
|
606
|
+
</xsl:if>
|
607
|
+
|
608
|
+
<xsl:value-of select="$title-main"/>
|
609
|
+
|
610
|
+
<xsl:if test="normalize-space($title-part) != ''">
|
611
|
+
<xsl:if test="$part != ''">
|
612
|
+
<xsl:text> — </xsl:text>
|
613
|
+
<fo:block font-weight="normal" margin-top="6pt">
|
614
|
+
<xsl:text>Part </xsl:text><xsl:value-of select="$part"/>
|
615
|
+
<xsl:text>:</xsl:text>
|
616
|
+
</fo:block>
|
617
|
+
</xsl:if>
|
618
|
+
<xsl:value-of select="$title-part"/>
|
619
|
+
</xsl:if>
|
620
|
+
</fo:block>
|
621
|
+
|
622
|
+
<fo:block font-size="9pt"><xsl:value-of select="$linebreak"/></fo:block>
|
623
|
+
<fo:block font-size="11pt" font-style="italic" line-height="1.5">
|
624
|
+
|
625
|
+
<xsl:if test="normalize-space($title-intro-fr) != ''">
|
626
|
+
<xsl:value-of select="$title-intro-fr"/>
|
627
|
+
<xsl:text> — </xsl:text>
|
628
|
+
</xsl:if>
|
629
|
+
|
630
|
+
<xsl:value-of select="$title-main-fr"/>
|
631
|
+
|
632
|
+
<xsl:if test="normalize-space($title-part-fr) != ''">
|
633
|
+
<xsl:if test="$part != ''">
|
634
|
+
<xsl:text> — </xsl:text>
|
635
|
+
<xsl:text>Partie </xsl:text>
|
636
|
+
<xsl:value-of select="$part"/>
|
637
|
+
<xsl:text>:</xsl:text>
|
638
|
+
</xsl:if>
|
639
|
+
<xsl:value-of select="$title-part-fr"/>
|
640
|
+
</xsl:if>
|
641
|
+
</fo:block>
|
642
|
+
</fo:block>
|
643
|
+
</fo:block-container>
|
644
|
+
</fo:table-cell>
|
645
|
+
</fo:table-row>
|
646
|
+
</fo:table-body>
|
647
|
+
</fo:table>
|
648
|
+
</fo:block-container>
|
649
|
+
<fo:block-container position="absolute" left="60mm" top="222mm" height="25mm" display-align="after">
|
650
|
+
<fo:block>
|
651
|
+
<xsl:if test="$stage-name = 'IS'">
|
652
|
+
<fo:block font-size="39pt" font-weight="bold"><xsl:value-of select="$proof-text"/></fo:block>
|
653
|
+
</xsl:if>
|
654
|
+
</fo:block>
|
655
|
+
</fo:block-container>
|
656
|
+
</fo:flow>
|
657
|
+
</xsl:otherwise>
|
658
|
+
</xsl:choose>
|
659
|
+
|
660
|
+
|
661
|
+
</fo:page-sequence>
|
662
|
+
</xsl:when>
|
663
|
+
|
664
|
+
<xsl:when test="$isPublished = 'true'">
|
665
|
+
<fo:page-sequence master-reference="cover-page-published" force-page-count="no-force">
|
666
|
+
<fo:static-content flow-name="cover-page-footer" font-size="10pt">
|
667
|
+
<fo:table table-layout="fixed" width="100%" border-top="1mm double black" margin-bottom="3mm">
|
668
|
+
<fo:table-column column-width="50%"/>
|
669
|
+
<fo:table-column column-width="50%"/>
|
670
|
+
<fo:table-body>
|
671
|
+
<fo:table-row height="32mm">
|
672
|
+
<fo:table-cell display-align="center">
|
673
|
+
<fo:block text-align="left">
|
674
|
+
<fo:external-graphic src="{concat('data:image/png;base64,', normalize-space($Image-ISO-Logo2))}" width="21mm" content-height="21mm" content-width="scale-to-fit" scaling="uniform" fox:alt-text="Image {@alt}"/>
|
675
|
+
</fo:block>
|
676
|
+
</fo:table-cell>
|
677
|
+
<fo:table-cell display-align="center">
|
678
|
+
<fo:block text-align="right">
|
679
|
+
<fo:block>Reference number</fo:block>
|
680
|
+
<fo:block><xsl:value-of select="$ISOname"/></fo:block>
|
681
|
+
<fo:block> </fo:block>
|
682
|
+
<fo:block> </fo:block>
|
683
|
+
<fo:block><fo:inline font-size="9pt">©</fo:inline><xsl:value-of select="concat(' ISO ', iso:iso-standard/iso:bibdata/iso:copyright/iso:from)"/></fo:block>
|
684
|
+
</fo:block>
|
685
|
+
</fo:table-cell>
|
686
|
+
</fo:table-row>
|
687
|
+
</fo:table-body>
|
688
|
+
</fo:table>
|
689
|
+
</fo:static-content>
|
690
|
+
<fo:flow flow-name="xsl-region-body">
|
691
|
+
<fo:block-container>
|
692
|
+
<fo:table table-layout="fixed" width="100%" font-size="24pt" line-height="1" margin-bottom="35mm">
|
693
|
+
<fo:table-column column-width="60%"/>
|
694
|
+
<fo:table-column column-width="40%"/>
|
695
|
+
<fo:table-body>
|
696
|
+
<fo:table-row>
|
697
|
+
<fo:table-cell>
|
698
|
+
<fo:block text-align="left">
|
699
|
+
<xsl:value-of select="$doctype_uppercased"/>
|
700
|
+
</fo:block>
|
701
|
+
</fo:table-cell>
|
702
|
+
<fo:table-cell>
|
703
|
+
<fo:block text-align="right" font-weight="bold" margin-bottom="13mm">
|
704
|
+
<xsl:value-of select="/iso:iso-standard/iso:bibdata/iso:docidentifier[@type = 'iso']"/>
|
705
|
+
</fo:block>
|
706
|
+
</fo:table-cell>
|
707
|
+
</fo:table-row>
|
708
|
+
<fo:table-row>
|
709
|
+
<fo:table-cell number-columns-spanned="2" font-size="10pt" line-height="1.2">
|
710
|
+
<fo:block text-align="right">
|
711
|
+
<xsl:variable name="edition" select="/iso:iso-standard/iso:bibdata/iso:edition"/>
|
712
|
+
<xsl:choose>
|
713
|
+
<xsl:when test="$edition = 1">First</xsl:when>
|
714
|
+
<xsl:when test="$edition = 2">Second</xsl:when>
|
715
|
+
<xsl:when test="$edition = 3">Third</xsl:when>
|
716
|
+
<xsl:otherwise><xsl:value-of select="$edition"/></xsl:otherwise>
|
717
|
+
</xsl:choose>
|
718
|
+
<xsl:text> edition</xsl:text>
|
719
|
+
<xsl:value-of select="$linebreak"/>
|
720
|
+
<xsl:value-of select="/iso:iso-standard/iso:bibdata/iso:version/iso:revision-date"/></fo:block>
|
721
|
+
</fo:table-cell>
|
722
|
+
</fo:table-row>
|
723
|
+
</fo:table-body>
|
724
|
+
</fo:table>
|
725
|
+
|
726
|
+
<fo:block-container border-top="1mm double black" line-height="1.1">
|
727
|
+
<fo:block margin-right="40mm">
|
728
|
+
<fo:block font-size="18pt" font-weight="bold" margin-top="12pt">
|
729
|
+
|
730
|
+
<xsl:if test="normalize-space($title-intro) != ''">
|
731
|
+
<xsl:value-of select="$title-intro"/>
|
732
|
+
<xsl:text> — </xsl:text>
|
733
|
+
</xsl:if>
|
734
|
+
|
735
|
+
<xsl:value-of select="$title-main"/>
|
736
|
+
|
737
|
+
<xsl:if test="normalize-space($title-part) != ''">
|
738
|
+
<xsl:if test="$part != ''">
|
739
|
+
<xsl:text> — </xsl:text>
|
740
|
+
<fo:block font-weight="normal" margin-top="6pt">
|
741
|
+
<xsl:text>Part </xsl:text><xsl:value-of select="$part"/>
|
742
|
+
<xsl:text>:</xsl:text>
|
743
|
+
</fo:block>
|
744
|
+
</xsl:if>
|
745
|
+
<xsl:value-of select="$title-part"/>
|
746
|
+
</xsl:if>
|
747
|
+
</fo:block>
|
748
|
+
|
749
|
+
<fo:block font-size="9pt"><xsl:value-of select="$linebreak"/></fo:block>
|
750
|
+
<fo:block font-size="11pt" font-style="italic" line-height="1.5">
|
751
|
+
|
752
|
+
<xsl:if test="normalize-space($title-intro-fr) != ''">
|
753
|
+
<xsl:value-of select="$title-intro-fr"/>
|
754
|
+
<xsl:text> — </xsl:text>
|
755
|
+
</xsl:if>
|
756
|
+
|
757
|
+
<xsl:value-of select="$title-main-fr"/>
|
758
|
+
|
759
|
+
<xsl:if test="normalize-space($title-part-fr) != ''">
|
760
|
+
<xsl:if test="$part != ''">
|
761
|
+
<xsl:text> — </xsl:text>
|
762
|
+
<xsl:text>Partie </xsl:text>
|
763
|
+
<xsl:value-of select="$part"/>
|
764
|
+
<xsl:text>:</xsl:text>
|
765
|
+
</xsl:if>
|
766
|
+
<xsl:value-of select="$title-part-fr"/>
|
767
|
+
</xsl:if>
|
768
|
+
</fo:block>
|
769
|
+
</fo:block>
|
770
|
+
</fo:block-container>
|
771
|
+
</fo:block-container>
|
772
|
+
</fo:flow>
|
773
|
+
</fo:page-sequence>
|
774
|
+
</xsl:when>
|
775
|
+
<xsl:otherwise>
|
776
|
+
<fo:page-sequence master-reference="cover-page" force-page-count="no-force">
|
777
|
+
<fo:static-content flow-name="cover-page-header" font-size="10pt">
|
778
|
+
<fo:block-container height="24mm" display-align="before">
|
779
|
+
<fo:block padding-top="12.5mm">
|
780
|
+
<xsl:value-of select="$copyrightText"/>
|
781
|
+
</fo:block>
|
782
|
+
</fo:block-container>
|
783
|
+
</fo:static-content>
|
784
|
+
<fo:flow flow-name="xsl-region-body">
|
785
|
+
<fo:block-container text-align="right">
|
786
|
+
<xsl:choose>
|
787
|
+
<xsl:when test="/iso:iso-standard/iso:bibdata/iso:docidentifier[@type = 'iso-tc']">
|
788
|
+
<!-- 17301 -->
|
789
|
+
<fo:block font-size="14pt" font-weight="bold" margin-bottom="12pt">
|
790
|
+
<xsl:value-of select="/iso:iso-standard/iso:bibdata/iso:docidentifier[@type = 'iso-tc']"/>
|
791
|
+
</fo:block>
|
792
|
+
<!-- Date: 2016-05-01 -->
|
793
|
+
<fo:block margin-bottom="12pt">
|
794
|
+
<xsl:text>Date: </xsl:text><xsl:value-of select="/iso:iso-standard/iso:bibdata/iso:version/iso:revision-date"/>
|
795
|
+
</fo:block>
|
796
|
+
|
797
|
+
<!-- ISO/CD 17301-1(E) -->
|
798
|
+
<fo:block margin-bottom="12pt">
|
799
|
+
<xsl:value-of select="concat(/iso:iso-standard/iso:bibdata/iso:docidentifier, $lang-1st-letter)"/>
|
800
|
+
</fo:block>
|
801
|
+
</xsl:when>
|
802
|
+
<xsl:otherwise>
|
803
|
+
<fo:block font-size="14pt" font-weight="bold" margin-bottom="12pt">
|
804
|
+
<!-- ISO/WD 24229(E) -->
|
805
|
+
<xsl:value-of select="concat(/iso:iso-standard/iso:bibdata/iso:docidentifier, $lang-1st-letter)"/>
|
806
|
+
</fo:block>
|
807
|
+
|
808
|
+
</xsl:otherwise>
|
809
|
+
</xsl:choose>
|
810
|
+
|
811
|
+
<!-- ISO/TC 46/WG 3 -->
|
812
|
+
<!-- <fo:block margin-bottom="12pt">
|
813
|
+
<xsl:value-of select="concat('ISO/', /iso:iso-standard/iso:bibdata/iso:ext/iso:editorialgroup/iso:technical-committee/@type, ' ',
|
814
|
+
/iso:iso-standard/iso:bibdata/iso:ext/iso:editorialgroup/iso:technical-committee/@number, '/',
|
815
|
+
/iso:iso-standard/iso:bibdata/iso:ext/iso:editorialgroup/iso:workgroup/@type, ' ',
|
816
|
+
/iso:iso-standard/iso:bibdata/iso:ext/iso:editorialgroup/iso:workgroup/@number)"/>
|
817
|
+
-->
|
818
|
+
<!-- ISO/TC 34/SC 4/WG 3 -->
|
819
|
+
<fo:block margin-bottom="12pt">
|
820
|
+
<xsl:text>ISO</xsl:text>
|
821
|
+
<xsl:for-each select="/iso:iso-standard/iso:bibdata/iso:ext/iso:editorialgroup/iso:technical-committee[@number]">
|
822
|
+
<xsl:text>/TC </xsl:text><xsl:value-of select="@number"/>
|
823
|
+
</xsl:for-each>
|
824
|
+
<xsl:for-each select="/iso:iso-standard/iso:bibdata/iso:ext/iso:editorialgroup/iso:subcommittee[@number]">
|
825
|
+
<xsl:text>/SC </xsl:text>
|
826
|
+
<xsl:value-of select="@number"/>
|
827
|
+
</xsl:for-each>
|
828
|
+
<xsl:for-each select="/iso:iso-standard/iso:bibdata/iso:ext/iso:editorialgroup/iso:workgroup[@number]">
|
829
|
+
<xsl:text>/WG </xsl:text>
|
830
|
+
<xsl:value-of select="@number"/>
|
831
|
+
</xsl:for-each>
|
832
|
+
</fo:block>
|
833
|
+
|
834
|
+
<!-- Secretariat: AFNOR -->
|
835
|
+
|
836
|
+
<fo:block margin-bottom="100pt">
|
837
|
+
<xsl:text>Secretariat: </xsl:text>
|
838
|
+
<xsl:choose>
|
839
|
+
<xsl:when test="/iso:iso-standard/iso:bibdata/iso:ext/iso:editorialgroup/iso:secretariat">
|
840
|
+
<xsl:value-of select="/iso:iso-standard/iso:bibdata/iso:ext/iso:editorialgroup/iso:secretariat"/>
|
841
|
+
</xsl:when>
|
842
|
+
<xsl:otherwise>XXXX</xsl:otherwise>
|
843
|
+
</xsl:choose>
|
844
|
+
</fo:block>
|
845
|
+
|
846
|
+
|
847
|
+
|
848
|
+
</fo:block-container>
|
849
|
+
<fo:block-container font-size="16pt">
|
850
|
+
<!-- Information and documentation — Codes for transcription systems -->
|
851
|
+
<fo:block font-weight="bold">
|
852
|
+
|
853
|
+
<xsl:if test="normalize-space($title-intro) != ''">
|
854
|
+
<xsl:value-of select="$title-intro"/>
|
855
|
+
<xsl:text> — </xsl:text>
|
856
|
+
</xsl:if>
|
857
|
+
|
858
|
+
<xsl:value-of select="$title-main"/>
|
859
|
+
|
860
|
+
<xsl:if test="normalize-space($title-part) != ''">
|
861
|
+
<xsl:if test="$part != ''">
|
862
|
+
<xsl:text> — </xsl:text>
|
863
|
+
<fo:block font-weight="normal" margin-top="6pt">
|
864
|
+
<xsl:text>Part </xsl:text><xsl:value-of select="$part"/>
|
865
|
+
<xsl:text>:</xsl:text>
|
866
|
+
</fo:block>
|
867
|
+
</xsl:if>
|
868
|
+
<xsl:value-of select="$title-part"/>
|
869
|
+
</xsl:if>
|
870
|
+
</fo:block>
|
871
|
+
|
872
|
+
<fo:block font-size="12pt"><xsl:value-of select="$linebreak"/></fo:block>
|
873
|
+
<fo:block>
|
874
|
+
<xsl:if test="normalize-space($title-intro-fr) != ''">
|
875
|
+
<xsl:value-of select="$title-intro-fr"/>
|
876
|
+
<xsl:text> — </xsl:text>
|
877
|
+
</xsl:if>
|
878
|
+
|
879
|
+
<xsl:value-of select="$title-main-fr"/>
|
880
|
+
|
881
|
+
<xsl:if test="normalize-space($title-part-fr) != ''">
|
882
|
+
<xsl:if test="$part != ''">
|
883
|
+
<xsl:text> — </xsl:text>
|
884
|
+
<fo:block margin-top="6pt" font-weight="normal">
|
885
|
+
<xsl:text>Partie </xsl:text><xsl:value-of select="$part"/>
|
886
|
+
<xsl:text>:</xsl:text>
|
887
|
+
</fo:block>
|
888
|
+
</xsl:if>
|
889
|
+
<xsl:value-of select="$title-part-fr"/>
|
890
|
+
</xsl:if>
|
891
|
+
</fo:block>
|
892
|
+
</fo:block-container>
|
893
|
+
<fo:block font-size="11pt" margin-bottom="8pt"><xsl:value-of select="$linebreak"/></fo:block>
|
894
|
+
<fo:block-container font-size="40pt" text-align="center" margin-bottom="12pt" border="0.5pt solid black">
|
895
|
+
<xsl:variable name="stage-title" select="substring-after(substring-before(/iso:iso-standard/iso:bibdata/iso:docidentifier[@type = 'iso'], ' '), '/')"/>
|
896
|
+
<fo:block padding-top="2mm"><xsl:value-of select="$stage-title"/><xsl:text> stage</xsl:text></fo:block>
|
897
|
+
</fo:block-container>
|
898
|
+
<fo:block><xsl:value-of select="$linebreak"/></fo:block>
|
899
|
+
|
900
|
+
<xsl:if test="/iso:iso-standard/iso:boilerplate/iso:license-statement">
|
901
|
+
<fo:block-container font-size="10pt" margin-top="12pt" margin-bottom="6pt" border="0.5pt solid black">
|
902
|
+
<fo:block padding-top="1mm">
|
903
|
+
<xsl:apply-templates select="/iso:iso-standard/iso:boilerplate/iso:license-statement"/>
|
904
|
+
</fo:block>
|
905
|
+
</fo:block-container>
|
906
|
+
</xsl:if>
|
907
|
+
</fo:flow>
|
908
|
+
</fo:page-sequence>
|
909
|
+
</xsl:otherwise>
|
910
|
+
</xsl:choose>
|
911
|
+
|
912
|
+
<fo:page-sequence master-reference="preface{$document-master-reference}" format="i" force-page-count="no-force">
|
913
|
+
<xsl:call-template name="insertHeaderFooter">
|
914
|
+
<xsl:with-param name="font-weight">normal</xsl:with-param>
|
915
|
+
</xsl:call-template>
|
916
|
+
<fo:flow flow-name="xsl-region-body" line-height="115%">
|
917
|
+
<xsl:if test="/iso:iso-standard/iso:boilerplate/iso:copyright-statement">
|
918
|
+
|
919
|
+
<fo:block-container height="252mm" display-align="after">
|
920
|
+
<fo:block margin-bottom="3mm">
|
921
|
+
<fo:external-graphic src="{concat('data:image/png;base64,', normalize-space($Image-Attention))}" width="14mm" content-height="13mm" content-width="scale-to-fit" scaling="uniform" fox:alt-text="Image {@alt}"/>
|
922
|
+
<fo:inline padding-left="6mm" font-size="12pt" font-weight="bold">COPYRIGHT PROTECTED DOCUMENT</fo:inline>
|
923
|
+
</fo:block>
|
924
|
+
<fo:block line-height="90%">
|
925
|
+
<fo:block font-size="9pt" text-align="justify">
|
926
|
+
<xsl:apply-templates select="/iso:iso-standard/iso:boilerplate/iso:copyright-statement"/>
|
927
|
+
</fo:block>
|
928
|
+
</fo:block>
|
929
|
+
</fo:block-container>
|
930
|
+
<fo:block break-after="page"/>
|
931
|
+
</xsl:if>
|
932
|
+
|
933
|
+
<fo:block-container font-weight="bold">
|
934
|
+
|
935
|
+
<fo:block text-align-last="justify" font-size="16pt" margin-top="10pt" margin-bottom="18pt">
|
936
|
+
<fo:inline font-size="16pt" font-weight="bold">Contents</fo:inline>
|
937
|
+
<fo:inline keep-together.within-line="always">
|
938
|
+
<fo:leader leader-pattern="space"/>
|
939
|
+
<fo:inline font-weight="normal" font-size="10pt">Page</fo:inline>
|
940
|
+
</fo:inline>
|
941
|
+
</fo:block>
|
942
|
+
|
943
|
+
<xsl:if test="$debug = 'true'">
|
944
|
+
<xsl:text disable-output-escaping="yes"><!--</xsl:text>
|
945
|
+
DEBUG
|
946
|
+
contents=<xsl:copy-of select="xalan:nodeset($contents)"/>
|
947
|
+
<xsl:text disable-output-escaping="yes">--></xsl:text>
|
948
|
+
</xsl:if>
|
949
|
+
|
950
|
+
<xsl:variable name="margin-left">12</xsl:variable>
|
951
|
+
<xsl:for-each select="xalan:nodeset($contents)//item[@display = 'true'][not(@level = 2 and starts-with(@section, '0'))]"><!-- skip clause from preface -->
|
952
|
+
|
953
|
+
<fo:block>
|
954
|
+
<xsl:if test="@level = 1">
|
955
|
+
<xsl:attribute name="margin-top">5pt</xsl:attribute>
|
956
|
+
</xsl:if>
|
957
|
+
<fo:list-block>
|
958
|
+
<xsl:attribute name="margin-left"><xsl:value-of select="$margin-left * (@level - 1)"/>mm</xsl:attribute>
|
959
|
+
<xsl:if test="@level >= 2">
|
960
|
+
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
961
|
+
</xsl:if>
|
962
|
+
<xsl:attribute name="provisional-distance-between-starts">
|
963
|
+
<xsl:choose>
|
964
|
+
<!-- skip 0 section without subsections -->
|
965
|
+
<xsl:when test="@level >= 3"><xsl:value-of select="$margin-left * 1.2"/>mm</xsl:when>
|
966
|
+
<xsl:when test="@section != '' and not(@display-section = 'false')"><xsl:value-of select="$margin-left"/>mm</xsl:when>
|
967
|
+
<xsl:otherwise>0mm</xsl:otherwise>
|
968
|
+
</xsl:choose>
|
969
|
+
</xsl:attribute>
|
970
|
+
<fo:list-item>
|
971
|
+
<fo:list-item-label end-indent="label-end()">
|
972
|
+
<fo:block>
|
973
|
+
<xsl:if test="@section and not(@display-section = 'false')"> <!-- output below -->
|
974
|
+
<xsl:value-of select="@section"/>
|
975
|
+
</xsl:if>
|
976
|
+
</fo:block>
|
977
|
+
</fo:list-item-label>
|
978
|
+
<fo:list-item-body start-indent="body-start()">
|
979
|
+
<fo:block text-align-last="justify" margin-left="12mm" text-indent="-12mm">
|
980
|
+
<fo:basic-link internal-destination="{@id}" fox:alt-text="{text()}">
|
981
|
+
<xsl:if test="@section and @display-section = 'false'">
|
982
|
+
<xsl:value-of select="@section"/><xsl:text> </xsl:text>
|
983
|
+
</xsl:if>
|
984
|
+
<xsl:if test="@addon != ''">
|
985
|
+
<fo:inline font-weight="normal">(<xsl:value-of select="@addon"/>)</fo:inline>
|
986
|
+
</xsl:if>
|
987
|
+
<xsl:text> </xsl:text><xsl:value-of select="text()"/>
|
988
|
+
<fo:inline keep-together.within-line="always">
|
989
|
+
<fo:leader font-size="9pt" font-weight="normal" leader-pattern="dots"/>
|
990
|
+
<fo:inline><fo:page-number-citation ref-id="{@id}"/></fo:inline>
|
991
|
+
</fo:inline>
|
992
|
+
</fo:basic-link>
|
993
|
+
</fo:block>
|
994
|
+
</fo:list-item-body>
|
995
|
+
</fo:list-item>
|
996
|
+
</fo:list-block>
|
997
|
+
</fo:block>
|
998
|
+
|
999
|
+
</xsl:for-each>
|
1000
|
+
</fo:block-container>
|
1001
|
+
<!-- Foreword, Introduction -->
|
1002
|
+
<xsl:apply-templates select="/iso:iso-standard/iso:preface/node()"/>
|
1003
|
+
|
1004
|
+
</fo:flow>
|
1005
|
+
</fo:page-sequence>
|
1006
|
+
|
1007
|
+
<!-- BODY -->
|
1008
|
+
<fo:page-sequence master-reference="document{$document-master-reference}" initial-page-number="1" force-page-count="no-force">
|
1009
|
+
<fo:static-content flow-name="xsl-footnote-separator">
|
1010
|
+
<fo:block>
|
1011
|
+
<fo:leader leader-pattern="rule" leader-length="30%"/>
|
1012
|
+
</fo:block>
|
1013
|
+
</fo:static-content>
|
1014
|
+
<xsl:call-template name="insertHeaderFooter"/>
|
1015
|
+
<fo:flow flow-name="xsl-region-body">
|
1016
|
+
|
1017
|
+
|
1018
|
+
<fo:block-container>
|
1019
|
+
<!-- Information and documentation — Codes for transcription systems -->
|
1020
|
+
<!-- <fo:block font-size="16pt" font-weight="bold" margin-bottom="18pt">
|
1021
|
+
<xsl:value-of select="$title-en"/>
|
1022
|
+
</fo:block>
|
1023
|
+
-->
|
1024
|
+
<fo:block font-size="18pt" font-weight="bold" margin-top="12pt" margin-bottom="18pt">
|
1025
|
+
<fo:block>
|
1026
|
+
<xsl:if test="normalize-space($title-intro) != ''">
|
1027
|
+
<xsl:value-of select="$title-intro"/>
|
1028
|
+
<xsl:text> — </xsl:text>
|
1029
|
+
</xsl:if>
|
1030
|
+
|
1031
|
+
<xsl:value-of select="$title-main"/>
|
1032
|
+
|
1033
|
+
<xsl:if test="normalize-space($title-part) != ''">
|
1034
|
+
<xsl:if test="$part != ''">
|
1035
|
+
<xsl:text> — </xsl:text>
|
1036
|
+
<fo:block font-weight="normal" margin-top="12pt">
|
1037
|
+
<xsl:text>Part </xsl:text><xsl:value-of select="$part"/>
|
1038
|
+
<xsl:text>:</xsl:text>
|
1039
|
+
</fo:block>
|
1040
|
+
</xsl:if>
|
1041
|
+
</xsl:if>
|
1042
|
+
</fo:block>
|
1043
|
+
<fo:block>
|
1044
|
+
<xsl:value-of select="$title-part"/>
|
1045
|
+
</fo:block>
|
1046
|
+
</fo:block>
|
1047
|
+
|
1048
|
+
|
1049
|
+
</fo:block-container>
|
1050
|
+
<!-- Clause(s) -->
|
1051
|
+
<fo:block>
|
1052
|
+
|
1053
|
+
<xsl:apply-templates select="/iso:iso-standard/iso:sections/iso:clause[1]"> <!-- Scope -->
|
1054
|
+
<xsl:with-param name="sectionNum" select="'1'"/>
|
1055
|
+
</xsl:apply-templates>
|
1056
|
+
|
1057
|
+
<fo:block space-before="27pt"> </fo:block>
|
1058
|
+
<!-- Normative references -->
|
1059
|
+
<xsl:apply-templates select="/iso:iso-standard/iso:bibliography/iso:references[1]">
|
1060
|
+
<xsl:with-param name="sectionNum" select="'2'"/>
|
1061
|
+
</xsl:apply-templates>
|
1062
|
+
|
1063
|
+
<fo:block space-before="18pt"> </fo:block>
|
1064
|
+
<!-- main sections -->
|
1065
|
+
<xsl:apply-templates select="/iso:iso-standard/iso:sections/*[position() > 1]">
|
1066
|
+
<xsl:with-param name="sectionNumSkew" select="'1'"/>
|
1067
|
+
</xsl:apply-templates>
|
1068
|
+
|
1069
|
+
<!-- Annex(s) -->
|
1070
|
+
<xsl:apply-templates select="/iso:iso-standard/iso:annex"/>
|
1071
|
+
|
1072
|
+
<!-- Bibliography -->
|
1073
|
+
<xsl:apply-templates select="/iso:iso-standard/iso:bibliography/iso:references[position() > 1]"/>
|
1074
|
+
|
1075
|
+
<fo:block id="lastBlock" font-size="1pt"> </fo:block>
|
1076
|
+
</fo:block>
|
1077
|
+
|
1078
|
+
</fo:flow>
|
1079
|
+
</fo:page-sequence>
|
1080
|
+
|
1081
|
+
<xsl:if test="$isPublished = 'true'">
|
1082
|
+
<fo:page-sequence master-reference="last-page" force-page-count="no-force">
|
1083
|
+
<xsl:call-template name="insertHeaderEven"/>
|
1084
|
+
<fo:static-content flow-name="last-page-footer" font-size="10pt">
|
1085
|
+
<fo:table table-layout="fixed" width="100%">
|
1086
|
+
<fo:table-column column-width="33%"/>
|
1087
|
+
<fo:table-column column-width="33%"/>
|
1088
|
+
<fo:table-column column-width="34%"/>
|
1089
|
+
<fo:table-body>
|
1090
|
+
<fo:table-row>
|
1091
|
+
<fo:table-cell display-align="center">
|
1092
|
+
<fo:block font-size="9pt"><xsl:value-of select="$copyrightText"/></fo:block>
|
1093
|
+
</fo:table-cell>
|
1094
|
+
<fo:table-cell>
|
1095
|
+
<fo:block font-size="11pt" font-weight="bold" text-align="center">
|
1096
|
+
<xsl:if test="$stage-name = 'IS'">
|
1097
|
+
<xsl:value-of select="$proof-text"/>
|
1098
|
+
</xsl:if>
|
1099
|
+
</fo:block>
|
1100
|
+
</fo:table-cell>
|
1101
|
+
<fo:table-cell>
|
1102
|
+
<fo:block> </fo:block>
|
1103
|
+
</fo:table-cell>
|
1104
|
+
</fo:table-row>
|
1105
|
+
</fo:table-body>
|
1106
|
+
</fo:table>
|
1107
|
+
</fo:static-content>
|
1108
|
+
<fo:flow flow-name="xsl-region-body">
|
1109
|
+
<fo:block-container height="252mm" display-align="after">
|
1110
|
+
<fo:block-container border-top="1mm double black">
|
1111
|
+
<fo:block font-size="12pt" font-weight="bold" padding-top="3.5mm" padding-bottom="0.5mm">
|
1112
|
+
<xsl:choose>
|
1113
|
+
<xsl:when test="$stage-name = 'FDIS'">ICS 01.140.30</xsl:when>
|
1114
|
+
<xsl:when test="$stage-name = 'IS'">ICS 35.240.63</xsl:when>
|
1115
|
+
<xsl:when test="$stage-name = 'published'">ICS 35.240.30</xsl:when>
|
1116
|
+
<xsl:otherwise>ICS 67.060</xsl:otherwise>
|
1117
|
+
</xsl:choose>
|
1118
|
+
</fo:block>
|
1119
|
+
<fo:block font-size="9pt">Price based on <fo:page-number-citation ref-id="lastBlock"/> pages</fo:block>
|
1120
|
+
</fo:block-container>
|
1121
|
+
</fo:block-container>
|
1122
|
+
</fo:flow>
|
1123
|
+
</fo:page-sequence>
|
1124
|
+
</xsl:if>
|
1125
|
+
</fo:root>
|
1126
|
+
</xsl:template>
|
1127
|
+
|
1128
|
+
<!-- for pass the paremeter 'sectionNum' over templates, like 'tunnel' parameter in XSLT 2.0 -->
|
1129
|
+
<xsl:template match="node()">
|
1130
|
+
<xsl:param name="sectionNum"/>
|
1131
|
+
<xsl:param name="sectionNumSkew"/>
|
1132
|
+
<xsl:apply-templates>
|
1133
|
+
<xsl:with-param name="sectionNum" select="$sectionNum"/>
|
1134
|
+
<xsl:with-param name="sectionNumSkew" select="$sectionNumSkew"/>
|
1135
|
+
</xsl:apply-templates>
|
1136
|
+
</xsl:template>
|
1137
|
+
|
1138
|
+
<!-- ============================= -->
|
1139
|
+
<!-- CONTENTS -->
|
1140
|
+
<!-- ============================= -->
|
1141
|
+
<xsl:template match="node()" mode="contents">
|
1142
|
+
<xsl:param name="sectionNum"/>
|
1143
|
+
<xsl:param name="sectionNumSkew"/>
|
1144
|
+
<xsl:apply-templates mode="contents">
|
1145
|
+
<xsl:with-param name="sectionNum" select="$sectionNum"/>
|
1146
|
+
<xsl:with-param name="sectionNumSkew" select="$sectionNumSkew"/>
|
1147
|
+
</xsl:apply-templates>
|
1148
|
+
</xsl:template>
|
1149
|
+
|
1150
|
+
|
1151
|
+
<!-- calculate main section number (1,2,3) and pass it deep into templates -->
|
1152
|
+
<!-- it's necessary, because there is itu:bibliography/itu:references from other section, but numbering should be sequental -->
|
1153
|
+
<xsl:template match="iso:iso-standard/iso:sections/*" mode="contents">
|
1154
|
+
<xsl:param name="sectionNum"/>
|
1155
|
+
<xsl:param name="sectionNumSkew" select="0"/>
|
1156
|
+
<xsl:variable name="sectionNum_">
|
1157
|
+
<xsl:choose>
|
1158
|
+
<xsl:when test="$sectionNum"><xsl:value-of select="$sectionNum"/></xsl:when>
|
1159
|
+
<xsl:when test="$sectionNumSkew != 0">
|
1160
|
+
<xsl:variable name="number"><xsl:number count="*"/></xsl:variable> <!-- iso:sections/iso:clause | iso:sections/iso:terms -->
|
1161
|
+
<xsl:value-of select="$number + $sectionNumSkew"/>
|
1162
|
+
</xsl:when>
|
1163
|
+
<xsl:otherwise>
|
1164
|
+
<xsl:number count="*"/>
|
1165
|
+
</xsl:otherwise>
|
1166
|
+
</xsl:choose>
|
1167
|
+
</xsl:variable>
|
1168
|
+
<xsl:apply-templates mode="contents">
|
1169
|
+
<xsl:with-param name="sectionNum" select="$sectionNum_"/>
|
1170
|
+
</xsl:apply-templates>
|
1171
|
+
</xsl:template>
|
1172
|
+
|
1173
|
+
<!-- Any node with title element - clause, definition, annex,... -->
|
1174
|
+
<xsl:template match="iso:title | iso:preferred" mode="contents">
|
1175
|
+
<xsl:param name="sectionNum"/>
|
1176
|
+
<!-- sectionNum=<xsl:value-of select="$sectionNum"/> -->
|
1177
|
+
<xsl:variable name="id">
|
1178
|
+
<xsl:call-template name="getId"/>
|
1179
|
+
</xsl:variable>
|
1180
|
+
|
1181
|
+
<xsl:variable name="level">
|
1182
|
+
<xsl:call-template name="getLevel"/>
|
1183
|
+
</xsl:variable>
|
1184
|
+
|
1185
|
+
<xsl:variable name="section">
|
1186
|
+
<xsl:call-template name="getSection">
|
1187
|
+
<xsl:with-param name="sectionNum" select="$sectionNum"/>
|
1188
|
+
</xsl:call-template>
|
1189
|
+
</xsl:variable>
|
1190
|
+
|
1191
|
+
<xsl:variable name="display">
|
1192
|
+
<xsl:choose>
|
1193
|
+
<xsl:when test="ancestor::iso:bibitem">false</xsl:when>
|
1194
|
+
<xsl:when test="ancestor::iso:term">false</xsl:when>
|
1195
|
+
<xsl:when test="ancestor::iso:annex and $level >= 2">false</xsl:when>
|
1196
|
+
<xsl:when test="$level <= 3">true</xsl:when>
|
1197
|
+
<xsl:otherwise>false</xsl:otherwise>
|
1198
|
+
</xsl:choose>
|
1199
|
+
</xsl:variable>
|
1200
|
+
|
1201
|
+
<xsl:variable name="display-section">
|
1202
|
+
<xsl:choose>
|
1203
|
+
<xsl:when test="ancestor::iso:annex">false</xsl:when>
|
1204
|
+
<xsl:otherwise>true</xsl:otherwise>
|
1205
|
+
</xsl:choose>
|
1206
|
+
</xsl:variable>
|
1207
|
+
|
1208
|
+
<xsl:variable name="type">
|
1209
|
+
<xsl:value-of select="local-name(..)"/>
|
1210
|
+
</xsl:variable>
|
1211
|
+
|
1212
|
+
<xsl:variable name="root">
|
1213
|
+
<xsl:choose>
|
1214
|
+
<xsl:when test="ancestor::iso:annex">annex</xsl:when>
|
1215
|
+
</xsl:choose>
|
1216
|
+
</xsl:variable>
|
1217
|
+
|
1218
|
+
<item id="{$id}" level="{$level}" section="{$section}" display-section="{$display-section}" display="{$display}" type="{$type}" root="{$root}">
|
1219
|
+
<xsl:attribute name="addon">
|
1220
|
+
<xsl:if test="local-name(..) = 'annex'"><xsl:value-of select="../@obligation"/></xsl:if>
|
1221
|
+
</xsl:attribute>
|
1222
|
+
<xsl:value-of select="."/>
|
1223
|
+
</item>
|
1224
|
+
|
1225
|
+
<xsl:apply-templates mode="contents">
|
1226
|
+
<xsl:with-param name="sectionNum" select="$sectionNum"/>
|
1227
|
+
</xsl:apply-templates>
|
1228
|
+
|
1229
|
+
</xsl:template>
|
1230
|
+
|
1231
|
+
|
1232
|
+
<xsl:template match="iso:figure" mode="contents">
|
1233
|
+
<item level="" id="{@id}" display="false">
|
1234
|
+
<xsl:attribute name="section">
|
1235
|
+
<xsl:call-template name="getFigureNumber"/>
|
1236
|
+
<!-- <xsl:text>Figure </xsl:text><xsl:number format="A.1-1" level="multiple" count="iso:annex | iso:figure"/> -->
|
1237
|
+
</xsl:attribute>
|
1238
|
+
</item>
|
1239
|
+
</xsl:template>
|
1240
|
+
|
1241
|
+
|
1242
|
+
<xsl:template match="iso:table" mode="contents">
|
1243
|
+
<xsl:param name="sectionNum"/>
|
1244
|
+
<xsl:variable name="annex-id" select="ancestor::iso:annex/@id"/>
|
1245
|
+
<item level="" id="{@id}" display="false" type="table">
|
1246
|
+
<xsl:attribute name="section">
|
1247
|
+
<xsl:text>Table </xsl:text>
|
1248
|
+
<xsl:choose>
|
1249
|
+
<xsl:when test="ancestor::*[local-name()='executivesummary']"> <!-- NIST -->
|
1250
|
+
<xsl:text>ES-</xsl:text><xsl:number format="1" count="*[local-name()='executivesummary']//*[local-name()='table']"/>
|
1251
|
+
</xsl:when>
|
1252
|
+
<xsl:when test="ancestor::*[local-name()='annex']">
|
1253
|
+
<xsl:number format="A-" count="iso:annex"/>
|
1254
|
+
<xsl:number format="1" level="any" count="iso:table[ancestor::iso:annex[@id = $annex-id]]"/>
|
1255
|
+
</xsl:when>
|
1256
|
+
<xsl:otherwise>
|
1257
|
+
<!-- <xsl:number format="1"/> -->
|
1258
|
+
<xsl:number format="1" level="any" count="*[local-name()='sections']//*[local-name()='table']"/>
|
1259
|
+
</xsl:otherwise>
|
1260
|
+
</xsl:choose>
|
1261
|
+
</xsl:attribute>
|
1262
|
+
<xsl:value-of select="iso:name/text()"/>
|
1263
|
+
</item>
|
1264
|
+
</xsl:template>
|
1265
|
+
|
1266
|
+
|
1267
|
+
|
1268
|
+
<xsl:template match="iso:formula" mode="contents">
|
1269
|
+
<item level="" id="{@id}" display="false">
|
1270
|
+
<xsl:attribute name="section">
|
1271
|
+
<xsl:text>Formula (</xsl:text><xsl:number format="A.1" level="multiple" count="iso:annex | iso:formula"/><xsl:text>)</xsl:text>
|
1272
|
+
</xsl:attribute>
|
1273
|
+
</item>
|
1274
|
+
</xsl:template>
|
1275
|
+
<!-- ============================= -->
|
1276
|
+
<!-- ============================= -->
|
1277
|
+
|
1278
|
+
|
1279
|
+
<xsl:template match="iso:license-statement//iso:title">
|
1280
|
+
<fo:block text-align="center" font-weight="bold">
|
1281
|
+
<xsl:apply-templates/>
|
1282
|
+
</fo:block>
|
1283
|
+
</xsl:template>
|
1284
|
+
|
1285
|
+
<xsl:template match="iso:license-statement//iso:p">
|
1286
|
+
<fo:block margin-left="1.5mm" margin-right="1.5mm">
|
1287
|
+
<xsl:if test="following-sibling::iso:p">
|
1288
|
+
<xsl:attribute name="margin-top">6pt</xsl:attribute>
|
1289
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
1290
|
+
</xsl:if>
|
1291
|
+
<xsl:apply-templates/>
|
1292
|
+
</fo:block>
|
1293
|
+
</xsl:template>
|
1294
|
+
|
1295
|
+
<!-- <fo:block margin-bottom="12pt">© ISO 2019, Published in Switzerland.</fo:block>
|
1296
|
+
<fo:block font-size="10pt" margin-bottom="12pt">All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized otherwise in any form or by any means, electronic or mechanical, including photocopying, or posting on the internet or an intranet, without prior written permission. Permission can be requested from either ISO at the address below or ISO’s member body in the country of the requester.</fo:block>
|
1297
|
+
<fo:block font-size="10pt" text-indent="7.1mm">
|
1298
|
+
<fo:block>ISO copyright office</fo:block>
|
1299
|
+
<fo:block>Ch. de Blandonnet 8 • CP 401</fo:block>
|
1300
|
+
<fo:block>CH-1214 Vernier, Geneva, Switzerland</fo:block>
|
1301
|
+
<fo:block>Tel. + 41 22 749 01 11</fo:block>
|
1302
|
+
<fo:block>Fax + 41 22 749 09 47</fo:block>
|
1303
|
+
<fo:block>copyright@iso.org</fo:block>
|
1304
|
+
<fo:block>www.iso.org</fo:block>
|
1305
|
+
</fo:block> -->
|
1306
|
+
|
1307
|
+
<xsl:template match="iso:copyright-statement//iso:p">
|
1308
|
+
<fo:block>
|
1309
|
+
<xsl:if test="preceding-sibling::iso:p">
|
1310
|
+
<!-- <xsl:attribute name="font-size">10pt</xsl:attribute> -->
|
1311
|
+
</xsl:if>
|
1312
|
+
<xsl:if test="following-sibling::iso:p">
|
1313
|
+
<!-- <xsl:attribute name="margin-bottom">12pt</xsl:attribute> -->
|
1314
|
+
<xsl:attribute name="margin-bottom">3pt</xsl:attribute>
|
1315
|
+
</xsl:if>
|
1316
|
+
<xsl:if test="contains(@id, 'address')"> <!-- not(following-sibling::iso:p) -->
|
1317
|
+
<!-- <xsl:attribute name="margin-left">7.1mm</xsl:attribute> -->
|
1318
|
+
<xsl:attribute name="margin-left">4mm</xsl:attribute>
|
1319
|
+
</xsl:if>
|
1320
|
+
<xsl:apply-templates/>
|
1321
|
+
</fo:block>
|
1322
|
+
</xsl:template>
|
1323
|
+
|
1324
|
+
<!-- Foreword, Introduction -->
|
1325
|
+
<xsl:template match="iso:iso-standard/iso:preface/*">
|
1326
|
+
<fo:block break-after="page"/>
|
1327
|
+
<xsl:apply-templates/>
|
1328
|
+
</xsl:template>
|
1329
|
+
|
1330
|
+
|
1331
|
+
|
1332
|
+
<!-- clause, terms, clause, ...-->
|
1333
|
+
<xsl:template match="iso:iso-standard/iso:sections/*">
|
1334
|
+
<xsl:param name="sectionNum"/>
|
1335
|
+
<xsl:param name="sectionNumSkew" select="0"/>
|
1336
|
+
<fo:block>
|
1337
|
+
<xsl:variable name="pos"><xsl:number count="iso:sections/iso:clause | iso:sections/iso:terms"/></xsl:variable>
|
1338
|
+
<xsl:if test="$pos >= 2">
|
1339
|
+
<xsl:attribute name="space-before">18pt</xsl:attribute>
|
1340
|
+
</xsl:if>
|
1341
|
+
<!-- pos=<xsl:value-of select="$pos" /> -->
|
1342
|
+
<xsl:variable name="sectionNum_">
|
1343
|
+
<xsl:choose>
|
1344
|
+
<xsl:when test="$sectionNum"><xsl:value-of select="$sectionNum"/></xsl:when>
|
1345
|
+
<xsl:when test="$sectionNumSkew != 0">
|
1346
|
+
<xsl:variable name="number"><xsl:number count="iso:sections/iso:clause | iso:sections/iso:terms"/></xsl:variable>
|
1347
|
+
<xsl:value-of select="$number + $sectionNumSkew"/>
|
1348
|
+
</xsl:when>
|
1349
|
+
</xsl:choose>
|
1350
|
+
</xsl:variable>
|
1351
|
+
<xsl:if test="not(iso:title)">
|
1352
|
+
<fo:block margin-top="3pt" margin-bottom="12pt">
|
1353
|
+
<xsl:value-of select="$sectionNum_"/><xsl:number format=".1 " level="multiple" count="iso:clause"/>
|
1354
|
+
</fo:block>
|
1355
|
+
</xsl:if>
|
1356
|
+
<xsl:apply-templates>
|
1357
|
+
<xsl:with-param name="sectionNum" select="$sectionNum_"/>
|
1358
|
+
</xsl:apply-templates>
|
1359
|
+
</fo:block>
|
1360
|
+
</xsl:template>
|
1361
|
+
|
1362
|
+
|
1363
|
+
|
1364
|
+
<xsl:template match="iso:clause//iso:clause[not(iso:title)]">
|
1365
|
+
<xsl:param name="sectionNum"/>
|
1366
|
+
<xsl:variable name="section">
|
1367
|
+
<xsl:call-template name="getSection">
|
1368
|
+
<xsl:with-param name="sectionNum" select="$sectionNum"/>
|
1369
|
+
</xsl:call-template>
|
1370
|
+
</xsl:variable>
|
1371
|
+
|
1372
|
+
<fo:block margin-top="3pt"><!-- margin-bottom="6pt" -->
|
1373
|
+
<fo:inline font-weight="bold" padding-right="3mm">
|
1374
|
+
<xsl:value-of select="$section"/><!-- <xsl:number format=".1 " level="multiple" count="iso:clause/iso:clause" /> -->
|
1375
|
+
</fo:inline>
|
1376
|
+
<xsl:apply-templates>
|
1377
|
+
<xsl:with-param name="sectionNum" select="$sectionNum"/>
|
1378
|
+
<xsl:with-param name="inline" select="'true'"/>
|
1379
|
+
</xsl:apply-templates>
|
1380
|
+
</fo:block>
|
1381
|
+
</xsl:template>
|
1382
|
+
|
1383
|
+
|
1384
|
+
<xsl:template match="iso:title">
|
1385
|
+
<xsl:param name="sectionNum"/>
|
1386
|
+
|
1387
|
+
<xsl:variable name="parent-name" select="local-name(..)"/>
|
1388
|
+
<xsl:variable name="references_num_current">
|
1389
|
+
<xsl:number level="any" count="iso:references"/>
|
1390
|
+
</xsl:variable>
|
1391
|
+
|
1392
|
+
<xsl:variable name="id">
|
1393
|
+
<xsl:call-template name="getId"/>
|
1394
|
+
</xsl:variable>
|
1395
|
+
|
1396
|
+
<xsl:variable name="level">
|
1397
|
+
<xsl:call-template name="getLevel"/>
|
1398
|
+
</xsl:variable>
|
1399
|
+
|
1400
|
+
<xsl:variable name="section">
|
1401
|
+
<xsl:call-template name="getSection">
|
1402
|
+
<xsl:with-param name="sectionNum" select="$sectionNum"/>
|
1403
|
+
</xsl:call-template>
|
1404
|
+
</xsl:variable>
|
1405
|
+
|
1406
|
+
<xsl:variable name="font-size">
|
1407
|
+
<xsl:choose>
|
1408
|
+
<xsl:when test="ancestor::iso:annex and $level = 2">13pt</xsl:when>
|
1409
|
+
<xsl:when test="ancestor::iso:annex and $level = 3">11pt</xsl:when>
|
1410
|
+
<xsl:when test="ancestor::iso:preface">16pt</xsl:when>
|
1411
|
+
<xsl:when test="$level = 2">12pt</xsl:when>
|
1412
|
+
<xsl:when test="$level >= 3">11pt</xsl:when>
|
1413
|
+
<xsl:otherwise>13pt</xsl:otherwise>
|
1414
|
+
</xsl:choose>
|
1415
|
+
</xsl:variable>
|
1416
|
+
|
1417
|
+
<xsl:variable name="element-name">
|
1418
|
+
<xsl:choose>
|
1419
|
+
<xsl:when test="../@inline-header = 'true'">fo:inline</xsl:when>
|
1420
|
+
<xsl:otherwise>fo:block</xsl:otherwise>
|
1421
|
+
</xsl:choose>
|
1422
|
+
</xsl:variable>
|
1423
|
+
|
1424
|
+
<xsl:choose>
|
1425
|
+
<xsl:when test="$parent-name = 'annex'">
|
1426
|
+
<fo:block id="{$id}" font-size="16pt" font-weight="bold" text-align="center" margin-bottom="12pt" keep-with-next="always">
|
1427
|
+
<xsl:value-of select="$section"/>
|
1428
|
+
<xsl:if test=" ../@obligation">
|
1429
|
+
<xsl:value-of select="$linebreak"/>
|
1430
|
+
<fo:inline font-weight="normal">(<xsl:value-of select="../@obligation"/>)</fo:inline>
|
1431
|
+
</xsl:if>
|
1432
|
+
<fo:block margin-top="18pt" margin-bottom="48pt"><xsl:apply-templates/></fo:block>
|
1433
|
+
</fo:block>
|
1434
|
+
</xsl:when>
|
1435
|
+
<xsl:when test="$parent-name = 'references' and $references_num_current != 1"> <!-- Bibliography -->
|
1436
|
+
<fo:block id="{$id}" font-size="16pt" font-weight="bold" text-align="center" margin-top="6pt" margin-bottom="36pt" keep-with-next="always">
|
1437
|
+
<xsl:apply-templates/>
|
1438
|
+
</fo:block>
|
1439
|
+
</xsl:when>
|
1440
|
+
|
1441
|
+
<xsl:otherwise>
|
1442
|
+
<xsl:element name="{$element-name}">
|
1443
|
+
<xsl:attribute name="id"><xsl:value-of select="$id"/></xsl:attribute>
|
1444
|
+
<xsl:attribute name="font-size"><xsl:value-of select="$font-size"/></xsl:attribute>
|
1445
|
+
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
1446
|
+
<xsl:attribute name="margin-top"> <!-- margin-top -->
|
1447
|
+
<xsl:choose>
|
1448
|
+
<xsl:when test="ancestor::iso:preface">8pt</xsl:when>
|
1449
|
+
<xsl:when test="$level = 2 and ancestor::annex">18pt</xsl:when>
|
1450
|
+
<xsl:when test="$level = '' or $level = 1">6pt</xsl:when><!-- 13.5pt -->
|
1451
|
+
<xsl:otherwise>12pt</xsl:otherwise>
|
1452
|
+
</xsl:choose>
|
1453
|
+
</xsl:attribute>
|
1454
|
+
<xsl:attribute name="margin-bottom">
|
1455
|
+
<xsl:choose>
|
1456
|
+
<xsl:when test="ancestor::iso:preface">18pt</xsl:when>
|
1457
|
+
<xsl:otherwise>12pt</xsl:otherwise>
|
1458
|
+
</xsl:choose>
|
1459
|
+
</xsl:attribute>
|
1460
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
1461
|
+
|
1462
|
+
|
1463
|
+
<!-- DEBUG level=<xsl:value-of select="$level"/>x -->
|
1464
|
+
<!-- section=<xsl:value-of select="$sectionNum"/> -->
|
1465
|
+
<!-- <xsl:if test="$sectionNum"> -->
|
1466
|
+
<xsl:value-of select="$section"/>
|
1467
|
+
<xsl:if test="$section != ''">
|
1468
|
+
<xsl:choose>
|
1469
|
+
<xsl:when test="$level = 2">
|
1470
|
+
<fo:inline padding-right="2mm"> </fo:inline>
|
1471
|
+
</xsl:when>
|
1472
|
+
<xsl:otherwise>
|
1473
|
+
<fo:inline padding-right="3mm"> </fo:inline>
|
1474
|
+
</xsl:otherwise>
|
1475
|
+
</xsl:choose>
|
1476
|
+
</xsl:if>
|
1477
|
+
|
1478
|
+
<xsl:apply-templates/>
|
1479
|
+
</xsl:element>
|
1480
|
+
|
1481
|
+
<xsl:if test="$element-name = 'fo:inline' and not(following-sibling::iso:p)">
|
1482
|
+
<fo:block> <!-- margin-bottom="12pt" -->
|
1483
|
+
<xsl:value-of select="$linebreak"/>
|
1484
|
+
</fo:block>
|
1485
|
+
</xsl:if>
|
1486
|
+
</xsl:otherwise>
|
1487
|
+
</xsl:choose>
|
1488
|
+
|
1489
|
+
</xsl:template>
|
1490
|
+
|
1491
|
+
|
1492
|
+
|
1493
|
+
<xsl:template match="iso:p">
|
1494
|
+
<xsl:param name="inline" select="'false'"/>
|
1495
|
+
<xsl:variable name="previous-element" select="local-name(preceding-sibling::*[1])"/>
|
1496
|
+
<xsl:variable name="element-name">
|
1497
|
+
<xsl:choose>
|
1498
|
+
<xsl:when test="$inline = 'true'">fo:inline</xsl:when>
|
1499
|
+
<xsl:when test="../@inline-header = 'true' and $previous-element = 'title'">fo:inline</xsl:when> <!-- first paragraph after inline title -->
|
1500
|
+
<xsl:when test="local-name(..) = 'admonition'">fo:inline</xsl:when>
|
1501
|
+
<xsl:otherwise>fo:block</xsl:otherwise>
|
1502
|
+
</xsl:choose>
|
1503
|
+
</xsl:variable>
|
1504
|
+
<xsl:element name="{$element-name}">
|
1505
|
+
<xsl:attribute name="text-align">
|
1506
|
+
<xsl:choose>
|
1507
|
+
<!-- <xsl:when test="ancestor::iso:preface">justify</xsl:when> -->
|
1508
|
+
<xsl:when test="@align"><xsl:value-of select="@align"/></xsl:when>
|
1509
|
+
<xsl:otherwise>justify</xsl:otherwise><!-- left -->
|
1510
|
+
</xsl:choose>
|
1511
|
+
</xsl:attribute>
|
1512
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
1513
|
+
<xsl:apply-templates/>
|
1514
|
+
</xsl:element>
|
1515
|
+
<xsl:if test="$element-name = 'fo:inline' and not($inline = 'true') and not(local-name(..) = 'admonition')">
|
1516
|
+
<fo:block margin-bottom="12pt">
|
1517
|
+
<xsl:if test="ancestor::iso:annex">
|
1518
|
+
<xsl:attribute name="margin-bottom">0</xsl:attribute>
|
1519
|
+
</xsl:if>
|
1520
|
+
<xsl:value-of select="$linebreak"/>
|
1521
|
+
</fo:block>
|
1522
|
+
</xsl:if>
|
1523
|
+
<xsl:if test="$inline = 'true'">
|
1524
|
+
<fo:block> </fo:block>
|
1525
|
+
</xsl:if>
|
1526
|
+
</xsl:template>
|
1527
|
+
|
1528
|
+
<!--
|
1529
|
+
<fn reference="1">
|
1530
|
+
<p id="_8e5cf917-f75a-4a49-b0aa-1714cb6cf954">Formerly denoted as 15 % (m/m).</p>
|
1531
|
+
</fn>
|
1532
|
+
-->
|
1533
|
+
<xsl:template match="iso:p/iso:fn" priority="2">
|
1534
|
+
<fo:footnote>
|
1535
|
+
<xsl:variable name="number">
|
1536
|
+
<xsl:number level="any" count="iso:p/iso:fn"/>
|
1537
|
+
</xsl:variable>
|
1538
|
+
<fo:inline font-size="80%" keep-with-previous.within-line="always" vertical-align="super">
|
1539
|
+
<fo:basic-link internal-destination="footnote_{@reference}" fox:alt-text="footnote {@reference}">
|
1540
|
+
<!-- <xsl:value-of select="@reference"/> -->
|
1541
|
+
<xsl:value-of select="$number + count(//iso:bibitem/iso:note)"/><xsl:text>)</xsl:text>
|
1542
|
+
</fo:basic-link>
|
1543
|
+
</fo:inline>
|
1544
|
+
<fo:footnote-body>
|
1545
|
+
<fo:block font-size="10pt" margin-bottom="12pt">
|
1546
|
+
<fo:inline id="footnote_{@reference}" keep-with-next.within-line="always" padding-right="3mm"> <!-- font-size="60%" alignment-baseline="hanging" -->
|
1547
|
+
<xsl:value-of select="$number + count(//iso:bibitem/iso:note)"/><xsl:text>)</xsl:text>
|
1548
|
+
</fo:inline>
|
1549
|
+
<xsl:for-each select="iso:p">
|
1550
|
+
<xsl:apply-templates/>
|
1551
|
+
</xsl:for-each>
|
1552
|
+
</fo:block>
|
1553
|
+
</fo:footnote-body>
|
1554
|
+
</fo:footnote>
|
1555
|
+
</xsl:template>
|
1556
|
+
|
1557
|
+
<xsl:template match="iso:p/iso:fn/iso:p">
|
1558
|
+
<xsl:apply-templates/>
|
1559
|
+
</xsl:template>
|
1560
|
+
|
1561
|
+
<xsl:template match="iso:review">
|
1562
|
+
<!-- comment 2019-11-29 -->
|
1563
|
+
<!-- <fo:block font-weight="bold">Review:</fo:block>
|
1564
|
+
<xsl:apply-templates /> -->
|
1565
|
+
</xsl:template>
|
1566
|
+
|
1567
|
+
<xsl:template match="text()">
|
1568
|
+
<xsl:value-of select="."/>
|
1569
|
+
</xsl:template>
|
1570
|
+
|
1571
|
+
<xsl:template match="iso:image">
|
1572
|
+
<fo:block-container text-align="center">
|
1573
|
+
<fo:block>
|
1574
|
+
<fo:external-graphic src="{@src}" fox:alt-text="Image {@alt}"/>
|
1575
|
+
</fo:block>
|
1576
|
+
<fo:block font-weight="bold" margin-top="12pt" margin-bottom="12pt">
|
1577
|
+
<xsl:value-of select="$title-figure"/>
|
1578
|
+
<xsl:call-template name="getFigureNumber"/>
|
1579
|
+
</fo:block>
|
1580
|
+
</fo:block-container>
|
1581
|
+
</xsl:template>
|
1582
|
+
|
1583
|
+
<xsl:template match="iso:figure">
|
1584
|
+
<fo:block-container id="{@id}">
|
1585
|
+
<fo:block>
|
1586
|
+
<xsl:apply-templates/>
|
1587
|
+
</fo:block>
|
1588
|
+
<xsl:call-template name="fn_display_figure"/>
|
1589
|
+
<xsl:for-each select="iso:note//iso:p">
|
1590
|
+
<xsl:call-template name="note"/>
|
1591
|
+
</xsl:for-each>
|
1592
|
+
<fo:block font-weight="bold" text-align="center" margin-top="12pt" margin-bottom="12pt" keep-with-previous="always">
|
1593
|
+
<xsl:call-template name="getFigureNumber"/>
|
1594
|
+
<xsl:if test="iso:name">
|
1595
|
+
<xsl:if test="not(local-name(..) = 'figure')">
|
1596
|
+
<xsl:text> — </xsl:text>
|
1597
|
+
</xsl:if>
|
1598
|
+
<xsl:value-of select="iso:name"/>
|
1599
|
+
</xsl:if>
|
1600
|
+
</fo:block>
|
1601
|
+
</fo:block-container>
|
1602
|
+
</xsl:template>
|
1603
|
+
|
1604
|
+
<xsl:template name="getFigureNumber">
|
1605
|
+
<xsl:choose>
|
1606
|
+
<xsl:when test="ancestor::iso:annex">
|
1607
|
+
<xsl:choose>
|
1608
|
+
<xsl:when test="local-name(..) = 'figure'">
|
1609
|
+
<xsl:number format="a) "/>
|
1610
|
+
</xsl:when>
|
1611
|
+
<xsl:otherwise>
|
1612
|
+
<xsl:value-of select="$title-figure"/><xsl:number format="A.1-1" level="multiple" count="iso:annex | iso:figure"/>
|
1613
|
+
</xsl:otherwise>
|
1614
|
+
</xsl:choose>
|
1615
|
+
</xsl:when>
|
1616
|
+
<xsl:otherwise>
|
1617
|
+
<xsl:value-of select="$title-figure"/><xsl:number format="1" level="any"/>
|
1618
|
+
</xsl:otherwise>
|
1619
|
+
</xsl:choose>
|
1620
|
+
</xsl:template>
|
1621
|
+
|
1622
|
+
<xsl:template match="iso:figure/iso:name"/>
|
1623
|
+
<xsl:template match="iso:figure/iso:fn" priority="2"/>
|
1624
|
+
<xsl:template match="iso:figure/iso:note"/>
|
1625
|
+
|
1626
|
+
|
1627
|
+
<xsl:template match="iso:figure/iso:image">
|
1628
|
+
<fo:block text-align="center">
|
1629
|
+
<fo:external-graphic src="{@src}" width="100%" content-height="scale-to-fit" content-width="scale-to-fit" scaling="uniform" fox:alt-text="Image {@alt}"/>
|
1630
|
+
</fo:block>
|
1631
|
+
</xsl:template>
|
1632
|
+
|
1633
|
+
|
1634
|
+
<xsl:template match="iso:bibitem">
|
1635
|
+
<fo:block id="{@id}" margin-bottom="6pt"> <!-- 12 pt -->
|
1636
|
+
<!-- iso:docidentifier -->
|
1637
|
+
<xsl:if test="iso:docidentifier">
|
1638
|
+
<xsl:choose>
|
1639
|
+
<xsl:when test="iso:docidentifier/@type = 'metanorma'"/>
|
1640
|
+
<xsl:otherwise><fo:inline><xsl:value-of select="iso:docidentifier"/></fo:inline></xsl:otherwise>
|
1641
|
+
</xsl:choose>
|
1642
|
+
</xsl:if>
|
1643
|
+
<xsl:apply-templates select="iso:note"/>
|
1644
|
+
<xsl:if test="iso:docidentifier">, </xsl:if>
|
1645
|
+
<fo:inline font-style="italic">
|
1646
|
+
<xsl:choose>
|
1647
|
+
<xsl:when test="iso:title[@type = 'main' and @language = 'en']">
|
1648
|
+
<xsl:value-of select="iso:title[@type = 'main' and @language = 'en']"/>
|
1649
|
+
</xsl:when>
|
1650
|
+
<xsl:otherwise>
|
1651
|
+
<xsl:value-of select="iso:title"/>
|
1652
|
+
</xsl:otherwise>
|
1653
|
+
</xsl:choose>
|
1654
|
+
</fo:inline>
|
1655
|
+
</fo:block>
|
1656
|
+
</xsl:template>
|
1657
|
+
|
1658
|
+
|
1659
|
+
<xsl:template match="iso:bibitem/iso:note">
|
1660
|
+
<fo:footnote>
|
1661
|
+
<xsl:variable name="number">
|
1662
|
+
<xsl:number level="any" count="iso:bibitem/iso:note"/>
|
1663
|
+
</xsl:variable>
|
1664
|
+
<fo:inline font-size="85%" keep-with-previous.within-line="always" vertical-align="super"> <!--60% -->
|
1665
|
+
<fo:basic-link internal-destination="footnote_{../@id}" fox:alt-text="footnote {$number}">
|
1666
|
+
<xsl:value-of select="$number"/><xsl:text>)</xsl:text>
|
1667
|
+
</fo:basic-link>
|
1668
|
+
</fo:inline>
|
1669
|
+
<fo:footnote-body>
|
1670
|
+
<fo:block font-size="10pt" margin-bottom="12pt">
|
1671
|
+
<fo:inline id="footnote_{../@id}" keep-with-next.within-line="always" alignment-baseline="hanging" padding-right="9mm"><!-- font-size="60%" -->
|
1672
|
+
<xsl:value-of select="$number"/><xsl:text>)</xsl:text>
|
1673
|
+
</fo:inline>
|
1674
|
+
<xsl:apply-templates/>
|
1675
|
+
</fo:block>
|
1676
|
+
</fo:footnote-body>
|
1677
|
+
</fo:footnote>
|
1678
|
+
</xsl:template>
|
1679
|
+
|
1680
|
+
|
1681
|
+
|
1682
|
+
<xsl:template match="iso:ul | iso:ol">
|
1683
|
+
<fo:list-block provisional-distance-between-starts="7mm">
|
1684
|
+
<xsl:apply-templates/>
|
1685
|
+
</fo:list-block>
|
1686
|
+
<xsl:for-each select="./iso:note//iso:p">
|
1687
|
+
<xsl:call-template name="note"/>
|
1688
|
+
</xsl:for-each>
|
1689
|
+
</xsl:template>
|
1690
|
+
|
1691
|
+
<xsl:template match="iso:ul//iso:note | iso:ol//iso:note"/>
|
1692
|
+
|
1693
|
+
<xsl:template match="iso:li">
|
1694
|
+
<fo:list-item id="{@id}">
|
1695
|
+
<fo:list-item-label end-indent="label-end()">
|
1696
|
+
<fo:block>
|
1697
|
+
<xsl:choose>
|
1698
|
+
<xsl:when test="local-name(..) = 'ul'">—</xsl:when> <!-- dash -->
|
1699
|
+
<xsl:otherwise> <!-- for ordered lists -->
|
1700
|
+
<xsl:choose>
|
1701
|
+
<xsl:when test="../@type = 'arabic'">
|
1702
|
+
<xsl:number format="a)"/>
|
1703
|
+
</xsl:when>
|
1704
|
+
<xsl:when test="../@type = 'alphabet'">
|
1705
|
+
<xsl:number format="a)"/>
|
1706
|
+
</xsl:when>
|
1707
|
+
<xsl:otherwise>
|
1708
|
+
<xsl:number format="1."/>
|
1709
|
+
</xsl:otherwise>
|
1710
|
+
</xsl:choose>
|
1711
|
+
</xsl:otherwise>
|
1712
|
+
</xsl:choose>
|
1713
|
+
</fo:block>
|
1714
|
+
</fo:list-item-label>
|
1715
|
+
<fo:list-item-body start-indent="body-start()">
|
1716
|
+
<xsl:apply-templates/>
|
1717
|
+
<xsl:apply-templates select=".//iso:note" mode="process"/>
|
1718
|
+
</fo:list-item-body>
|
1719
|
+
</fo:list-item>
|
1720
|
+
</xsl:template>
|
1721
|
+
|
1722
|
+
<xsl:template match="iso:link">
|
1723
|
+
<fo:inline>
|
1724
|
+
<fo:basic-link external-destination="{@target}" color="blue" text-decoration="underline" fox:alt-text="{@target}">
|
1725
|
+
<xsl:choose>
|
1726
|
+
<xsl:when test="normalize-space(.) = ''">
|
1727
|
+
<xsl:value-of select="@target"/>
|
1728
|
+
</xsl:when>
|
1729
|
+
<xsl:otherwise>
|
1730
|
+
<xsl:apply-templates/>
|
1731
|
+
</xsl:otherwise>
|
1732
|
+
</xsl:choose>
|
1733
|
+
</fo:basic-link>
|
1734
|
+
</fo:inline>
|
1735
|
+
</xsl:template>
|
1736
|
+
|
1737
|
+
<xsl:template match="iso:preferred">
|
1738
|
+
<xsl:param name="sectionNum"/>
|
1739
|
+
<fo:block line-height="1.1">
|
1740
|
+
<fo:block font-weight="bold" keep-with-next="always">
|
1741
|
+
<fo:inline id="{../@id}">
|
1742
|
+
<xsl:value-of select="$sectionNum"/>.<xsl:number count="iso:term"/>
|
1743
|
+
</fo:inline>
|
1744
|
+
</fo:block>
|
1745
|
+
<fo:block font-weight="bold" keep-with-next="always">
|
1746
|
+
<xsl:apply-templates/>
|
1747
|
+
</fo:block>
|
1748
|
+
</fo:block>
|
1749
|
+
</xsl:template>
|
1750
|
+
|
1751
|
+
<xsl:template match="iso:admitted">
|
1752
|
+
<fo:block>
|
1753
|
+
<xsl:apply-templates/>
|
1754
|
+
</fo:block>
|
1755
|
+
</xsl:template>
|
1756
|
+
|
1757
|
+
<xsl:template match="iso:deprecates">
|
1758
|
+
<fo:block>DEPRECATED: <xsl:apply-templates/></fo:block>
|
1759
|
+
</xsl:template>
|
1760
|
+
|
1761
|
+
<xsl:template match="iso:definition[preceding-sibling::iso:domain]">
|
1762
|
+
<xsl:apply-templates/>
|
1763
|
+
</xsl:template>
|
1764
|
+
<xsl:template match="iso:definition[preceding-sibling::iso:domain]/iso:p">
|
1765
|
+
<fo:inline> <xsl:apply-templates/></fo:inline>
|
1766
|
+
<fo:block> </fo:block>
|
1767
|
+
</xsl:template>
|
1768
|
+
|
1769
|
+
<xsl:template match="iso:definition">
|
1770
|
+
<fo:block margin-bottom="6pt">
|
1771
|
+
<xsl:apply-templates/>
|
1772
|
+
</fo:block>
|
1773
|
+
</xsl:template>
|
1774
|
+
|
1775
|
+
<xsl:template match="iso:termsource">
|
1776
|
+
<fo:block margin-bottom="8pt" keep-with-previous="always">
|
1777
|
+
<!-- Example: [SOURCE: ISO 5127:2017, 3.1.6.02] -->
|
1778
|
+
<fo:basic-link internal-destination="{iso:origin/@bibitemid}" fox:alt-text="{iso:origin/@citeas}">
|
1779
|
+
<xsl:text>[SOURCE: </xsl:text>
|
1780
|
+
<xsl:value-of select="iso:origin/@citeas"/>
|
1781
|
+
<xsl:if test="iso:origin/iso:locality/iso:referenceFrom">
|
1782
|
+
<xsl:text>, </xsl:text><xsl:value-of select="iso:origin/iso:locality/iso:referenceFrom"/>
|
1783
|
+
</xsl:if>
|
1784
|
+
</fo:basic-link>
|
1785
|
+
<xsl:apply-templates select="iso:modification"/>
|
1786
|
+
<xsl:text>]</xsl:text>
|
1787
|
+
</fo:block>
|
1788
|
+
</xsl:template>
|
1789
|
+
|
1790
|
+
<xsl:template match="iso:modification">
|
1791
|
+
<xsl:text>, modified — </xsl:text>
|
1792
|
+
<xsl:apply-templates/>
|
1793
|
+
</xsl:template>
|
1794
|
+
<xsl:template match="iso:modification/iso:p">
|
1795
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
1796
|
+
</xsl:template>
|
1797
|
+
|
1798
|
+
<xsl:template match="iso:termnote">
|
1799
|
+
<fo:block font-size="10pt" margin-bottom="12pt">
|
1800
|
+
<xsl:text>Note </xsl:text>
|
1801
|
+
<xsl:number/>
|
1802
|
+
<xsl:text> to entry: </xsl:text>
|
1803
|
+
<xsl:apply-templates/>
|
1804
|
+
</fo:block>
|
1805
|
+
</xsl:template>
|
1806
|
+
|
1807
|
+
<xsl:template match="iso:termnote/iso:p">
|
1808
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
1809
|
+
</xsl:template>
|
1810
|
+
|
1811
|
+
<xsl:template match="iso:domain">
|
1812
|
+
<fo:inline><<xsl:apply-templates/>></fo:inline>
|
1813
|
+
</xsl:template>
|
1814
|
+
|
1815
|
+
|
1816
|
+
<xsl:template match="iso:termexample">
|
1817
|
+
<fo:block font-size="10pt" margin-bottom="12pt">
|
1818
|
+
<fo:inline padding-right="10mm">EXAMPLE</fo:inline>
|
1819
|
+
<xsl:apply-templates/>
|
1820
|
+
</fo:block>
|
1821
|
+
</xsl:template>
|
1822
|
+
|
1823
|
+
<xsl:template match="iso:termexample/iso:p">
|
1824
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
1825
|
+
</xsl:template>
|
1826
|
+
|
1827
|
+
|
1828
|
+
<xsl:template match="iso:annex">
|
1829
|
+
<fo:block break-after="page"/>
|
1830
|
+
<xsl:apply-templates/>
|
1831
|
+
</xsl:template>
|
1832
|
+
|
1833
|
+
|
1834
|
+
<!-- <xsl:template match="iso:references[@id = '_bibliography']"> -->
|
1835
|
+
<xsl:template match="iso:references[position() > 1]">
|
1836
|
+
<fo:block break-after="page"/>
|
1837
|
+
<xsl:apply-templates/>
|
1838
|
+
</xsl:template>
|
1839
|
+
|
1840
|
+
|
1841
|
+
<!-- Example: [1] ISO 9:1995, Information and documentation – Transliteration of Cyrillic characters into Latin characters – Slavic and non-Slavic languages -->
|
1842
|
+
<!-- <xsl:template match="iso:references[@id = '_bibliography']/iso:bibitem"> -->
|
1843
|
+
<xsl:template match="iso:references[position() > 1]/iso:bibitem">
|
1844
|
+
<fo:list-block margin-bottom="6pt" provisional-distance-between-starts="12mm">
|
1845
|
+
<fo:list-item>
|
1846
|
+
<fo:list-item-label end-indent="label-end()">
|
1847
|
+
<fo:block>
|
1848
|
+
<fo:inline id="{@id}">
|
1849
|
+
<xsl:number format="[1]"/>
|
1850
|
+
</fo:inline>
|
1851
|
+
</fo:block>
|
1852
|
+
</fo:list-item-label>
|
1853
|
+
<fo:list-item-body start-indent="body-start()">
|
1854
|
+
<fo:block>
|
1855
|
+
<xsl:if test="iso:docidentifier">
|
1856
|
+
<xsl:choose>
|
1857
|
+
<xsl:when test="iso:docidentifier/@type = 'metanorma'"/>
|
1858
|
+
<xsl:otherwise><fo:inline><xsl:value-of select="iso:docidentifier"/>, </fo:inline></xsl:otherwise>
|
1859
|
+
</xsl:choose>
|
1860
|
+
</xsl:if>
|
1861
|
+
<xsl:choose>
|
1862
|
+
<xsl:when test="iso:title[@type = 'main' and @language = 'en']">
|
1863
|
+
<xsl:apply-templates select="iso:title[@type = 'main' and @language = 'en']"/>
|
1864
|
+
</xsl:when>
|
1865
|
+
<xsl:otherwise>
|
1866
|
+
<xsl:apply-templates select="iso:title"/>
|
1867
|
+
</xsl:otherwise>
|
1868
|
+
</xsl:choose>
|
1869
|
+
<xsl:apply-templates select="iso:formattedref"/>
|
1870
|
+
</fo:block>
|
1871
|
+
</fo:list-item-body>
|
1872
|
+
</fo:list-item>
|
1873
|
+
</fo:list-block>
|
1874
|
+
</xsl:template>
|
1875
|
+
|
1876
|
+
<!-- <xsl:template match="iso:references[@id = '_bibliography']/iso:bibitem" mode="contents"/> -->
|
1877
|
+
<xsl:template match="iso:references[position() > 1]/iso:bibitem" mode="contents"/>
|
1878
|
+
|
1879
|
+
<!-- <xsl:template match="iso:references[@id = '_bibliography']/iso:bibitem/iso:title"> -->
|
1880
|
+
<xsl:template match="iso:references[position() > 1]/iso:bibitem/iso:title">
|
1881
|
+
<fo:inline font-style="italic">
|
1882
|
+
<xsl:apply-templates/>
|
1883
|
+
</fo:inline>
|
1884
|
+
</xsl:template>
|
1885
|
+
|
1886
|
+
<xsl:template match="iso:quote">
|
1887
|
+
<fo:block margin-top="12pt" margin-left="12mm" margin-right="12mm">
|
1888
|
+
<xsl:apply-templates select=".//iso:p"/>
|
1889
|
+
</fo:block>
|
1890
|
+
<fo:block text-align="right">
|
1891
|
+
<!-- — ISO, ISO 7301:2011, Clause 1 -->
|
1892
|
+
<xsl:text>— </xsl:text><xsl:value-of select="iso:author"/>
|
1893
|
+
<xsl:if test="iso:source">
|
1894
|
+
<xsl:text>, </xsl:text>
|
1895
|
+
<xsl:apply-templates select="iso:source"/>
|
1896
|
+
</xsl:if>
|
1897
|
+
</fo:block>
|
1898
|
+
</xsl:template>
|
1899
|
+
|
1900
|
+
<xsl:template match="iso:source">
|
1901
|
+
<fo:basic-link internal-destination="{@bibitemid}" fox:alt-text="{@citeas}">
|
1902
|
+
<xsl:value-of select="@citeas" disable-output-escaping="yes"/>
|
1903
|
+
<xsl:if test="iso:locality">
|
1904
|
+
<xsl:text>, </xsl:text>
|
1905
|
+
<xsl:apply-templates select="iso:locality"/>
|
1906
|
+
</xsl:if>
|
1907
|
+
</fo:basic-link>
|
1908
|
+
</xsl:template>
|
1909
|
+
|
1910
|
+
<xsl:template match="iso:appendix">
|
1911
|
+
<fo:block font-size="12pt" font-weight="bold" margin-top="12pt" margin-bottom="12pt">
|
1912
|
+
<fo:inline padding-right="5mm">Appendix <xsl:number/></fo:inline>
|
1913
|
+
<xsl:apply-templates select="iso:title" mode="process"/>
|
1914
|
+
</fo:block>
|
1915
|
+
<xsl:apply-templates/>
|
1916
|
+
</xsl:template>
|
1917
|
+
|
1918
|
+
<xsl:template match="iso:appendix//iso:example">
|
1919
|
+
<fo:block font-size="10pt" margin-bottom="12pt">
|
1920
|
+
<xsl:text>EXAMPLE</xsl:text>
|
1921
|
+
<xsl:if test="iso:name">
|
1922
|
+
<xsl:text> — </xsl:text><xsl:apply-templates select="iso:name" mode="process"/>
|
1923
|
+
</xsl:if>
|
1924
|
+
</fo:block>
|
1925
|
+
<xsl:apply-templates/>
|
1926
|
+
</xsl:template>
|
1927
|
+
|
1928
|
+
<xsl:template match="iso:appendix//iso:example/iso:name"/>
|
1929
|
+
<xsl:template match="iso:appendix//iso:example/iso:name" mode="process">
|
1930
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
1931
|
+
</xsl:template>
|
1932
|
+
|
1933
|
+
<!-- <xsl:template match="iso:callout/text()">
|
1934
|
+
<fo:basic-link internal-destination="{@target}"><fo:inline><<xsl:apply-templates />></fo:inline></fo:basic-link>
|
1935
|
+
</xsl:template> -->
|
1936
|
+
<xsl:template match="iso:callout">
|
1937
|
+
<fo:basic-link internal-destination="{@target}" fox:alt-text="{@target}"><<xsl:apply-templates/>></fo:basic-link>
|
1938
|
+
</xsl:template>
|
1939
|
+
|
1940
|
+
<xsl:template match="iso:annotation">
|
1941
|
+
<fo:block>
|
1942
|
+
|
1943
|
+
</fo:block>
|
1944
|
+
<xsl:apply-templates/>
|
1945
|
+
</xsl:template>
|
1946
|
+
|
1947
|
+
<xsl:template match="iso:annotation/text()"/>
|
1948
|
+
|
1949
|
+
<xsl:template match="iso:annotation/iso:p">
|
1950
|
+
<xsl:variable name="annotation-id" select="../@id"/>
|
1951
|
+
<xsl:variable name="callout" select="//*[@target = $annotation-id]/text()"/>
|
1952
|
+
<fo:block id="{$annotation-id}">
|
1953
|
+
<xsl:value-of select="concat('<', $callout, '> ')"/>
|
1954
|
+
<xsl:apply-templates/>
|
1955
|
+
</fo:block>
|
1956
|
+
</xsl:template>
|
1957
|
+
|
1958
|
+
|
1959
|
+
<xsl:template match="iso:appendix/iso:title"/>
|
1960
|
+
<xsl:template match="iso:appendix/iso:title" mode="process">
|
1961
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
1962
|
+
</xsl:template>
|
1963
|
+
|
1964
|
+
<xsl:template match="mathml:math" priority="2">
|
1965
|
+
<fo:inline font-family="Cambria Math">
|
1966
|
+
<fo:instream-foreign-object fox:alt-text="Math">
|
1967
|
+
<xsl:copy-of select="."/>
|
1968
|
+
</fo:instream-foreign-object>
|
1969
|
+
</fo:inline>
|
1970
|
+
</xsl:template>
|
1971
|
+
|
1972
|
+
<xsl:template match="iso:xref">
|
1973
|
+
<xsl:variable name="target" select="normalize-space(@target)"/>
|
1974
|
+
<fo:basic-link internal-destination="{$target}" fox:alt-text="{$target}">
|
1975
|
+
<xsl:variable name="section" select="xalan:nodeset($contents)//item[@id = $target]/@section"/>
|
1976
|
+
<xsl:if test="not(starts-with($section, 'Figure') or starts-with($section, 'Table'))">
|
1977
|
+
<xsl:attribute name="color">blue</xsl:attribute>
|
1978
|
+
<xsl:attribute name="text-decoration">underline</xsl:attribute>
|
1979
|
+
</xsl:if>
|
1980
|
+
<xsl:variable name="type" select="xalan:nodeset($contents)//item[@id = $target]/@type"/>
|
1981
|
+
<xsl:variable name="root" select="xalan:nodeset($contents)//item[@id =$target]/@root"/>
|
1982
|
+
<xsl:choose>
|
1983
|
+
<xsl:when test="$type = 'clause' and $root != 'annex'">Clause </xsl:when><!-- and not (ancestor::annex) -->
|
1984
|
+
<xsl:otherwise/> <!-- <xsl:value-of select="$type"/> -->
|
1985
|
+
</xsl:choose>
|
1986
|
+
<xsl:value-of select="$section"/>
|
1987
|
+
</fo:basic-link>
|
1988
|
+
</xsl:template>
|
1989
|
+
|
1990
|
+
<xsl:template match="iso:sourcecode">
|
1991
|
+
<fo:block font-family="Courier" font-size="9pt" margin-bottom="12pt">
|
1992
|
+
<xsl:choose>
|
1993
|
+
<xsl:when test="@lang = 'en'"/>
|
1994
|
+
<xsl:otherwise>
|
1995
|
+
<xsl:attribute name="white-space">pre</xsl:attribute>
|
1996
|
+
</xsl:otherwise>
|
1997
|
+
</xsl:choose>
|
1998
|
+
<xsl:apply-templates/>
|
1999
|
+
</fo:block>
|
2000
|
+
</xsl:template>
|
2001
|
+
|
2002
|
+
<xsl:template match="iso:example/iso:p">
|
2003
|
+
<fo:block font-size="10pt">
|
2004
|
+
<fo:inline padding-right="9mm">EXAMPLE</fo:inline>
|
2005
|
+
<xsl:apply-templates/>
|
2006
|
+
</fo:block>
|
2007
|
+
</xsl:template>
|
2008
|
+
|
2009
|
+
<xsl:template match="iso:note/iso:p" name="note">
|
2010
|
+
<fo:block font-size="10pt" margin-bottom="12pt">
|
2011
|
+
<fo:inline padding-right="6mm">NOTE</fo:inline>
|
2012
|
+
<xsl:apply-templates/>
|
2013
|
+
</fo:block>
|
2014
|
+
</xsl:template>
|
2015
|
+
|
2016
|
+
<!-- <eref type="inline" bibitemid="ISO20483" citeas="ISO 20483:2013"><locality type="annex"><referenceFrom>C</referenceFrom></locality></eref> -->
|
2017
|
+
<xsl:template match="iso:eref">
|
2018
|
+
<fo:basic-link internal-destination="{@bibitemid}" fox:alt-text="{@citeas}"> <!-- font-size="9pt" color="blue" vertical-align="super" -->
|
2019
|
+
<xsl:if test="@type = 'footnote'">
|
2020
|
+
<xsl:attribute name="keep-together.within-line">always</xsl:attribute>
|
2021
|
+
<xsl:attribute name="font-size">80%</xsl:attribute>
|
2022
|
+
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
2023
|
+
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
2024
|
+
</xsl:if>
|
2025
|
+
<xsl:if test="@type = 'inline'">
|
2026
|
+
<xsl:attribute name="color">blue</xsl:attribute>
|
2027
|
+
<xsl:attribute name="text-decoration">underline</xsl:attribute>
|
2028
|
+
</xsl:if>
|
2029
|
+
<!-- <xsl:if test="@type = 'inline'">
|
2030
|
+
<xsl:attribute name="text-decoration">underline</xsl:attribute>
|
2031
|
+
</xsl:if> -->
|
2032
|
+
<xsl:value-of select="@citeas" disable-output-escaping="yes"/>
|
2033
|
+
<xsl:if test="iso:locality">
|
2034
|
+
<xsl:text>, </xsl:text>
|
2035
|
+
<!-- <xsl:choose>
|
2036
|
+
<xsl:when test="iso:locality/@type = 'section'">Section </xsl:when>
|
2037
|
+
<xsl:when test="iso:locality/@type = 'clause'">Clause </xsl:when>
|
2038
|
+
<xsl:otherwise></xsl:otherwise>
|
2039
|
+
</xsl:choose> -->
|
2040
|
+
<xsl:apply-templates select="iso:locality"/>
|
2041
|
+
</xsl:if>
|
2042
|
+
</fo:basic-link>
|
2043
|
+
</xsl:template>
|
2044
|
+
|
2045
|
+
<xsl:template match="iso:locality">
|
2046
|
+
<xsl:choose>
|
2047
|
+
<xsl:when test="@type ='clause'">Clause </xsl:when>
|
2048
|
+
<xsl:when test="@type ='annex'">Annex </xsl:when>
|
2049
|
+
<xsl:otherwise><xsl:value-of select="@type"/></xsl:otherwise>
|
2050
|
+
</xsl:choose>
|
2051
|
+
<xsl:text> </xsl:text><xsl:value-of select="iso:referenceFrom"/>
|
2052
|
+
</xsl:template>
|
2053
|
+
|
2054
|
+
<xsl:template match="iso:admonition">
|
2055
|
+
<fo:block margin-bottom="12pt" font-weight="bold"> <!-- text-align="center" -->
|
2056
|
+
<xsl:value-of select="translate(@type, $lower, $upper)"/>
|
2057
|
+
<xsl:text> — </xsl:text>
|
2058
|
+
<xsl:apply-templates/>
|
2059
|
+
</fo:block>
|
2060
|
+
</xsl:template>
|
2061
|
+
|
2062
|
+
<xsl:template match="iso:formula/iso:dt/iso:stem">
|
2063
|
+
<fo:inline>
|
2064
|
+
<xsl:apply-templates/>
|
2065
|
+
</fo:inline>
|
2066
|
+
</xsl:template>
|
2067
|
+
|
2068
|
+
<xsl:template match="iso:formula/iso:stem">
|
2069
|
+
<fo:block id="{../@id}" margin-top="6pt" margin-bottom="12pt">
|
2070
|
+
<fo:table table-layout="fixed" width="100%">
|
2071
|
+
<fo:table-column column-width="95%"/>
|
2072
|
+
<fo:table-column column-width="5%"/>
|
2073
|
+
<fo:table-body>
|
2074
|
+
<fo:table-row>
|
2075
|
+
<fo:table-cell display-align="center">
|
2076
|
+
<fo:block text-align="left" margin-left="5mm">
|
2077
|
+
<xsl:apply-templates/>
|
2078
|
+
</fo:block>
|
2079
|
+
</fo:table-cell>
|
2080
|
+
<fo:table-cell display-align="center">
|
2081
|
+
<fo:block text-align="right">
|
2082
|
+
<xsl:choose>
|
2083
|
+
<xsl:when test="ancestor::iso:annex">
|
2084
|
+
<xsl:text>(</xsl:text><xsl:number format="A.1" level="multiple" count="iso:annex | iso:formula"/><xsl:text>)</xsl:text>
|
2085
|
+
</xsl:when>
|
2086
|
+
<xsl:otherwise> <!-- not(ancestor::iso:annex) -->
|
2087
|
+
<!-- <xsl:text>(</xsl:text><xsl:number level="any" count="iso:formula"/><xsl:text>)</xsl:text> -->
|
2088
|
+
</xsl:otherwise>
|
2089
|
+
</xsl:choose>
|
2090
|
+
</fo:block>
|
2091
|
+
</fo:table-cell>
|
2092
|
+
</fo:table-row>
|
2093
|
+
</fo:table-body>
|
2094
|
+
</fo:table>
|
2095
|
+
<fo:inline keep-together.within-line="always">
|
2096
|
+
</fo:inline>
|
2097
|
+
</fo:block>
|
2098
|
+
</xsl:template>
|
2099
|
+
|
2100
|
+
|
2101
|
+
<xsl:template match="iso:br" priority="2">
|
2102
|
+
<!-- <fo:block> </fo:block> -->
|
2103
|
+
<xsl:value-of select="$linebreak"/>
|
2104
|
+
</xsl:template>
|
2105
|
+
|
2106
|
+
<xsl:template name="insertHeaderFooter">
|
2107
|
+
<xsl:param name="font-weight" select="'bold'"/>
|
2108
|
+
<xsl:call-template name="insertHeaderEven"/>
|
2109
|
+
<fo:static-content flow-name="footer-even">
|
2110
|
+
<fo:block-container> <!-- display-align="after" -->
|
2111
|
+
<fo:table table-layout="fixed" width="100%">
|
2112
|
+
<fo:table-column column-width="33%"/>
|
2113
|
+
<fo:table-column column-width="33%"/>
|
2114
|
+
<fo:table-column column-width="34%"/>
|
2115
|
+
<fo:table-body>
|
2116
|
+
<fo:table-row>
|
2117
|
+
<fo:table-cell display-align="center" padding-top="0mm" font-size="11pt" font-weight="{$font-weight}">
|
2118
|
+
<fo:block><fo:page-number/></fo:block>
|
2119
|
+
</fo:table-cell>
|
2120
|
+
<fo:table-cell display-align="center">
|
2121
|
+
<fo:block font-size="11pt" font-weight="bold" text-align="center">
|
2122
|
+
<xsl:if test="$stage-name = 'IS'">
|
2123
|
+
<xsl:value-of select="$proof-text"/>
|
2124
|
+
</xsl:if>
|
2125
|
+
</fo:block>
|
2126
|
+
</fo:table-cell>
|
2127
|
+
<fo:table-cell display-align="center" padding-top="0mm" font-size="9pt">
|
2128
|
+
<fo:block text-align="right"><xsl:value-of select="$copyrightText"/></fo:block>
|
2129
|
+
</fo:table-cell>
|
2130
|
+
</fo:table-row>
|
2131
|
+
</fo:table-body>
|
2132
|
+
</fo:table>
|
2133
|
+
</fo:block-container>
|
2134
|
+
</fo:static-content>
|
2135
|
+
<fo:static-content flow-name="header-first">
|
2136
|
+
<fo:block-container margin-top="13mm" height="9mm" width="172mm" border-top="0.5mm solid black" border-bottom="0.5mm solid black" display-align="center" background-color="white">
|
2137
|
+
<fo:block text-align-last="justify" font-size="12pt" font-weight="bold">
|
2138
|
+
|
2139
|
+
<xsl:variable name="stgname" select="normalize-space(xalan:nodeset($stage-name-uppercased)/item[@name = $stage-name and @show = 'true']/@header)"/>
|
2140
|
+
<xsl:if test="$stgname != ''">
|
2141
|
+
<!-- <xsl:if test="$stage-name = 'final-draft' or $stage-name = 'draft'"> -->
|
2142
|
+
<!-- <fo:inline><xsl:value-of select="translate(translate($stage-name,'-',' '), $lower,$upper)"/></fo:inline> -->
|
2143
|
+
<fo:inline><xsl:value-of select="$stgname"/></fo:inline>
|
2144
|
+
<!-- <xsl:text> </xsl:text> -->
|
2145
|
+
</xsl:if>
|
2146
|
+
<xsl:if test="$stgname = ''">
|
2147
|
+
<fo:inline><xsl:value-of select="$doctype_uppercased"/></fo:inline>
|
2148
|
+
</xsl:if>
|
2149
|
+
<fo:inline keep-together.within-line="always">
|
2150
|
+
<fo:leader leader-pattern="space"/>
|
2151
|
+
<fo:inline><xsl:value-of select="$ISOname"/></fo:inline>
|
2152
|
+
</fo:inline>
|
2153
|
+
</fo:block>
|
2154
|
+
</fo:block-container>
|
2155
|
+
</fo:static-content>
|
2156
|
+
<fo:static-content flow-name="header-odd">
|
2157
|
+
<fo:block-container height="24mm" display-align="before">
|
2158
|
+
<fo:block font-size="12pt" font-weight="bold" text-align="right" padding-top="12.5mm"><xsl:value-of select="$ISOname"/></fo:block>
|
2159
|
+
</fo:block-container>
|
2160
|
+
</fo:static-content>
|
2161
|
+
<fo:static-content flow-name="footer-odd">
|
2162
|
+
<fo:block-container> <!-- display-align="after" -->
|
2163
|
+
<fo:table table-layout="fixed" width="100%">
|
2164
|
+
<fo:table-column column-width="33%"/>
|
2165
|
+
<fo:table-column column-width="33%"/>
|
2166
|
+
<fo:table-column column-width="34%"/>
|
2167
|
+
<fo:table-body>
|
2168
|
+
<fo:table-row>
|
2169
|
+
<fo:table-cell display-align="center" padding-top="0mm" font-size="9pt">
|
2170
|
+
<fo:block><xsl:value-of select="$copyrightText"/></fo:block>
|
2171
|
+
</fo:table-cell>
|
2172
|
+
<fo:table-cell display-align="center">
|
2173
|
+
<fo:block font-size="11pt" font-weight="bold" text-align="center">
|
2174
|
+
<xsl:if test="$stage-name = 'IS'">
|
2175
|
+
<xsl:value-of select="$proof-text"/>
|
2176
|
+
</xsl:if>
|
2177
|
+
</fo:block>
|
2178
|
+
</fo:table-cell>
|
2179
|
+
<fo:table-cell display-align="center" padding-top="0mm" font-size="11pt" font-weight="{$font-weight}">
|
2180
|
+
<fo:block text-align="right"><fo:page-number/></fo:block>
|
2181
|
+
</fo:table-cell>
|
2182
|
+
</fo:table-row>
|
2183
|
+
</fo:table-body>
|
2184
|
+
</fo:table>
|
2185
|
+
</fo:block-container>
|
2186
|
+
</fo:static-content>
|
2187
|
+
</xsl:template>
|
2188
|
+
<xsl:template name="insertHeaderEven">
|
2189
|
+
<fo:static-content flow-name="header-even">
|
2190
|
+
<fo:block-container height="24mm" display-align="before">
|
2191
|
+
<fo:block font-size="12pt" font-weight="bold" padding-top="12.5mm"><xsl:value-of select="$ISOname"/></fo:block>
|
2192
|
+
</fo:block-container>
|
2193
|
+
</fo:static-content>
|
2194
|
+
</xsl:template>
|
2195
|
+
|
2196
|
+
<xsl:template name="getId">
|
2197
|
+
<xsl:choose>
|
2198
|
+
<xsl:when test="../@id">
|
2199
|
+
<xsl:value-of select="../@id"/>
|
2200
|
+
</xsl:when>
|
2201
|
+
<xsl:otherwise>
|
2202
|
+
<xsl:value-of select="text()"/>
|
2203
|
+
</xsl:otherwise>
|
2204
|
+
</xsl:choose>
|
2205
|
+
</xsl:template>
|
2206
|
+
|
2207
|
+
<xsl:template name="getLevel">
|
2208
|
+
<xsl:variable name="level_total" select="count(ancestor::*)"/>
|
2209
|
+
<xsl:variable name="level">
|
2210
|
+
<xsl:choose>
|
2211
|
+
<xsl:when test="ancestor::iso:preface">
|
2212
|
+
<xsl:value-of select="$level_total - 2"/>
|
2213
|
+
</xsl:when>
|
2214
|
+
<xsl:when test="ancestor::iso:sections">
|
2215
|
+
<xsl:value-of select="$level_total - 2"/>
|
2216
|
+
</xsl:when>
|
2217
|
+
<xsl:when test="ancestor::iso:bibliography">
|
2218
|
+
<xsl:value-of select="$level_total - 2"/>
|
2219
|
+
</xsl:when>
|
2220
|
+
<xsl:when test="local-name(ancestor::*[1]) = 'annex'">1</xsl:when>
|
2221
|
+
<xsl:otherwise>
|
2222
|
+
<xsl:value-of select="$level_total - 1"/>
|
2223
|
+
</xsl:otherwise>
|
2224
|
+
</xsl:choose>
|
2225
|
+
</xsl:variable>
|
2226
|
+
<xsl:value-of select="$level"/>
|
2227
|
+
</xsl:template>
|
2228
|
+
|
2229
|
+
<xsl:template name="getSection">
|
2230
|
+
<xsl:param name="sectionNum"/>
|
2231
|
+
<xsl:variable name="level">
|
2232
|
+
<xsl:call-template name="getLevel"/>
|
2233
|
+
</xsl:variable>
|
2234
|
+
<xsl:variable name="section">
|
2235
|
+
<xsl:choose>
|
2236
|
+
<xsl:when test="ancestor::iso:bibliography">
|
2237
|
+
<xsl:value-of select="$sectionNum"/>
|
2238
|
+
</xsl:when>
|
2239
|
+
<xsl:when test="ancestor::iso:sections">
|
2240
|
+
<!-- 1, 2, 3, 4, ... from main section (not annex, bibliography, ...) -->
|
2241
|
+
<xsl:choose>
|
2242
|
+
<xsl:when test="$level = 1">
|
2243
|
+
<xsl:value-of select="$sectionNum"/>
|
2244
|
+
</xsl:when>
|
2245
|
+
<xsl:when test="$level >= 2">
|
2246
|
+
<xsl:variable name="num">
|
2247
|
+
<xsl:number format=".1" level="multiple" count="iso:clause/iso:clause | iso:clause/iso:terms | iso:terms/iso:term | iso:clause/iso:term"/>
|
2248
|
+
</xsl:variable>
|
2249
|
+
<xsl:value-of select="concat($sectionNum, $num)"/>
|
2250
|
+
</xsl:when>
|
2251
|
+
<xsl:otherwise>
|
2252
|
+
<!-- z<xsl:value-of select="$sectionNum"/>z -->
|
2253
|
+
</xsl:otherwise>
|
2254
|
+
</xsl:choose>
|
2255
|
+
</xsl:when>
|
2256
|
+
<!-- <xsl:when test="ancestor::iso:annex[@obligation = 'informative']">
|
2257
|
+
<xsl:choose>
|
2258
|
+
<xsl:when test="$level = 1">
|
2259
|
+
<xsl:text>Annex </xsl:text>
|
2260
|
+
<xsl:number format="I" level="any" count="iso:annex[@obligation = 'informative']"/>
|
2261
|
+
</xsl:when>
|
2262
|
+
<xsl:otherwise>
|
2263
|
+
<xsl:number format="I.1" level="multiple" count="iso:annex[@obligation = 'informative'] | iso:clause"/>
|
2264
|
+
</xsl:otherwise>
|
2265
|
+
</xsl:choose>
|
2266
|
+
</xsl:when> -->
|
2267
|
+
<xsl:when test="ancestor::iso:annex">
|
2268
|
+
<xsl:choose>
|
2269
|
+
<xsl:when test="$level = 1">
|
2270
|
+
<xsl:text>Annex </xsl:text>
|
2271
|
+
<xsl:choose>
|
2272
|
+
<xsl:when test="count(//iso:annex) = 1">
|
2273
|
+
<xsl:value-of select="/iso:iso-standard/iso:bibdata/iso:ext/iso:structuredidentifier/iso:annexid"/>
|
2274
|
+
</xsl:when>
|
2275
|
+
<xsl:otherwise>
|
2276
|
+
<xsl:number format="A" level="any" count="iso:annex"/>
|
2277
|
+
</xsl:otherwise>
|
2278
|
+
</xsl:choose>
|
2279
|
+
</xsl:when>
|
2280
|
+
<xsl:otherwise>
|
2281
|
+
<xsl:choose>
|
2282
|
+
<xsl:when test="count(//iso:annex) = 1">
|
2283
|
+
<xsl:value-of select="/iso:iso-standard/iso:bibdata/iso:ext/iso:structuredidentifier/iso:annexid"/><xsl:number format=".1" level="multiple" count="iso:clause"/>
|
2284
|
+
</xsl:when>
|
2285
|
+
<xsl:otherwise>
|
2286
|
+
<xsl:number format="A.1" level="multiple" count="iso:annex | iso:clause"/>
|
2287
|
+
</xsl:otherwise>
|
2288
|
+
</xsl:choose>
|
2289
|
+
</xsl:otherwise>
|
2290
|
+
</xsl:choose>
|
2291
|
+
</xsl:when>
|
2292
|
+
<xsl:when test="ancestor::iso:preface"> <!-- if preface and there is clause(s) -->
|
2293
|
+
<xsl:choose>
|
2294
|
+
<xsl:when test="$level = 1 and ..//iso:clause">0</xsl:when>
|
2295
|
+
<xsl:when test="$level >= 2">
|
2296
|
+
<xsl:variable name="num">
|
2297
|
+
<xsl:number format=".1" level="multiple" count="iso:clause"/>
|
2298
|
+
</xsl:variable>
|
2299
|
+
<xsl:value-of select="concat('0', $num)"/>
|
2300
|
+
</xsl:when>
|
2301
|
+
<xsl:otherwise>
|
2302
|
+
<!-- z<xsl:value-of select="$sectionNum"/>z -->
|
2303
|
+
</xsl:otherwise>
|
2304
|
+
</xsl:choose>
|
2305
|
+
</xsl:when>
|
2306
|
+
<xsl:otherwise>
|
2307
|
+
</xsl:otherwise>
|
2308
|
+
</xsl:choose>
|
2309
|
+
</xsl:variable>
|
2310
|
+
<xsl:value-of select="$section"/>
|
2311
|
+
</xsl:template>
|
2312
|
+
|
2313
|
+
<xsl:variable name="Image-ISO-Logo2">
|
2314
|
+
<xsl:text>
|
2315
|
+
iVBORw0KGgoAAAANSUhEUgAAAPoAAADsCAIAAADSASzsAAAAAXNSR0IArs4c6QAAAARnQU1B
|
2316
|
+
AACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAC6PSURBVHhe7Z13XBTX18Y3iYolCmrs
|
2317
|
+
AZWIxo7EglEjEjWJisTYezSiYMTeYu+9R7FExCj2gh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2rRixYpG18wQkSdPHrwJK1asEIbeMaRhclfA
|
2530
|
+
06dPIyIiAgICpFdLtR3oTKpXrz506NADBw6YDb9gGMLkbiFopCMjI6E8X19f6Vkx1gAbplix
|
2531
|
+
Ymjyp02bdujQIeZ9WgnJ3SGimdQFJoTMECc5PHz4cP/+/QsWLOjVq5efnx8M+kKFCpl1doVk
|
2532
|
+
zZr1s88++/LLL5s3b463KDw8HCbQv+pFiz579gyXRzevMcTRTOm10WT6grs2O7/KGvA63bt3
|
2533
|
+
79SpUzDQ4XeiN8DvvmzZMjQu+GP37t04eOLEiYSEBFvHVdy/f3/s2LF029qDj35kxgxDQzC5
|
2534
|
+
MzQEkztDQzC5MzQEkztDQzC5MzQEkztDQzC5MzQEyb1NmzbODEYGJSgoiNM5yf3Zs2ePGYwM
|
2535
|
+
Cj8XgxkzDA3B5M7QEEzuDA3B5M7QEEzuDA3B5M7QEEzuDA1Bct+yZctMBiODsmvXLk7nJHdt
|
2536
|
+
Bu8xNAIL3mNoESZ3hoZgcmdoCCZ3hoZgcmdoCCZ3hoZgcmdoCCZ3hoYgubPgPUYGhgXvMTQE
|
2537
|
+
C95jaBEmd4aGYHJnaIb//vs/Lj82bN4l+u8AAAAASUVORK5CYII=
|
2538
|
+
</xsl:text>
|
2539
|
+
</xsl:variable>
|
2540
|
+
|
2541
|
+
<xsl:variable name="Image-ISO-Logo">
|
2542
|
+
<xsl:text>iVBORw0KGgoAAAANSUhEUgAAAPcAAADiCAYAAACSl1F7AAAAGXRFWHRTb2Z0d2FyZQBBZG9i
|
2543
|
+
ZSBJbWFnZVJlYWR5ccllPAAABT9pVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tl
|
2544
|
+
dCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1l
|
2545
|
+
dGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhN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0tLgV5FVNcFgelV9+J/iNrOqfR02
|
2892
|
+
bNibb77JrhY1uZN3yPnz5wsdOHDA/uYmQJvPNAUSIlXBlw1xlSBux5wa+6CN38yqEoD0Bl+J
|
2893
|
+
AC/YQUruROYxV+jPP//UHzhDN7vbguQIctJHELdZrDIRDUhwUpBTS/T6BP8SJUrwjA32M9cj
|
2894
|
+
/d/zILuFV3MTBKua0qomhOoAvtJgn0yQbBogpcFpQ5jG9BEhUvpVARmO7dq141QOOF++fJk0
|
2895
|
+
Vq5cOb5pVf5PoLBMHvDiFtShQwf9EuzOZ3D06NFNmzbpfKI0KPUDyVZK8GUrfZjeBCsFk4MW
|
2896
|
+
ubYJPnswvSFSFVBu3ryZJ5fj+e+//wVuVmgt0lkFPgAAAABJRU5ErkJggg==
|
2897
|
+
</xsl:text>
|
2898
|
+
</xsl:variable>
|
2899
|
+
<xsl:variable xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" name="lower">abcdefghijklmnopqrstuvwxyz</xsl:variable><xsl:variable xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" name="upper">ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable><xsl:variable xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" name="en_chars" select="concat($lower,$upper,',.`1234567890-=~!@#$%^*()_+[]{}\|?/')"/><xsl:variable xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" name="linebreak" select="'
'"/><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="text()">
|
2900
|
+
<xsl:value-of select="."/>
|
2901
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='br']">
|
2902
|
+
<xsl:value-of select="$linebreak"/>
|
2903
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='td']//text() | *[local-name()='th']//text()" priority="1">
|
2904
|
+
<xsl:call-template name="add-zero-spaces"/>
|
2905
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='table']">
|
2906
|
+
|
2907
|
+
<xsl:variable name="simple-table">
|
2908
|
+
<!-- <xsl:copy> -->
|
2909
|
+
<xsl:call-template name="getSimpleTable"/>
|
2910
|
+
<!-- </xsl:copy> -->
|
2911
|
+
</xsl:variable>
|
2912
|
+
|
2913
|
+
<!-- DEBUG -->
|
2914
|
+
<!-- SourceTable=<xsl:copy-of select="current()"/>EndSourceTable -->
|
2915
|
+
<!-- Simpletable=<xsl:copy-of select="$simple-table"/>EndSimpltable -->
|
2916
|
+
|
2917
|
+
<!-- <xsl:variable name="namespace" select="substring-before(name(/*), '-')"/> -->
|
2918
|
+
|
2919
|
+
|
2920
|
+
<fo:block space-before="6pt"> </fo:block>
|
2921
|
+
|
2922
|
+
|
2923
|
+
<xsl:choose>
|
2924
|
+
<xsl:when test="@unnumbered = 'true'"/>
|
2925
|
+
<xsl:otherwise>
|
2926
|
+
|
2927
|
+
|
2928
|
+
|
2929
|
+
<fo:block font-weight="bold" text-align="center" margin-bottom="6pt" keep-with-next="always">
|
2930
|
+
|
2931
|
+
|
2932
|
+
|
2933
|
+
|
2934
|
+
|
2935
|
+
<xsl:text>Table </xsl:text>
|
2936
|
+
<xsl:choose>
|
2937
|
+
<xsl:when test="ancestor::*[local-name()='executivesummary']"> <!-- NIST -->
|
2938
|
+
<xsl:text>ES-</xsl:text><xsl:number format="1" count="*[local-name()='executivesummary']//*[local-name()='table'][not(@unnumbered) or @unnumbered != 'true']"/>
|
2939
|
+
</xsl:when>
|
2940
|
+
<xsl:when test="ancestor::*[local-name()='annex']">
|
2941
|
+
|
2942
|
+
<xsl:number format="A." count="*[local-name()='annex']"/><xsl:number format="1"/>
|
2943
|
+
|
2944
|
+
|
2945
|
+
|
2946
|
+
|
2947
|
+
|
2948
|
+
|
2949
|
+
</xsl:when>
|
2950
|
+
<xsl:otherwise>
|
2951
|
+
|
2952
|
+
|
2953
|
+
<xsl:number format="A." count="*[local-name()='annex']"/>
|
2954
|
+
<xsl:number format="1" level="any" count="//*[local-name()='table'] [not(ancestor::*[local-name()='annex']) and not(ancestor::*[local-name()='executivesummary']) and not(ancestor::*[local-name()='bibdata'])] [not(@unnumbered) or @unnumbered != 'true']"/>
|
2955
|
+
|
2956
|
+
</xsl:otherwise>
|
2957
|
+
</xsl:choose>
|
2958
|
+
<xsl:if test="*[local-name()='name']">
|
2959
|
+
|
2960
|
+
|
2961
|
+
|
2962
|
+
<xsl:text> — </xsl:text>
|
2963
|
+
|
2964
|
+
<xsl:apply-templates select="*[local-name()='name']" mode="process"/>
|
2965
|
+
</xsl:if>
|
2966
|
+
</fo:block>
|
2967
|
+
|
2968
|
+
|
2969
|
+
<xsl:call-template name="fn_name_display"/>
|
2970
|
+
|
2971
|
+
</xsl:otherwise>
|
2972
|
+
</xsl:choose>
|
2973
|
+
|
2974
|
+
<xsl:variable name="cols-count" select="count(xalan:nodeset($simple-table)//tr[1]/td)"/>
|
2975
|
+
|
2976
|
+
<!-- <xsl:variable name="cols-count">
|
2977
|
+
<xsl:choose>
|
2978
|
+
<xsl:when test="*[local-name()='thead']">
|
2979
|
+
<xsl:call-template name="calculate-columns-numbers">
|
2980
|
+
<xsl:with-param name="table-row" select="*[local-name()='thead']/*[local-name()='tr'][1]"/>
|
2981
|
+
</xsl:call-template>
|
2982
|
+
</xsl:when>
|
2983
|
+
<xsl:otherwise>
|
2984
|
+
<xsl:call-template name="calculate-columns-numbers">
|
2985
|
+
<xsl:with-param name="table-row" select="*[local-name()='tbody']/*[local-name()='tr'][1]"/>
|
2986
|
+
</xsl:call-template>
|
2987
|
+
</xsl:otherwise>
|
2988
|
+
</xsl:choose>
|
2989
|
+
</xsl:variable> -->
|
2990
|
+
<!-- cols-count=<xsl:copy-of select="$cols-count"/> -->
|
2991
|
+
<!-- cols-count2=<xsl:copy-of select="$cols-count2"/> -->
|
2992
|
+
|
2993
|
+
|
2994
|
+
|
2995
|
+
<xsl:variable name="colwidths">
|
2996
|
+
<xsl:call-template name="calculate-column-widths">
|
2997
|
+
<xsl:with-param name="cols-count" select="$cols-count"/>
|
2998
|
+
<xsl:with-param name="table" select="$simple-table"/>
|
2999
|
+
</xsl:call-template>
|
3000
|
+
</xsl:variable>
|
3001
|
+
|
3002
|
+
<xsl:variable name="colwidths2">
|
3003
|
+
<xsl:call-template name="calculate-column-widths">
|
3004
|
+
<xsl:with-param name="cols-count" select="$cols-count"/>
|
3005
|
+
</xsl:call-template>
|
3006
|
+
</xsl:variable>
|
3007
|
+
|
3008
|
+
<!-- cols-count=<xsl:copy-of select="$cols-count"/>
|
3009
|
+
colwidthsNew=<xsl:copy-of select="$colwidths"/>
|
3010
|
+
colwidthsOld=<xsl:copy-of select="$colwidths2"/>z -->
|
3011
|
+
|
3012
|
+
<xsl:variable name="margin-left">
|
3013
|
+
<xsl:choose>
|
3014
|
+
<xsl:when test="sum(xalan:nodeset($colwidths)//column) > 75">15</xsl:when>
|
3015
|
+
<xsl:otherwise>0</xsl:otherwise>
|
3016
|
+
</xsl:choose>
|
3017
|
+
</xsl:variable>
|
3018
|
+
|
3019
|
+
<fo:block-container margin-left="-{$margin-left}mm" margin-right="-{$margin-left}mm">
|
3020
|
+
|
3021
|
+
|
3022
|
+
|
3023
|
+
|
3024
|
+
|
3025
|
+
|
3026
|
+
<fo:table id="{@id}" table-layout="fixed" width="100%" margin-left="{$margin-left}mm" margin-right="{$margin-left}mm">
|
3027
|
+
|
3028
|
+
<xsl:attribute name="border">1.5pt solid black</xsl:attribute>
|
3029
|
+
|
3030
|
+
|
3031
|
+
|
3032
|
+
|
3033
|
+
|
3034
|
+
|
3035
|
+
|
3036
|
+
|
3037
|
+
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
3038
|
+
|
3039
|
+
|
3040
|
+
<xsl:for-each select="xalan:nodeset($colwidths)//column">
|
3041
|
+
<xsl:choose>
|
3042
|
+
<xsl:when test=". = 1">
|
3043
|
+
<fo:table-column column-width="proportional-column-width(2)"/>
|
3044
|
+
</xsl:when>
|
3045
|
+
<xsl:otherwise>
|
3046
|
+
<fo:table-column column-width="proportional-column-width({.})"/>
|
3047
|
+
</xsl:otherwise>
|
3048
|
+
</xsl:choose>
|
3049
|
+
</xsl:for-each>
|
3050
|
+
<xsl:apply-templates/>
|
3051
|
+
</fo:table>
|
3052
|
+
</fo:block-container>
|
3053
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='table']/*[local-name()='name']"/><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='table']/*[local-name()='name']" mode="process">
|
3054
|
+
<xsl:apply-templates/>
|
3055
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" name="calculate-columns-numbers">
|
3056
|
+
<xsl:param name="table-row"/>
|
3057
|
+
<xsl:variable name="columns-count" select="count($table-row/*)"/>
|
3058
|
+
<xsl:variable name="sum-colspans" select="sum($table-row/*/@colspan)"/>
|
3059
|
+
<xsl:variable name="columns-with-colspan" select="count($table-row/*[@colspan])"/>
|
3060
|
+
<xsl:value-of select="$columns-count + $sum-colspans - $columns-with-colspan"/>
|
3061
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" name="calculate-column-widths">
|
3062
|
+
<xsl:param name="table"/>
|
3063
|
+
<xsl:param name="cols-count"/>
|
3064
|
+
<xsl:param name="curr-col" select="1"/>
|
3065
|
+
<xsl:param name="width" select="0"/>
|
3066
|
+
|
3067
|
+
<xsl:if test="$curr-col <= $cols-count">
|
3068
|
+
<xsl:variable name="widths">
|
3069
|
+
<xsl:choose>
|
3070
|
+
<xsl:when test="not($table)">
|
3071
|
+
<xsl:for-each select="*[local-name()='thead']//*[local-name()='tr']">
|
3072
|
+
<xsl:variable name="words">
|
3073
|
+
<xsl:call-template name="tokenize">
|
3074
|
+
<xsl:with-param name="text" select="translate(*[local-name()='th'][$curr-col],'- —:', ' ')"/>
|
3075
|
+
</xsl:call-template>
|
3076
|
+
</xsl:variable>
|
3077
|
+
<xsl:variable name="max_length">
|
3078
|
+
<xsl:call-template name="max_length">
|
3079
|
+
<xsl:with-param name="words" select="xalan:nodeset($words)"/>
|
3080
|
+
</xsl:call-template>
|
3081
|
+
</xsl:variable>
|
3082
|
+
<width>
|
3083
|
+
<xsl:value-of select="$max_length"/>
|
3084
|
+
</width>
|
3085
|
+
</xsl:for-each>
|
3086
|
+
<xsl:for-each select="*[local-name()='tbody']//*[local-name()='tr']">
|
3087
|
+
<xsl:variable name="words">
|
3088
|
+
<xsl:call-template name="tokenize">
|
3089
|
+
<xsl:with-param name="text" select="translate(*[local-name()='td'][$curr-col],'- —:', ' ')"/>
|
3090
|
+
</xsl:call-template>
|
3091
|
+
</xsl:variable>
|
3092
|
+
<xsl:variable name="max_length">
|
3093
|
+
<xsl:call-template name="max_length">
|
3094
|
+
<xsl:with-param name="words" select="xalan:nodeset($words)"/>
|
3095
|
+
</xsl:call-template>
|
3096
|
+
</xsl:variable>
|
3097
|
+
<width>
|
3098
|
+
<xsl:value-of select="$max_length"/>
|
3099
|
+
</width>
|
3100
|
+
|
3101
|
+
</xsl:for-each>
|
3102
|
+
</xsl:when>
|
3103
|
+
<xsl:otherwise>
|
3104
|
+
<xsl:for-each select="xalan:nodeset($table)//tr">
|
3105
|
+
<xsl:variable name="words">
|
3106
|
+
<xsl:call-template name="tokenize">
|
3107
|
+
<xsl:with-param name="text" select="translate(td[$curr-col],'- —:', ' ')"/>
|
3108
|
+
</xsl:call-template>
|
3109
|
+
</xsl:variable>
|
3110
|
+
<xsl:variable name="max_length">
|
3111
|
+
<xsl:call-template name="max_length">
|
3112
|
+
<xsl:with-param name="words" select="xalan:nodeset($words)"/>
|
3113
|
+
</xsl:call-template>
|
3114
|
+
</xsl:variable>
|
3115
|
+
<width>
|
3116
|
+
<xsl:variable name="divider">
|
3117
|
+
<xsl:choose>
|
3118
|
+
<xsl:when test="td[$curr-col]/@divide">
|
3119
|
+
<xsl:value-of select="td[$curr-col]/@divide"/>
|
3120
|
+
</xsl:when>
|
3121
|
+
<xsl:otherwise>1</xsl:otherwise>
|
3122
|
+
</xsl:choose>
|
3123
|
+
</xsl:variable>
|
3124
|
+
<xsl:value-of select="$max_length div $divider"/>
|
3125
|
+
</width>
|
3126
|
+
|
3127
|
+
</xsl:for-each>
|
3128
|
+
|
3129
|
+
</xsl:otherwise>
|
3130
|
+
</xsl:choose>
|
3131
|
+
</xsl:variable>
|
3132
|
+
|
3133
|
+
|
3134
|
+
<column>
|
3135
|
+
<xsl:for-each select="xalan:nodeset($widths)//width">
|
3136
|
+
<xsl:sort select="." data-type="number" order="descending"/>
|
3137
|
+
<xsl:if test="position()=1">
|
3138
|
+
<xsl:value-of select="."/>
|
3139
|
+
</xsl:if>
|
3140
|
+
</xsl:for-each>
|
3141
|
+
</column>
|
3142
|
+
<xsl:call-template name="calculate-column-widths">
|
3143
|
+
<xsl:with-param name="cols-count" select="$cols-count"/>
|
3144
|
+
<xsl:with-param name="curr-col" select="$curr-col +1"/>
|
3145
|
+
<xsl:with-param name="table" select="$table"/>
|
3146
|
+
</xsl:call-template>
|
3147
|
+
</xsl:if>
|
3148
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='table2']"/><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='thead']"/><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='thead']" mode="process">
|
3149
|
+
<!-- <fo:table-header font-weight="bold">
|
3150
|
+
<xsl:apply-templates />
|
3151
|
+
</fo:table-header> -->
|
3152
|
+
<xsl:apply-templates/>
|
3153
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='tfoot']"/><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='tfoot']" mode="process">
|
3154
|
+
<xsl:apply-templates/>
|
3155
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='tbody']">
|
3156
|
+
<xsl:variable name="cols-count">
|
3157
|
+
<xsl:choose>
|
3158
|
+
<xsl:when test="../*[local-name()='thead']">
|
3159
|
+
<!-- <xsl:value-of select="count(../*[local-name()='thead']/*[local-name()='tr']/*[local-name()='th'])"/> -->
|
3160
|
+
<xsl:call-template name="calculate-columns-numbers">
|
3161
|
+
<xsl:with-param name="table-row" select="../*[local-name()='thead']/*[local-name()='tr'][1]"/>
|
3162
|
+
</xsl:call-template>
|
3163
|
+
</xsl:when>
|
3164
|
+
<xsl:otherwise>
|
3165
|
+
<!-- <xsl:value-of select="count(./*[local-name()='tr'][1]/*[local-name()='td'])"/> -->
|
3166
|
+
<xsl:call-template name="calculate-columns-numbers">
|
3167
|
+
<xsl:with-param name="table-row" select="./*[local-name()='tr'][1]"/>
|
3168
|
+
</xsl:call-template>
|
3169
|
+
</xsl:otherwise>
|
3170
|
+
</xsl:choose>
|
3171
|
+
</xsl:variable>
|
3172
|
+
|
3173
|
+
<fo:table-body>
|
3174
|
+
<xsl:apply-templates select="../*[local-name()='thead']" mode="process"/>
|
3175
|
+
<xsl:apply-templates/>
|
3176
|
+
<xsl:apply-templates select="../*[local-name()='tfoot']" mode="process"/>
|
3177
|
+
<!-- if there are note(s) or fn(s) then create footer row -->
|
3178
|
+
<xsl:if test="../*[local-name()='note'] or ..//*[local-name()='fn'][local-name(..) != 'name']">
|
3179
|
+
<fo:table-row>
|
3180
|
+
<fo:table-cell border="solid black 1pt" padding-left="1mm" padding-right="1mm" padding-top="1mm" number-columns-spanned="{$cols-count}">
|
3181
|
+
|
3182
|
+
<xsl:attribute name="border-top">solid black 0pt</xsl:attribute>
|
3183
|
+
|
3184
|
+
|
3185
|
+
|
3186
|
+
<!-- fn will be processed inside 'note' processing -->
|
3187
|
+
|
3188
|
+
|
3189
|
+
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
3190
|
+
|
3191
|
+
<!-- horizontal row separator -->
|
3192
|
+
|
3193
|
+
|
3194
|
+
<!-- fn processing -->
|
3195
|
+
<xsl:call-template name="fn_display"/>
|
3196
|
+
|
3197
|
+
</fo:table-cell>
|
3198
|
+
</fo:table-row>
|
3199
|
+
|
3200
|
+
</xsl:if>
|
3201
|
+
</fo:table-body>
|
3202
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='tr']">
|
3203
|
+
<xsl:variable name="parent-name" select="local-name(..)"/>
|
3204
|
+
<!-- <xsl:variable name="namespace" select="substring-before(name(/*), '-')"/> -->
|
3205
|
+
<fo:table-row min-height="4mm">
|
3206
|
+
<xsl:if test="$parent-name = 'thead'">
|
3207
|
+
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
3208
|
+
|
3209
|
+
|
3210
|
+
|
3211
|
+
<xsl:choose>
|
3212
|
+
<xsl:when test="position() = 1">
|
3213
|
+
<xsl:attribute name="border-top">solid black 1.5pt</xsl:attribute>
|
3214
|
+
<xsl:attribute name="border-bottom">solid black 1pt</xsl:attribute>
|
3215
|
+
</xsl:when>
|
3216
|
+
<xsl:when test="position() = last()">
|
3217
|
+
<xsl:attribute name="border-top">solid black 1pt</xsl:attribute>
|
3218
|
+
<xsl:attribute name="border-bottom">solid black 1.5pt</xsl:attribute>
|
3219
|
+
</xsl:when>
|
3220
|
+
<xsl:otherwise>
|
3221
|
+
<xsl:attribute name="border-top">solid black 1pt</xsl:attribute>
|
3222
|
+
<xsl:attribute name="border-bottom">solid black 1pt</xsl:attribute>
|
3223
|
+
</xsl:otherwise>
|
3224
|
+
</xsl:choose>
|
3225
|
+
|
3226
|
+
|
3227
|
+
|
3228
|
+
</xsl:if>
|
3229
|
+
<xsl:if test="$parent-name = 'tfoot'">
|
3230
|
+
|
3231
|
+
<xsl:attribute name="font-size">9pt</xsl:attribute>
|
3232
|
+
<xsl:attribute name="border-left">solid black 1pt</xsl:attribute>
|
3233
|
+
<xsl:attribute name="border-right">solid black 1pt</xsl:attribute>
|
3234
|
+
|
3235
|
+
|
3236
|
+
</xsl:if>
|
3237
|
+
|
3238
|
+
<xsl:apply-templates/>
|
3239
|
+
</fo:table-row>
|
3240
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='th']">
|
3241
|
+
<fo:table-cell text-align="{@align}" font-weight="bold" border="solid black 1pt" padding-left="1mm" display-align="center">
|
3242
|
+
|
3243
|
+
<xsl:attribute name="padding-top">1mm</xsl:attribute>
|
3244
|
+
|
3245
|
+
|
3246
|
+
|
3247
|
+
|
3248
|
+
|
3249
|
+
|
3250
|
+
|
3251
|
+
<xsl:if test="@colspan">
|
3252
|
+
<xsl:attribute name="number-columns-spanned">
|
3253
|
+
<xsl:value-of select="@colspan"/>
|
3254
|
+
</xsl:attribute>
|
3255
|
+
</xsl:if>
|
3256
|
+
<xsl:if test="@rowspan">
|
3257
|
+
<xsl:attribute name="number-rows-spanned">
|
3258
|
+
<xsl:value-of select="@rowspan"/>
|
3259
|
+
</xsl:attribute>
|
3260
|
+
</xsl:if>
|
3261
|
+
<fo:block>
|
3262
|
+
<xsl:apply-templates/>
|
3263
|
+
</fo:block>
|
3264
|
+
</fo:table-cell>
|
3265
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='td']">
|
3266
|
+
<fo:table-cell text-align="{@align}" display-align="center" border="solid black 1pt" padding-left="1mm">
|
3267
|
+
<!-- and ancestor::*[local-name() = 'thead'] -->
|
3268
|
+
<xsl:attribute name="padding-top">0.5mm</xsl:attribute>
|
3269
|
+
|
3270
|
+
|
3271
|
+
|
3272
|
+
<xsl:if test="ancestor::*[local-name() = 'tfoot']">
|
3273
|
+
<xsl:attribute name="border">solid black 0</xsl:attribute>
|
3274
|
+
</xsl:if>
|
3275
|
+
|
3276
|
+
|
3277
|
+
|
3278
|
+
|
3279
|
+
|
3280
|
+
<xsl:if test="@colspan">
|
3281
|
+
<xsl:attribute name="number-columns-spanned">
|
3282
|
+
<xsl:value-of select="@colspan"/>
|
3283
|
+
</xsl:attribute>
|
3284
|
+
</xsl:if>
|
3285
|
+
<xsl:if test="@rowspan">
|
3286
|
+
<xsl:attribute name="number-rows-spanned">
|
3287
|
+
<xsl:value-of select="@rowspan"/>
|
3288
|
+
</xsl:attribute>
|
3289
|
+
</xsl:if>
|
3290
|
+
<fo:block>
|
3291
|
+
<xsl:apply-templates/>
|
3292
|
+
</fo:block>
|
3293
|
+
<!-- <xsl:choose>
|
3294
|
+
<xsl:when test="count(*) = 1 and *[local-name() = 'p']">
|
3295
|
+
<xsl:apply-templates />
|
3296
|
+
</xsl:when>
|
3297
|
+
<xsl:otherwise>
|
3298
|
+
<fo:block>
|
3299
|
+
<xsl:apply-templates />
|
3300
|
+
</fo:block>
|
3301
|
+
</xsl:otherwise>
|
3302
|
+
</xsl:choose> -->
|
3303
|
+
|
3304
|
+
|
3305
|
+
</fo:table-cell>
|
3306
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='table']/*[local-name()='note']"/><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='table']/*[local-name()='note']" mode="process">
|
3307
|
+
|
3308
|
+
|
3309
|
+
<fo:block font-size="10pt" margin-bottom="12pt">
|
3310
|
+
|
3311
|
+
<xsl:attribute name="font-size">9pt</xsl:attribute>
|
3312
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
3313
|
+
|
3314
|
+
|
3315
|
+
<fo:inline padding-right="2mm">
|
3316
|
+
<xsl:text>NOTE </xsl:text>
|
3317
|
+
|
3318
|
+
|
3319
|
+
<xsl:number format="1 "/>
|
3320
|
+
|
3321
|
+
</fo:inline>
|
3322
|
+
<xsl:apply-templates mode="process"/>
|
3323
|
+
</fo:block>
|
3324
|
+
|
3325
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='table']/*[local-name()='note']/*[local-name()='p']" mode="process">
|
3326
|
+
<xsl:apply-templates/>
|
3327
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" name="fn_display">
|
3328
|
+
<xsl:variable name="references">
|
3329
|
+
<xsl:for-each select="..//*[local-name()='fn'][local-name(..) != 'name']">
|
3330
|
+
<fn reference="{@reference}" id="{@reference}_{ancestor::*[@id][1]/@id}">
|
3331
|
+
|
3332
|
+
|
3333
|
+
<xsl:apply-templates/>
|
3334
|
+
</fn>
|
3335
|
+
</xsl:for-each>
|
3336
|
+
</xsl:variable>
|
3337
|
+
<xsl:for-each select="xalan:nodeset($references)//fn">
|
3338
|
+
<xsl:variable name="reference" select="@reference"/>
|
3339
|
+
<xsl:if test="not(preceding-sibling::*[@reference = $reference])"> <!-- only unique reference puts in note-->
|
3340
|
+
<fo:block margin-bottom="12pt">
|
3341
|
+
|
3342
|
+
<xsl:attribute name="font-size">9pt</xsl:attribute>
|
3343
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
3344
|
+
|
3345
|
+
|
3346
|
+
<fo:inline font-size="80%" padding-right="5mm" id="{@id}">
|
3347
|
+
|
3348
|
+
|
3349
|
+
<xsl:attribute name="alignment-baseline">hanging</xsl:attribute>
|
3350
|
+
|
3351
|
+
|
3352
|
+
|
3353
|
+
|
3354
|
+
<xsl:value-of select="@reference"/>
|
3355
|
+
|
3356
|
+
</fo:inline>
|
3357
|
+
<fo:inline>
|
3358
|
+
|
3359
|
+
<xsl:apply-templates/>
|
3360
|
+
</fo:inline>
|
3361
|
+
</fo:block>
|
3362
|
+
</xsl:if>
|
3363
|
+
</xsl:for-each>
|
3364
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" name="fn_name_display">
|
3365
|
+
<!-- <xsl:variable name="references">
|
3366
|
+
<xsl:for-each select="*[local-name()='name']//*[local-name()='fn']">
|
3367
|
+
<fn reference="{@reference}" id="{@reference}_{ancestor::*[@id][1]/@id}">
|
3368
|
+
<xsl:apply-templates />
|
3369
|
+
</fn>
|
3370
|
+
</xsl:for-each>
|
3371
|
+
</xsl:variable>
|
3372
|
+
$references=<xsl:copy-of select="$references"/> -->
|
3373
|
+
<xsl:for-each select="*[local-name()='name']//*[local-name()='fn']">
|
3374
|
+
<xsl:variable name="reference" select="@reference"/>
|
3375
|
+
<fo:block id="{@reference}_{ancestor::*[@id][1]/@id}"><xsl:value-of select="@reference"/></fo:block>
|
3376
|
+
<fo:block margin-bottom="12pt">
|
3377
|
+
<xsl:apply-templates/>
|
3378
|
+
</fo:block>
|
3379
|
+
</xsl:for-each>
|
3380
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" name="fn_display_figure">
|
3381
|
+
<xsl:variable name="key_iso">
|
3382
|
+
true <!-- and (not(@class) or @class !='pseudocode') -->
|
3383
|
+
</xsl:variable>
|
3384
|
+
<xsl:variable name="references">
|
3385
|
+
<xsl:for-each select=".//*[local-name()='fn']">
|
3386
|
+
<fn reference="{@reference}" id="{@reference}_{ancestor::*[@id][1]/@id}">
|
3387
|
+
<xsl:apply-templates/>
|
3388
|
+
</fn>
|
3389
|
+
</xsl:for-each>
|
3390
|
+
</xsl:variable>
|
3391
|
+
<xsl:if test="xalan:nodeset($references)//fn">
|
3392
|
+
<fo:block>
|
3393
|
+
<fo:table width="95%" table-layout="fixed">
|
3394
|
+
<xsl:if test="normalize-space($key_iso) = 'true'">
|
3395
|
+
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
3396
|
+
|
3397
|
+
</xsl:if>
|
3398
|
+
<fo:table-column column-width="15%"/>
|
3399
|
+
<fo:table-column column-width="85%"/>
|
3400
|
+
<fo:table-body>
|
3401
|
+
<xsl:for-each select="xalan:nodeset($references)//fn">
|
3402
|
+
<xsl:variable name="reference" select="@reference"/>
|
3403
|
+
<xsl:if test="not(preceding-sibling::*[@reference = $reference])"> <!-- only unique reference puts in note-->
|
3404
|
+
<fo:table-row>
|
3405
|
+
<fo:table-cell>
|
3406
|
+
<fo:block>
|
3407
|
+
<fo:inline font-size="80%" padding-right="5mm" vertical-align="super" id="{@id}">
|
3408
|
+
|
3409
|
+
<xsl:value-of select="@reference"/>
|
3410
|
+
</fo:inline>
|
3411
|
+
</fo:block>
|
3412
|
+
</fo:table-cell>
|
3413
|
+
<fo:table-cell>
|
3414
|
+
<fo:block text-align="justify" margin-bottom="12pt">
|
3415
|
+
|
3416
|
+
<xsl:if test="normalize-space($key_iso) = 'true'">
|
3417
|
+
<xsl:attribute name="margin-bottom">0</xsl:attribute>
|
3418
|
+
</xsl:if>
|
3419
|
+
|
3420
|
+
<xsl:apply-templates/>
|
3421
|
+
</fo:block>
|
3422
|
+
</fo:table-cell>
|
3423
|
+
</fo:table-row>
|
3424
|
+
</xsl:if>
|
3425
|
+
</xsl:for-each>
|
3426
|
+
</fo:table-body>
|
3427
|
+
</fo:table>
|
3428
|
+
</fo:block>
|
3429
|
+
</xsl:if>
|
3430
|
+
|
3431
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='fn']">
|
3432
|
+
<!-- <xsl:variable name="namespace" select="substring-before(name(/*), '-')"/> -->
|
3433
|
+
<fo:inline font-size="80%" keep-with-previous.within-line="always">
|
3434
|
+
|
3435
|
+
<xsl:if test="ancestor::*[local-name()='td']">
|
3436
|
+
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
3437
|
+
<!-- <xsl:attribute name="alignment-baseline">hanging</xsl:attribute> -->
|
3438
|
+
<xsl:attribute name="baseline-shift">15%</xsl:attribute>
|
3439
|
+
</xsl:if>
|
3440
|
+
|
3441
|
+
|
3442
|
+
|
3443
|
+
<fo:basic-link internal-destination="{@reference}_{ancestor::*[@id][1]/@id}" fox:alt-text="{@reference}"> <!-- @reference | ancestor::*[local-name()='clause'][1]/@id-->
|
3444
|
+
|
3445
|
+
<xsl:value-of select="@reference"/>
|
3446
|
+
</fo:basic-link>
|
3447
|
+
</fo:inline>
|
3448
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='fn']/*[local-name()='p']">
|
3449
|
+
<fo:inline>
|
3450
|
+
<xsl:apply-templates/>
|
3451
|
+
</fo:inline>
|
3452
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='dl']">
|
3453
|
+
<xsl:variable name="parent" select="local-name(..)"/>
|
3454
|
+
|
3455
|
+
<xsl:variable name="key_iso">
|
3456
|
+
|
3457
|
+
<xsl:if test="$parent = 'figure' or $parent = 'formula'">true</xsl:if>
|
3458
|
+
<!-- and (not(../@class) or ../@class !='pseudocode') -->
|
3459
|
+
</xsl:variable>
|
3460
|
+
|
3461
|
+
<xsl:choose>
|
3462
|
+
<xsl:when test="$parent = 'formula' and count(*[local-name()='dt']) = 1"> <!-- only one component -->
|
3463
|
+
|
3464
|
+
|
3465
|
+
<fo:block margin-bottom="12pt" text-align="left">
|
3466
|
+
|
3467
|
+
<xsl:attribute name="margin-bottom">0</xsl:attribute>
|
3468
|
+
|
3469
|
+
<xsl:text>where </xsl:text>
|
3470
|
+
<xsl:apply-templates select="*[local-name()='dt']/*"/>
|
3471
|
+
<xsl:text/>
|
3472
|
+
<xsl:apply-templates select="*[local-name()='dd']/*" mode="inline"/>
|
3473
|
+
</fo:block>
|
3474
|
+
|
3475
|
+
</xsl:when>
|
3476
|
+
<xsl:when test="$parent = 'formula'"> <!-- a few components -->
|
3477
|
+
<fo:block margin-bottom="12pt" text-align="left">
|
3478
|
+
|
3479
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
3480
|
+
|
3481
|
+
|
3482
|
+
|
3483
|
+
<xsl:text>where</xsl:text>
|
3484
|
+
</fo:block>
|
3485
|
+
</xsl:when>
|
3486
|
+
<xsl:when test="$parent = 'figure' and (not(../@class) or ../@class !='pseudocode')">
|
3487
|
+
<fo:block font-weight="bold" text-align="left" margin-bottom="12pt">
|
3488
|
+
|
3489
|
+
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
3490
|
+
<xsl:attribute name="margin-bottom">0</xsl:attribute>
|
3491
|
+
|
3492
|
+
|
3493
|
+
<xsl:text>Key</xsl:text>
|
3494
|
+
</fo:block>
|
3495
|
+
</xsl:when>
|
3496
|
+
</xsl:choose>
|
3497
|
+
|
3498
|
+
<!-- a few components -->
|
3499
|
+
<xsl:if test="not($parent = 'formula' and count(*[local-name()='dt']) = 1)">
|
3500
|
+
<fo:block>
|
3501
|
+
|
3502
|
+
<xsl:if test="$parent = 'formula'">
|
3503
|
+
<xsl:attribute name="margin-left">4mm</xsl:attribute>
|
3504
|
+
</xsl:if>
|
3505
|
+
|
3506
|
+
|
3507
|
+
|
3508
|
+
|
3509
|
+
<fo:block>
|
3510
|
+
|
3511
|
+
<!-- create virtual html table for dl/[dt and dd] -->
|
3512
|
+
<xsl:variable name="html-table">
|
3513
|
+
<xsl:variable name="ns" select="substring-before(name(/*), '-')"/>
|
3514
|
+
<xsl:element name="{$ns}:table">
|
3515
|
+
<tbody>
|
3516
|
+
<xsl:apply-templates mode="dl"/>
|
3517
|
+
</tbody>
|
3518
|
+
</xsl:element>
|
3519
|
+
</xsl:variable>
|
3520
|
+
<!-- html-table<xsl:copy-of select="$html-table"/> -->
|
3521
|
+
<xsl:variable name="colwidths">
|
3522
|
+
<xsl:call-template name="calculate-column-widths">
|
3523
|
+
<xsl:with-param name="cols-count" select="2"/>
|
3524
|
+
<xsl:with-param name="table" select="$html-table"/>
|
3525
|
+
</xsl:call-template>
|
3526
|
+
</xsl:variable>
|
3527
|
+
<!-- colwidths=<xsl:value-of select="$colwidths"/> -->
|
3528
|
+
|
3529
|
+
<fo:table width="95%" table-layout="fixed">
|
3530
|
+
<xsl:choose>
|
3531
|
+
<xsl:when test="normalize-space($key_iso) = 'true' and $parent = 'formula'">
|
3532
|
+
<!-- <xsl:attribute name="font-size">11pt</xsl:attribute> -->
|
3533
|
+
</xsl:when>
|
3534
|
+
<xsl:when test="normalize-space($key_iso) = 'true'">
|
3535
|
+
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
3536
|
+
|
3537
|
+
</xsl:when>
|
3538
|
+
</xsl:choose>
|
3539
|
+
<xsl:choose>
|
3540
|
+
<xsl:when test="ancestor::*[local-name()='dl']"><!-- second level, i.e. inlined table -->
|
3541
|
+
<fo:table-column column-width="50%"/>
|
3542
|
+
<fo:table-column column-width="50%"/>
|
3543
|
+
</xsl:when>
|
3544
|
+
<xsl:otherwise>
|
3545
|
+
<xsl:choose>
|
3546
|
+
<!-- <xsl:when test="xalan:nodeset($colwidths)/column[1] div xalan:nodeset($colwidths)/column[2] > 1.7">
|
3547
|
+
<fo:table-column column-width="60%"/>
|
3548
|
+
<fo:table-column column-width="40%"/>
|
3549
|
+
</xsl:when> -->
|
3550
|
+
<xsl:when test="xalan:nodeset($colwidths)/column[1] div xalan:nodeset($colwidths)/column[2] > 1.3">
|
3551
|
+
<fo:table-column column-width="50%"/>
|
3552
|
+
<fo:table-column column-width="50%"/>
|
3553
|
+
</xsl:when>
|
3554
|
+
<xsl:when test="xalan:nodeset($colwidths)/column[1] div xalan:nodeset($colwidths)/column[2] > 0.5">
|
3555
|
+
<fo:table-column column-width="40%"/>
|
3556
|
+
<fo:table-column column-width="60%"/>
|
3557
|
+
</xsl:when>
|
3558
|
+
<xsl:otherwise>
|
3559
|
+
<xsl:for-each select="xalan:nodeset($colwidths)//column">
|
3560
|
+
<xsl:choose>
|
3561
|
+
<xsl:when test=". = 1">
|
3562
|
+
<fo:table-column column-width="proportional-column-width(2)"/>
|
3563
|
+
</xsl:when>
|
3564
|
+
<xsl:otherwise>
|
3565
|
+
<fo:table-column column-width="proportional-column-width({.})"/>
|
3566
|
+
</xsl:otherwise>
|
3567
|
+
</xsl:choose>
|
3568
|
+
</xsl:for-each>
|
3569
|
+
</xsl:otherwise>
|
3570
|
+
</xsl:choose>
|
3571
|
+
<!-- <fo:table-column column-width="15%"/>
|
3572
|
+
<fo:table-column column-width="85%"/> -->
|
3573
|
+
</xsl:otherwise>
|
3574
|
+
</xsl:choose>
|
3575
|
+
<fo:table-body>
|
3576
|
+
<xsl:apply-templates>
|
3577
|
+
<xsl:with-param name="key_iso" select="normalize-space($key_iso)"/>
|
3578
|
+
</xsl:apply-templates>
|
3579
|
+
</fo:table-body>
|
3580
|
+
</fo:table>
|
3581
|
+
</fo:block>
|
3582
|
+
</fo:block>
|
3583
|
+
</xsl:if>
|
3584
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='dl']/*[local-name()='note']">
|
3585
|
+
<xsl:param name="key_iso"/>
|
3586
|
+
|
3587
|
+
<!-- <tr>
|
3588
|
+
<td>NOTE</td>
|
3589
|
+
<td>
|
3590
|
+
<xsl:apply-templates />
|
3591
|
+
</td>
|
3592
|
+
</tr>
|
3593
|
+
-->
|
3594
|
+
<fo:table-row>
|
3595
|
+
<fo:table-cell>
|
3596
|
+
<fo:block margin-top="6pt">
|
3597
|
+
<xsl:if test="normalize-space($key_iso) = 'true'">
|
3598
|
+
<xsl:attribute name="margin-top">0</xsl:attribute>
|
3599
|
+
</xsl:if>
|
3600
|
+
NOTE
|
3601
|
+
</fo:block>
|
3602
|
+
</fo:table-cell>
|
3603
|
+
<fo:table-cell>
|
3604
|
+
<fo:block>
|
3605
|
+
<xsl:apply-templates/>
|
3606
|
+
</fo:block>
|
3607
|
+
</fo:table-cell>
|
3608
|
+
</fo:table-row>
|
3609
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='dt']" mode="dl">
|
3610
|
+
<tr>
|
3611
|
+
<td>
|
3612
|
+
<xsl:apply-templates/>
|
3613
|
+
</td>
|
3614
|
+
<td>
|
3615
|
+
|
3616
|
+
|
3617
|
+
<xsl:apply-templates select="following-sibling::*[local-name()='dd'][1]" mode="process"/>
|
3618
|
+
|
3619
|
+
</td>
|
3620
|
+
</tr>
|
3621
|
+
|
3622
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='dt']">
|
3623
|
+
<xsl:param name="key_iso"/>
|
3624
|
+
|
3625
|
+
<fo:table-row>
|
3626
|
+
<fo:table-cell>
|
3627
|
+
<fo:block margin-top="6pt">
|
3628
|
+
|
3629
|
+
<xsl:if test="normalize-space($key_iso) = 'true'">
|
3630
|
+
<xsl:attribute name="margin-top">0</xsl:attribute>
|
3631
|
+
|
3632
|
+
</xsl:if>
|
3633
|
+
|
3634
|
+
|
3635
|
+
<xsl:apply-templates/>
|
3636
|
+
</fo:block>
|
3637
|
+
</fo:table-cell>
|
3638
|
+
<fo:table-cell>
|
3639
|
+
<fo:block>
|
3640
|
+
|
3641
|
+
|
3642
|
+
|
3643
|
+
<xsl:apply-templates select="following-sibling::*[local-name()='dd'][1]" mode="process"/>
|
3644
|
+
|
3645
|
+
</fo:block>
|
3646
|
+
</fo:table-cell>
|
3647
|
+
</fo:table-row>
|
3648
|
+
|
3649
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='dd']" mode="dl"/><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='dd']" mode="dl_process">
|
3650
|
+
<xsl:apply-templates/>
|
3651
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='dd']"/><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='dd']" mode="process">
|
3652
|
+
<xsl:apply-templates/>
|
3653
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='dd']/*[local-name()='p']" mode="inline">
|
3654
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
3655
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='em']">
|
3656
|
+
<fo:inline font-style="italic">
|
3657
|
+
<xsl:apply-templates/>
|
3658
|
+
</fo:inline>
|
3659
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='strong']">
|
3660
|
+
<fo:inline font-weight="bold">
|
3661
|
+
<xsl:apply-templates/>
|
3662
|
+
</fo:inline>
|
3663
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='sup']">
|
3664
|
+
<fo:inline font-size="80%" vertical-align="super">
|
3665
|
+
<xsl:apply-templates/>
|
3666
|
+
</fo:inline>
|
3667
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='sub']">
|
3668
|
+
<fo:inline font-size="80%" vertical-align="sub">
|
3669
|
+
<xsl:apply-templates/>
|
3670
|
+
</fo:inline>
|
3671
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='tt']">
|
3672
|
+
<fo:inline font-family="Courier" font-size="10pt">
|
3673
|
+
<xsl:apply-templates/>
|
3674
|
+
</fo:inline>
|
3675
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='del']">
|
3676
|
+
<fo:inline font-size="10pt" color="red" text-decoration="line-through">
|
3677
|
+
<xsl:apply-templates/>
|
3678
|
+
</fo:inline>
|
3679
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="text()[ancestor::*[local-name()='smallcap']]">
|
3680
|
+
<xsl:variable name="text" select="normalize-space(.)"/>
|
3681
|
+
<fo:inline font-size="75%">
|
3682
|
+
<xsl:if test="string-length($text) > 0">
|
3683
|
+
<xsl:call-template name="recursiveSmallCaps">
|
3684
|
+
<xsl:with-param name="text" select="$text"/>
|
3685
|
+
</xsl:call-template>
|
3686
|
+
</xsl:if>
|
3687
|
+
</fo:inline>
|
3688
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" name="recursiveSmallCaps">
|
3689
|
+
<xsl:param name="text"/>
|
3690
|
+
<xsl:variable name="char" select="substring($text,1,1)"/>
|
3691
|
+
<xsl:variable name="upperCase" select="translate($char, $lower, $upper)"/>
|
3692
|
+
<xsl:choose>
|
3693
|
+
<xsl:when test="$char=$upperCase">
|
3694
|
+
<fo:inline font-size="{100 div 0.75}%">
|
3695
|
+
<xsl:value-of select="$upperCase"/>
|
3696
|
+
</fo:inline>
|
3697
|
+
</xsl:when>
|
3698
|
+
<xsl:otherwise>
|
3699
|
+
<xsl:value-of select="$upperCase"/>
|
3700
|
+
</xsl:otherwise>
|
3701
|
+
</xsl:choose>
|
3702
|
+
<xsl:if test="string-length($text) > 1">
|
3703
|
+
<xsl:call-template name="recursiveSmallCaps">
|
3704
|
+
<xsl:with-param name="text" select="substring($text,2)"/>
|
3705
|
+
</xsl:call-template>
|
3706
|
+
</xsl:if>
|
3707
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" name="tokenize">
|
3708
|
+
<xsl:param name="text"/>
|
3709
|
+
<xsl:param name="separator" select="' '"/>
|
3710
|
+
<xsl:choose>
|
3711
|
+
<xsl:when test="not(contains($text, $separator))">
|
3712
|
+
<word>
|
3713
|
+
<xsl:variable name="str_no_en_chars" select="normalize-space(translate($text, $en_chars, ''))"/>
|
3714
|
+
<xsl:variable name="len_str_no_en_chars" select="string-length($str_no_en_chars)"/>
|
3715
|
+
<xsl:variable name="len_str_tmp" select="string-length(normalize-space($text))"/>
|
3716
|
+
<xsl:variable name="len_str">
|
3717
|
+
<xsl:choose>
|
3718
|
+
<xsl:when test="normalize-space(translate($text, $upper, '')) = ''"> <!-- english word in CAPITAL letters -->
|
3719
|
+
<xsl:value-of select="$len_str_tmp * 1.5"/>
|
3720
|
+
</xsl:when>
|
3721
|
+
<xsl:otherwise>
|
3722
|
+
<xsl:value-of select="$len_str_tmp"/>
|
3723
|
+
</xsl:otherwise>
|
3724
|
+
</xsl:choose>
|
3725
|
+
</xsl:variable>
|
3726
|
+
|
3727
|
+
<!-- <xsl:if test="$len_str_no_en_chars div $len_str > 0.8">
|
3728
|
+
<xsl:message>
|
3729
|
+
div=<xsl:value-of select="$len_str_no_en_chars div $len_str"/>
|
3730
|
+
len_str=<xsl:value-of select="$len_str"/>
|
3731
|
+
len_str_no_en_chars=<xsl:value-of select="$len_str_no_en_chars"/>
|
3732
|
+
</xsl:message>
|
3733
|
+
</xsl:if> -->
|
3734
|
+
<!-- <len_str_no_en_chars><xsl:value-of select="$len_str_no_en_chars"/></len_str_no_en_chars>
|
3735
|
+
<len_str><xsl:value-of select="$len_str"/></len_str> -->
|
3736
|
+
<xsl:choose>
|
3737
|
+
<xsl:when test="$len_str_no_en_chars div $len_str > 0.8"> <!-- means non-english string -->
|
3738
|
+
<xsl:value-of select="$len_str - $len_str_no_en_chars"/>
|
3739
|
+
</xsl:when>
|
3740
|
+
<xsl:otherwise>
|
3741
|
+
<xsl:value-of select="$len_str"/>
|
3742
|
+
</xsl:otherwise>
|
3743
|
+
</xsl:choose>
|
3744
|
+
</word>
|
3745
|
+
</xsl:when>
|
3746
|
+
<xsl:otherwise>
|
3747
|
+
<word>
|
3748
|
+
<xsl:value-of select="string-length(normalize-space(substring-before($text, $separator)))"/>
|
3749
|
+
</word>
|
3750
|
+
<xsl:call-template name="tokenize">
|
3751
|
+
<xsl:with-param name="text" select="substring-after($text, $separator)"/>
|
3752
|
+
</xsl:call-template>
|
3753
|
+
</xsl:otherwise>
|
3754
|
+
</xsl:choose>
|
3755
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" name="max_length">
|
3756
|
+
<xsl:param name="words"/>
|
3757
|
+
<xsl:for-each select="$words//word">
|
3758
|
+
<xsl:sort select="." data-type="number" order="descending"/>
|
3759
|
+
<xsl:if test="position()=1">
|
3760
|
+
<xsl:value-of select="."/>
|
3761
|
+
</xsl:if>
|
3762
|
+
</xsl:for-each>
|
3763
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" name="add-zero-spaces">
|
3764
|
+
<xsl:param name="text" select="."/>
|
3765
|
+
<xsl:variable name="zero-space-after-chars">-</xsl:variable>
|
3766
|
+
<xsl:variable name="zero-space-after-dot">.</xsl:variable>
|
3767
|
+
<xsl:variable name="zero-space-after-colon">:</xsl:variable>
|
3768
|
+
<xsl:variable name="zero-space-after-equal">=</xsl:variable>
|
3769
|
+
<xsl:variable name="zero-space"></xsl:variable>
|
3770
|
+
<xsl:choose>
|
3771
|
+
<xsl:when test="contains($text, $zero-space-after-chars)">
|
3772
|
+
<xsl:value-of select="substring-before($text, $zero-space-after-chars)"/>
|
3773
|
+
<xsl:value-of select="$zero-space-after-chars"/>
|
3774
|
+
<xsl:value-of select="$zero-space"/>
|
3775
|
+
<xsl:call-template name="add-zero-spaces">
|
3776
|
+
<xsl:with-param name="text" select="substring-after($text, $zero-space-after-chars)"/>
|
3777
|
+
</xsl:call-template>
|
3778
|
+
</xsl:when>
|
3779
|
+
<xsl:when test="contains($text, $zero-space-after-dot)">
|
3780
|
+
<xsl:value-of select="substring-before($text, $zero-space-after-dot)"/>
|
3781
|
+
<xsl:value-of select="$zero-space-after-dot"/>
|
3782
|
+
<xsl:value-of select="$zero-space"/>
|
3783
|
+
<xsl:call-template name="add-zero-spaces">
|
3784
|
+
<xsl:with-param name="text" select="substring-after($text, $zero-space-after-dot)"/>
|
3785
|
+
</xsl:call-template>
|
3786
|
+
</xsl:when>
|
3787
|
+
<xsl:when test="contains($text, $zero-space-after-colon)">
|
3788
|
+
<xsl:value-of select="substring-before($text, $zero-space-after-colon)"/>
|
3789
|
+
<xsl:value-of select="$zero-space-after-colon"/>
|
3790
|
+
<xsl:value-of select="$zero-space"/>
|
3791
|
+
<xsl:call-template name="add-zero-spaces">
|
3792
|
+
<xsl:with-param name="text" select="substring-after($text, $zero-space-after-colon)"/>
|
3793
|
+
</xsl:call-template>
|
3794
|
+
</xsl:when>
|
3795
|
+
<xsl:when test="contains($text, $zero-space-after-equal)">
|
3796
|
+
<xsl:value-of select="substring-before($text, $zero-space-after-equal)"/>
|
3797
|
+
<xsl:value-of select="$zero-space-after-equal"/>
|
3798
|
+
<xsl:value-of select="$zero-space"/>
|
3799
|
+
<xsl:call-template name="add-zero-spaces">
|
3800
|
+
<xsl:with-param name="text" select="substring-after($text, $zero-space-after-equal)"/>
|
3801
|
+
</xsl:call-template>
|
3802
|
+
</xsl:when>
|
3803
|
+
<xsl:otherwise>
|
3804
|
+
<xsl:value-of select="$text"/>
|
3805
|
+
</xsl:otherwise>
|
3806
|
+
</xsl:choose>
|
3807
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" name="add-zero-spaces-equal">
|
3808
|
+
<xsl:param name="text" select="."/>
|
3809
|
+
<xsl:variable name="zero-space-after-equals">==========</xsl:variable>
|
3810
|
+
<xsl:variable name="zero-space-after-equal">=</xsl:variable>
|
3811
|
+
<xsl:variable name="zero-space"></xsl:variable>
|
3812
|
+
<xsl:choose>
|
3813
|
+
<xsl:when test="contains($text, $zero-space-after-equals)">
|
3814
|
+
<xsl:value-of select="substring-before($text, $zero-space-after-equals)"/>
|
3815
|
+
<xsl:value-of select="$zero-space-after-equals"/>
|
3816
|
+
<xsl:value-of select="$zero-space"/>
|
3817
|
+
<xsl:call-template name="add-zero-spaces-equal">
|
3818
|
+
<xsl:with-param name="text" select="substring-after($text, $zero-space-after-equals)"/>
|
3819
|
+
</xsl:call-template>
|
3820
|
+
</xsl:when>
|
3821
|
+
<xsl:when test="contains($text, $zero-space-after-equal)">
|
3822
|
+
<xsl:value-of select="substring-before($text, $zero-space-after-equal)"/>
|
3823
|
+
<xsl:value-of select="$zero-space-after-equal"/>
|
3824
|
+
<xsl:value-of select="$zero-space"/>
|
3825
|
+
<xsl:call-template name="add-zero-spaces-equal">
|
3826
|
+
<xsl:with-param name="text" select="substring-after($text, $zero-space-after-equal)"/>
|
3827
|
+
</xsl:call-template>
|
3828
|
+
</xsl:when>
|
3829
|
+
<xsl:otherwise>
|
3830
|
+
<xsl:value-of select="$text"/>
|
3831
|
+
</xsl:otherwise>
|
3832
|
+
</xsl:choose>
|
3833
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" name="getSimpleTable">
|
3834
|
+
<xsl:variable name="simple-table">
|
3835
|
+
|
3836
|
+
<!-- Step 1. colspan processing -->
|
3837
|
+
<xsl:variable name="simple-table-colspan">
|
3838
|
+
<tbody>
|
3839
|
+
<xsl:apply-templates mode="simple-table-colspan"/>
|
3840
|
+
</tbody>
|
3841
|
+
</xsl:variable>
|
3842
|
+
|
3843
|
+
<!-- Step 2. rowspan processing -->
|
3844
|
+
<xsl:variable name="simple-table-rowspan">
|
3845
|
+
<xsl:apply-templates select="xalan:nodeset($simple-table-colspan)" mode="simple-table-rowspan"/>
|
3846
|
+
</xsl:variable>
|
3847
|
+
|
3848
|
+
<xsl:copy-of select="xalan:nodeset($simple-table-rowspan)"/>
|
3849
|
+
|
3850
|
+
<!-- <xsl:choose>
|
3851
|
+
<xsl:when test="current()//*[local-name()='th'][@colspan] or current()//*[local-name()='td'][@colspan] ">
|
3852
|
+
|
3853
|
+
</xsl:when>
|
3854
|
+
<xsl:otherwise>
|
3855
|
+
<xsl:copy-of select="current()"/>
|
3856
|
+
</xsl:otherwise>
|
3857
|
+
</xsl:choose> -->
|
3858
|
+
</xsl:variable>
|
3859
|
+
<xsl:copy-of select="$simple-table"/>
|
3860
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='thead'] | *[local-name()='tbody']" mode="simple-table-colspan">
|
3861
|
+
<xsl:apply-templates mode="simple-table-colspan"/>
|
3862
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='fn']" mode="simple-table-colspan"/><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='th'] | *[local-name()='td']" mode="simple-table-colspan">
|
3863
|
+
<xsl:choose>
|
3864
|
+
<xsl:when test="@colspan">
|
3865
|
+
<xsl:variable name="td">
|
3866
|
+
<xsl:element name="td">
|
3867
|
+
<xsl:attribute name="divide"><xsl:value-of select="@colspan"/></xsl:attribute>
|
3868
|
+
<xsl:apply-templates select="@*" mode="simple-table-colspan"/>
|
3869
|
+
<xsl:apply-templates mode="simple-table-colspan"/>
|
3870
|
+
</xsl:element>
|
3871
|
+
</xsl:variable>
|
3872
|
+
<xsl:call-template name="repeatNode">
|
3873
|
+
<xsl:with-param name="count" select="@colspan"/>
|
3874
|
+
<xsl:with-param name="node" select="$td"/>
|
3875
|
+
</xsl:call-template>
|
3876
|
+
</xsl:when>
|
3877
|
+
<xsl:otherwise>
|
3878
|
+
<xsl:element name="td">
|
3879
|
+
<xsl:apply-templates select="@*" mode="simple-table-colspan"/>
|
3880
|
+
<xsl:apply-templates mode="simple-table-colspan"/>
|
3881
|
+
</xsl:element>
|
3882
|
+
</xsl:otherwise>
|
3883
|
+
</xsl:choose>
|
3884
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="@colspan" mode="simple-table-colspan"/><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="*[local-name()='tr']" mode="simple-table-colspan">
|
3885
|
+
<xsl:element name="tr">
|
3886
|
+
<xsl:apply-templates select="@*" mode="simple-table-colspan"/>
|
3887
|
+
<xsl:apply-templates mode="simple-table-colspan"/>
|
3888
|
+
</xsl:element>
|
3889
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="@*|node()" mode="simple-table-colspan">
|
3890
|
+
<xsl:copy>
|
3891
|
+
<xsl:apply-templates select="@*|node()" mode="simple-table-colspan"/>
|
3892
|
+
</xsl:copy>
|
3893
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" name="repeatNode">
|
3894
|
+
<xsl:param name="count"/>
|
3895
|
+
<xsl:param name="node"/>
|
3896
|
+
|
3897
|
+
<xsl:if test="$count > 0">
|
3898
|
+
<xsl:call-template name="repeatNode">
|
3899
|
+
<xsl:with-param name="count" select="$count - 1"/>
|
3900
|
+
<xsl:with-param name="node" select="$node"/>
|
3901
|
+
</xsl:call-template>
|
3902
|
+
<xsl:copy-of select="$node"/>
|
3903
|
+
</xsl:if>
|
3904
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="@*|node()" mode="simple-table-rowspan">
|
3905
|
+
<xsl:copy>
|
3906
|
+
<xsl:apply-templates select="@*|node()" mode="simple-table-rowspan"/>
|
3907
|
+
</xsl:copy>
|
3908
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="tbody" mode="simple-table-rowspan">
|
3909
|
+
<xsl:copy>
|
3910
|
+
<xsl:copy-of select="tr[1]"/>
|
3911
|
+
<xsl:apply-templates select="tr[2]" mode="simple-table-rowspan">
|
3912
|
+
<xsl:with-param name="previousRow" select="tr[1]"/>
|
3913
|
+
</xsl:apply-templates>
|
3914
|
+
</xsl:copy>
|
3915
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="tr" mode="simple-table-rowspan">
|
3916
|
+
<xsl:param name="previousRow"/>
|
3917
|
+
<xsl:variable name="currentRow" select="."/>
|
3918
|
+
|
3919
|
+
<xsl:variable name="normalizedTDs">
|
3920
|
+
<xsl:for-each select="xalan:nodeset($previousRow)//td">
|
3921
|
+
<xsl:choose>
|
3922
|
+
<xsl:when test="@rowspan > 1">
|
3923
|
+
<xsl:copy>
|
3924
|
+
<xsl:attribute name="rowspan">
|
3925
|
+
<xsl:value-of select="@rowspan - 1"/>
|
3926
|
+
</xsl:attribute>
|
3927
|
+
<xsl:copy-of select="@*[not(name() = 'rowspan')]"/>
|
3928
|
+
<xsl:copy-of select="node()"/>
|
3929
|
+
</xsl:copy>
|
3930
|
+
</xsl:when>
|
3931
|
+
<xsl:otherwise>
|
3932
|
+
<xsl:copy-of select="$currentRow/td[1 + count(current()/preceding-sibling::td[not(@rowspan) or (@rowspan = 1)])]"/>
|
3933
|
+
</xsl:otherwise>
|
3934
|
+
</xsl:choose>
|
3935
|
+
</xsl:for-each>
|
3936
|
+
</xsl:variable>
|
3937
|
+
|
3938
|
+
<xsl:variable name="newRow">
|
3939
|
+
<xsl:copy>
|
3940
|
+
<xsl:copy-of select="$currentRow/@*"/>
|
3941
|
+
<xsl:copy-of select="xalan:nodeset($normalizedTDs)"/>
|
3942
|
+
</xsl:copy>
|
3943
|
+
</xsl:variable>
|
3944
|
+
<xsl:copy-of select="$newRow"/>
|
3945
|
+
|
3946
|
+
<xsl:apply-templates select="following-sibling::tr[1]" mode="simple-table-rowspan">
|
3947
|
+
<xsl:with-param name="previousRow" select="$newRow"/>
|
3948
|
+
</xsl:apply-templates>
|
3949
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" name="getLang">
|
3950
|
+
<xsl:variable name="language" select="//*[local-name()='bibdata']//*[local-name()='language']"/>
|
3951
|
+
<xsl:choose>
|
3952
|
+
<xsl:when test="$language = 'English'">en</xsl:when>
|
3953
|
+
<xsl:otherwise><xsl:value-of select="$language"/></xsl:otherwise>
|
3954
|
+
</xsl:choose>
|
3955
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" name="capitalizeWords">
|
3956
|
+
<xsl:param name="str"/>
|
3957
|
+
<xsl:variable name="str2" select="translate($str, '-', ' ')"/>
|
3958
|
+
<xsl:choose>
|
3959
|
+
<xsl:when test="contains($str2, ' ')">
|
3960
|
+
<xsl:variable name="substr" select="substring-before($str2, ' ')"/>
|
3961
|
+
<xsl:value-of select="translate(substring($substr, 1, 1), $lower, $upper)"/>
|
3962
|
+
<xsl:value-of select="substring($substr, 2)"/>
|
3963
|
+
<xsl:text> </xsl:text>
|
3964
|
+
<xsl:call-template name="capitalizeWords">
|
3965
|
+
<xsl:with-param name="str" select="substring-after($str2, ' ')"/>
|
3966
|
+
</xsl:call-template>
|
3967
|
+
</xsl:when>
|
3968
|
+
<xsl:otherwise>
|
3969
|
+
<xsl:value-of select="translate(substring($str2, 1, 1), $lower, $upper)"/>
|
3970
|
+
<xsl:value-of select="substring($str2, 2)"/>
|
3971
|
+
</xsl:otherwise>
|
3972
|
+
</xsl:choose>
|
3973
|
+
</xsl:template><xsl:template xmlns:iec="https://www.metanorma.org/ns/iec" xmlns:itu="https://www.metanorma.org/ns/itu" xmlns:nist="https://www.metanorma.org/ns/nist" xmlns:un="https://www.metanorma.org/ns/un" xmlns:csd="https://www.metanorma.org/ns/csd" xmlns:ogc="https://www.metanorma.org/ns/ogc" match="mathml:math">
|
3974
|
+
<fo:inline font-family="STIX2Math">
|
3975
|
+
<fo:instream-foreign-object fox:alt-text="Math">
|
3976
|
+
<xsl:copy-of select="."/>
|
3977
|
+
</fo:instream-foreign-object>
|
3978
|
+
</fo:inline>
|
3979
|
+
</xsl:template></xsl:stylesheet>
|