metanorma-iho 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/iho/html/htmlstyle.css +21 -17
- data/lib/isodoc/iho/html/htmlstyle.scss +7 -2
- data/lib/isodoc/iho/iho.specification.xsl +1219 -1160
- data/lib/isodoc/iho/iho.standard.xsl +1219 -1160
- data/lib/metanorma/iho/version.rb +1 -1
- metadata +2 -2
@@ -44,7 +44,7 @@
|
|
44
44
|
<xsl:template match="/">
|
45
45
|
|
46
46
|
<xsl:variable name="xslfo">
|
47
|
-
<fo:root
|
47
|
+
<fo:root xsl:use-attribute-sets="root-style" xml:lang="{$lang}">
|
48
48
|
<fo:layout-master-set>
|
49
49
|
<!-- cover page -->
|
50
50
|
<fo:simple-page-master master-name="cover" page-width="{$pageWidth}mm" page-height="{$pageHeight}mm">
|
@@ -362,9 +362,6 @@
|
|
362
362
|
<!-- ============================= -->
|
363
363
|
<!-- CONTENTS -->
|
364
364
|
<!-- ============================= -->
|
365
|
-
<xsl:template match="node()" mode="contents">
|
366
|
-
<xsl:apply-templates mode="contents"/>
|
367
|
-
</xsl:template>
|
368
365
|
|
369
366
|
<!-- element with title -->
|
370
367
|
<xsl:template match="*[iho:title]" mode="contents">
|
@@ -521,7 +518,7 @@
|
|
521
518
|
<!-- ====== -->
|
522
519
|
|
523
520
|
|
524
|
-
<xsl:template match="iho:p">
|
521
|
+
<xsl:template match="iho:p" name="paragraph">
|
525
522
|
<xsl:param name="inline" select="'false'"/>
|
526
523
|
<xsl:variable name="previous-element" select="local-name(preceding-sibling::*[1])"/>
|
527
524
|
<xsl:variable name="element-name">
|
@@ -590,8 +587,8 @@
|
|
590
587
|
<xsl:template match="iho:ul//iho:note | iho:ol//iho:note" priority="2"/>
|
591
588
|
<xsl:template match="iho:ul//iho:note | iho:ol//iho:note" mode="process">
|
592
589
|
<fo:block id="{@id}">
|
593
|
-
<xsl:apply-templates select="iho:name"
|
594
|
-
<xsl:apply-templates mode="process"/>
|
590
|
+
<xsl:apply-templates select="iho:name"/>
|
591
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name')]" mode="process"/>
|
595
592
|
</fo:block>
|
596
593
|
</xsl:template>
|
597
594
|
<xsl:template match="iho:ul//iho:note/iho:name | iho:ol//iho:note/iho:name" mode="process" priority="2"/>
|
@@ -633,21 +630,6 @@
|
|
633
630
|
</xsl:choose>
|
634
631
|
</xsl:template>
|
635
632
|
|
636
|
-
|
637
|
-
|
638
|
-
<xsl:template match="iho:admonition">
|
639
|
-
<fo:block-container border="0.5pt solid rgb(79, 129, 189)" color="rgb(79, 129, 189)" margin-left="16mm" margin-right="16mm" margin-bottom="12pt">
|
640
|
-
<fo:block-container margin-left="0mm" margin-right="0mm" padding="2mm" padding-top="3mm">
|
641
|
-
<fo:block font-size="11pt" margin-bottom="6pt" font-weight="bold" font-style="italic" text-align="center">
|
642
|
-
<xsl:value-of select="java:toUpperCase(java:java.lang.String.new(@type))"/>
|
643
|
-
</fo:block>
|
644
|
-
<fo:block font-style="italic">
|
645
|
-
<xsl:apply-templates/>
|
646
|
-
</fo:block>
|
647
|
-
</fo:block-container>
|
648
|
-
</fo:block-container>
|
649
|
-
</xsl:template>
|
650
|
-
|
651
633
|
|
652
634
|
<xsl:template match="iho:formula/iho:stem">
|
653
635
|
<fo:block margin-top="6pt" margin-bottom="12pt" text-align="center">
|
@@ -656,85 +638,6 @@
|
|
656
638
|
</xsl:template>
|
657
639
|
|
658
640
|
|
659
|
-
|
660
|
-
<xsl:template match="iho:references"><!-- [position() > 1] -->
|
661
|
-
<fo:block id="{@id}">
|
662
|
-
<xsl:apply-templates/>
|
663
|
-
</fo:block>
|
664
|
-
</xsl:template>
|
665
|
-
|
666
|
-
|
667
|
-
<!-- IHO documents:
|
668
|
-
"[1] S57 edition 3.1: IHO Transfer Standard for Digital Hydrographic Data, International Hydrographic Organization (www.iho.int)”
|
669
|
-
[{number}] {docID} edition {edition}: {title}, {author/organization}
|
670
|
-
|
671
|
-
Non-IHO documents:
|
672
|
-
Provide title and publisher -->
|
673
|
-
<xsl:template match="iho:bibitem">
|
674
|
-
<fo:list-block margin-bottom="12pt" provisional-distance-between-starts="12mm" line-height="115%">
|
675
|
-
<fo:list-item>
|
676
|
-
<fo:list-item-label end-indent="label-end()">
|
677
|
-
<fo:block>
|
678
|
-
<fo:inline id="{@id}">
|
679
|
-
<xsl:value-of select="iho:docidentifier[@type = 'metanorma-ordinal']"/>
|
680
|
-
<xsl:if test="not(iho:docidentifier[@type = 'metanorma-ordinal'])">
|
681
|
-
<xsl:number format="[1]"/>
|
682
|
-
</xsl:if>
|
683
|
-
</fo:inline>
|
684
|
-
</fo:block>
|
685
|
-
</fo:list-item-label>
|
686
|
-
<fo:list-item-body start-indent="body-start()">
|
687
|
-
<fo:block>
|
688
|
-
<xsl:call-template name="processBibitem"/>
|
689
|
-
</fo:block>
|
690
|
-
</fo:list-item-body>
|
691
|
-
</fo:list-item>
|
692
|
-
</fo:list-block>
|
693
|
-
</xsl:template>
|
694
|
-
|
695
|
-
<xsl:template match="iho:bibitem/iho:edition">
|
696
|
-
<xsl:text> edition </xsl:text>
|
697
|
-
<xsl:value-of select="."/>
|
698
|
-
</xsl:template>
|
699
|
-
|
700
|
-
<xsl:template match="iho:bibitem/iho:title">
|
701
|
-
<fo:inline font-style="italic">
|
702
|
-
<xsl:apply-templates/>
|
703
|
-
</fo:inline>
|
704
|
-
</xsl:template>
|
705
|
-
|
706
|
-
<xsl:template match="iho:bibitem/iho:uri">
|
707
|
-
<xsl:text> (</xsl:text>
|
708
|
-
<fo:inline xsl:use-attribute-sets="link-style">
|
709
|
-
<fo:basic-link external-destination="." fox:alt-text=".">
|
710
|
-
<xsl:value-of select="."/>
|
711
|
-
</fo:basic-link>
|
712
|
-
</fo:inline>
|
713
|
-
<xsl:text>)</xsl:text>
|
714
|
-
</xsl:template>
|
715
|
-
|
716
|
-
<xsl:template match="iho:bibitem/iho:note" priority="2">
|
717
|
-
<fo:footnote>
|
718
|
-
<xsl:variable name="number">
|
719
|
-
<xsl:number level="any" count="iho:bibitem/iho:note"/>
|
720
|
-
</xsl:variable>
|
721
|
-
<fo:inline font-size="8pt" keep-with-previous.within-line="always" baseline-shift="30%"> <!--85% vertical-align="super"-->
|
722
|
-
<fo:basic-link internal-destination="{generate-id()}" fox:alt-text="footnote {$number}">
|
723
|
-
<xsl:value-of select="$number"/><xsl:text>)</xsl:text>
|
724
|
-
</fo:basic-link>
|
725
|
-
</fo:inline>
|
726
|
-
<fo:footnote-body>
|
727
|
-
<fo:block font-size="10pt" margin-bottom="4pt" start-indent="0pt">
|
728
|
-
<fo:inline id="{generate-id()}" keep-with-next.within-line="always" alignment-baseline="hanging" padding-right="3mm"><!-- font-size="60%" -->
|
729
|
-
<xsl:value-of select="$number"/><xsl:text>)</xsl:text>
|
730
|
-
</fo:inline>
|
731
|
-
<xsl:apply-templates/>
|
732
|
-
</fo:block>
|
733
|
-
</fo:footnote-body>
|
734
|
-
</fo:footnote>
|
735
|
-
</xsl:template>
|
736
|
-
|
737
|
-
|
738
641
|
|
739
642
|
<xsl:template match="iho:example/iho:p" priority="2">
|
740
643
|
<fo:block-container xsl:use-attribute-sets="example-p-style">
|
@@ -762,7 +665,7 @@
|
|
762
665
|
</xsl:variable>
|
763
666
|
<fo:block line-height="1.1" role="H{$levelTerm}">
|
764
667
|
<fo:block font-weight="bold" keep-with-next="always">
|
765
|
-
<xsl:apply-templates select="ancestor::iho:term[1]/iho:name"
|
668
|
+
<xsl:apply-templates select="ancestor::iho:term[1]/iho:name"/>
|
766
669
|
</fo:block>
|
767
670
|
<fo:block font-weight="bold" keep-with-next="always">
|
768
671
|
<xsl:call-template name="setStyle_preferred"/>
|
@@ -916,22 +819,18 @@
|
|
916
819
|
<xsl:text>iVBORw0KGgoAAAANSUhEUgAAAN8AAADfCAIAAAD5m5F7AAAAAXNSR0IArs4c6QAAAAlwSFlzAAAh1QAAIdUBBJy0nQAAPjlJREFUeAHtXQdAFEcX5qhH772IgIAgxY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KOiz143yp3HULz2/PdnL4UQFKYERGLSVZgVJmWJkQQIOsVIWRLHKkGnxKlcjCpM0ClGypI4Vgk6JU7lYlRhgk4xUpbEsUrQKXEqF6MKE3SKkbIkjlWCTolTuRhVmKBTjJQlcawSdEqcysWowgSdYqQsiWOVoFPiVC5GFSboFCNlSRyrBJ0Sp3IxqjBBpxgpS+JYJeiUOJWLUYUJOsVIWRLHKkGnxKlcjCpM0ClGypI4Vgk6JU7lYlRhgk4xUpbEsUrQKXEqF6MKE3SKkbIkjlWCTolTuRhVmKBTjJQlcawSdEqcysWowgSdYqQsiWOVoFPiVC5GFSboFCNlSRyrBJ0Sp3IxqjBBpxgpS+JYJeiUOJWLUYUJOsVIWRLHKkGnxKlcjCpM0ClGypI4Vgk6JU7lYlRhgk4xUpbEsUrQKXEqF6MKE3SKkbIkjlWCTolTuRhVmKBTjJQlcawSdEqcysWowgSdYqQsiWOVoFPiVC5GFSboFCNlSRyrBJ0Sp3IxqjBBpxgpS+JYJeiUOJWLUYUJOsVIWRLHKkGnxKlcjCpM0ClGypI4Vgk6JU7lYlRhgk4xUpbEsUrQKXEqF6MKE3SKkbIkjlWCTolTuRhVmKBTjJQlcawSdEqcysWowgSdYqQsiWP1f5V8zYCHJlYcAAAAAElFTkSuQmCC</xsl:text>
|
917
820
|
</xsl:variable>
|
918
821
|
|
919
|
-
<xsl:variable name="
|
822
|
+
<xsl:variable name="titles_">
|
920
823
|
|
921
824
|
<title-edition lang="en">
|
922
825
|
|
923
|
-
|
924
|
-
|
925
|
-
|
826
|
+
<xsl:text>Edition </xsl:text>
|
827
|
+
|
926
828
|
</title-edition>
|
927
829
|
|
928
830
|
<title-edition lang="fr">
|
929
|
-
|
930
|
-
<xsl:text>Édition </xsl:text>
|
931
|
-
|
831
|
+
<xsl:text>Édition </xsl:text>
|
932
832
|
</title-edition>
|
933
833
|
|
934
|
-
|
935
834
|
<!-- These titles of Table of contents renders different than determined in localized-strings -->
|
936
835
|
<title-toc lang="en">
|
937
836
|
|
@@ -941,14 +840,13 @@
|
|
941
840
|
|
942
841
|
</title-toc>
|
943
842
|
<title-toc lang="fr">
|
843
|
+
<xsl:text>Sommaire</xsl:text>
|
844
|
+
</title-toc>
|
845
|
+
<title-toc lang="zh">
|
944
846
|
|
945
|
-
|
946
|
-
|
847
|
+
<xsl:text>Contents</xsl:text>
|
848
|
+
|
947
849
|
</title-toc>
|
948
|
-
|
949
|
-
<title-toc lang="zh">Contents</title-toc>
|
950
|
-
|
951
|
-
|
952
850
|
|
953
851
|
<title-descriptors lang="en">Descriptors</title-descriptors>
|
954
852
|
|
@@ -964,12 +862,8 @@
|
|
964
862
|
</title-part>
|
965
863
|
<title-part lang="zh">第 # 部分:</title-part>
|
966
864
|
|
967
|
-
<title-subpart lang="en">
|
968
|
-
|
969
|
-
</title-subpart>
|
970
|
-
<title-subpart lang="fr">
|
971
|
-
|
972
|
-
</title-subpart>
|
865
|
+
<title-subpart lang="en">Sub-part #</title-subpart>
|
866
|
+
<title-subpart lang="fr">Partie de sub #</title-subpart>
|
973
867
|
|
974
868
|
<title-list-tables lang="en">List of Tables</title-list-tables>
|
975
869
|
|
@@ -984,7 +878,7 @@
|
|
984
878
|
<title-continued lang="en">(continued)</title-continued>
|
985
879
|
<title-continued lang="fr">(continué)</title-continued>
|
986
880
|
|
987
|
-
</xsl:variable><xsl:variable name="bibdata">
|
881
|
+
</xsl:variable><xsl:variable name="titles" select="xalan:nodeset($titles_)"/><xsl:variable name="bibdata">
|
988
882
|
<xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']"/>
|
989
883
|
<xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'localized-strings']"/>
|
990
884
|
</xsl:variable><xsl:variable name="tab_zh"> </xsl:variable><xsl:template name="getTitle">
|
@@ -1013,6 +907,23 @@
|
|
1013
907
|
</xsl:template><xsl:variable name="lower">abcdefghijklmnopqrstuvwxyz</xsl:variable><xsl:variable name="upper">ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable><xsl:variable name="en_chars" select="concat($lower,$upper,',.`1234567890-=~!@#$%^*()_+[]{}\|?/')"/><xsl:variable name="linebreak" select="'
'"/><xsl:attribute-set name="root-style">
|
1014
908
|
|
1015
909
|
|
910
|
+
|
911
|
+
|
912
|
+
|
913
|
+
|
914
|
+
|
915
|
+
<xsl:attribute name="font-family">Arial, Cambria Math</xsl:attribute>
|
916
|
+
<xsl:attribute name="font-size">12pt</xsl:attribute>
|
917
|
+
|
918
|
+
|
919
|
+
|
920
|
+
|
921
|
+
|
922
|
+
|
923
|
+
|
924
|
+
|
925
|
+
|
926
|
+
|
1016
927
|
</xsl:attribute-set><xsl:attribute-set name="link-style">
|
1017
928
|
|
1018
929
|
|
@@ -1022,6 +933,9 @@
|
|
1022
933
|
|
1023
934
|
|
1024
935
|
|
936
|
+
</xsl:attribute-set><xsl:attribute-set name="sourcecode-container-style">
|
937
|
+
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
938
|
+
|
1025
939
|
</xsl:attribute-set><xsl:attribute-set name="sourcecode-style">
|
1026
940
|
<xsl:attribute name="white-space">pre</xsl:attribute>
|
1027
941
|
<xsl:attribute name="wrap-option">wrap</xsl:attribute>
|
@@ -1031,8 +945,6 @@
|
|
1031
945
|
|
1032
946
|
|
1033
947
|
|
1034
|
-
|
1035
|
-
|
1036
948
|
|
1037
949
|
|
1038
950
|
<xsl:attribute name="font-family">Fira Code</xsl:attribute>
|
@@ -1040,6 +952,15 @@
|
|
1040
952
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
1041
953
|
<xsl:attribute name="line-height">113%</xsl:attribute>
|
1042
954
|
|
955
|
+
|
956
|
+
|
957
|
+
|
958
|
+
|
959
|
+
|
960
|
+
|
961
|
+
|
962
|
+
|
963
|
+
|
1043
964
|
</xsl:attribute-set><xsl:attribute-set name="permission-style">
|
1044
965
|
|
1045
966
|
</xsl:attribute-set><xsl:attribute-set name="permission-name-style">
|
@@ -1154,108 +1075,108 @@
|
|
1154
1075
|
|
1155
1076
|
</xsl:attribute-set><xsl:variable name="table-border_">
|
1156
1077
|
|
1157
|
-
</xsl:variable><xsl:variable name="table-border" select="normalize-space($table-border_)"/><xsl:attribute-set name="table-
|
1158
|
-
<xsl:attribute name="
|
1159
|
-
|
1078
|
+
</xsl:variable><xsl:variable name="table-border" select="normalize-space($table-border_)"/><xsl:attribute-set name="table-container-style">
|
1079
|
+
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
1080
|
+
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
1160
1081
|
|
1161
1082
|
|
1162
1083
|
|
1163
1084
|
|
1164
|
-
<xsl:attribute name="text-align">center</xsl:attribute>
|
1165
|
-
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
1166
|
-
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
1167
|
-
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
1168
1085
|
|
1169
|
-
|
1170
1086
|
|
1171
1087
|
|
1172
1088
|
|
1173
|
-
|
1089
|
+
<xsl:attribute name="space-after">18pt</xsl:attribute>
|
1174
1090
|
|
1175
1091
|
|
1176
1092
|
|
1177
1093
|
|
1178
|
-
</xsl:attribute-set><xsl:attribute-set name="table-footer-cell-style">
|
1179
1094
|
|
1180
|
-
</xsl:attribute-set><xsl:attribute-set name="appendix-style">
|
1181
1095
|
|
1182
1096
|
|
1183
1097
|
|
1184
|
-
</xsl:attribute-set><xsl:attribute-set name="appendix-example-style">
|
1185
1098
|
|
1186
1099
|
|
1187
1100
|
|
1188
|
-
|
1101
|
+
|
1189
1102
|
|
1190
1103
|
|
1104
|
+
</xsl:attribute-set><xsl:attribute-set name="table-style">
|
1105
|
+
<xsl:attribute name="table-omit-footer-at-break">true</xsl:attribute>
|
1106
|
+
<xsl:attribute name="table-layout">fixed</xsl:attribute>
|
1107
|
+
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
1108
|
+
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
1191
1109
|
|
1192
|
-
<xsl:attribute name="color">blue</xsl:attribute>
|
1193
|
-
<xsl:attribute name="text-decoration">underline</xsl:attribute>
|
1194
1110
|
|
1195
1111
|
|
1196
1112
|
|
1197
|
-
</xsl:attribute-set><xsl:attribute-set name="eref-style">
|
1198
1113
|
|
1199
1114
|
|
1200
1115
|
|
1201
1116
|
|
1117
|
+
|
1202
1118
|
|
1203
1119
|
|
1204
|
-
</xsl:attribute-set><xsl:attribute-set name="note-style">
|
1205
1120
|
|
1206
1121
|
|
1207
1122
|
|
1208
1123
|
|
1209
|
-
|
1210
1124
|
|
1211
|
-
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
1212
|
-
<xsl:attribute name="margin-top">8pt</xsl:attribute>
|
1213
|
-
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1214
|
-
<xsl:attribute name="text-align">justify</xsl:attribute>
|
1215
1125
|
|
1216
1126
|
|
1217
1127
|
|
1218
1128
|
|
1219
1129
|
|
1220
1130
|
|
1131
|
+
</xsl:attribute-set><xsl:attribute-set name="table-name-style">
|
1132
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
1133
|
+
|
1221
1134
|
|
1222
1135
|
|
1223
1136
|
|
1224
1137
|
|
1138
|
+
<xsl:attribute name="text-align">center</xsl:attribute>
|
1139
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
1140
|
+
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
1141
|
+
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
1225
1142
|
|
1226
|
-
|
1143
|
+
|
1227
1144
|
|
1228
1145
|
|
1229
1146
|
|
1147
|
+
|
1230
1148
|
|
1231
1149
|
|
1232
1150
|
|
1233
|
-
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
1234
|
-
<xsl:attribute name="padding-right">2mm</xsl:attribute>
|
1235
1151
|
|
1152
|
+
</xsl:attribute-set><xsl:attribute-set name="table-row-style">
|
1153
|
+
<xsl:attribute name="min-height">4mm</xsl:attribute>
|
1236
1154
|
|
1237
1155
|
|
1238
1156
|
|
1239
1157
|
|
1158
|
+
</xsl:attribute-set><xsl:attribute-set name="table-header-row-style" use-attribute-sets="table-row-style">
|
1159
|
+
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
1240
1160
|
|
1241
1161
|
|
1242
1162
|
|
1243
|
-
</xsl:attribute-set><xsl:attribute-set name="table-note-name-style">
|
1244
1163
|
|
1245
1164
|
|
1246
1165
|
|
1247
|
-
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
1248
|
-
<xsl:attribute name="padding-right">3mm</xsl:attribute>
|
1249
1166
|
|
1167
|
+
|
1250
1168
|
|
1251
|
-
</xsl:attribute-set><xsl:attribute-set name="
|
1169
|
+
</xsl:attribute-set><xsl:attribute-set name="table-footer-row-style" use-attribute-sets="table-row-style">
|
1252
1170
|
|
1253
1171
|
|
1254
1172
|
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
1258
|
-
|
1173
|
+
</xsl:attribute-set><xsl:attribute-set name="table-body-row-style" use-attribute-sets="table-row-style">
|
1174
|
+
|
1175
|
+
</xsl:attribute-set><xsl:attribute-set name="table-header-cell-style">
|
1176
|
+
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
1177
|
+
<xsl:attribute name="border">solid black 1pt</xsl:attribute>
|
1178
|
+
<xsl:attribute name="padding-left">1mm</xsl:attribute>
|
1179
|
+
<xsl:attribute name="display-align">center</xsl:attribute>
|
1259
1180
|
|
1260
1181
|
|
1261
1182
|
|
@@ -1265,80 +1186,69 @@
|
|
1265
1186
|
|
1266
1187
|
|
1267
1188
|
|
1268
|
-
</xsl:attribute-set><xsl:attribute-set name="termnote-style">
|
1269
1189
|
|
1270
1190
|
|
1271
1191
|
|
1272
1192
|
|
1273
|
-
|
1274
|
-
|
1275
|
-
|
1276
|
-
|
1193
|
+
</xsl:attribute-set><xsl:attribute-set name="table-cell-style">
|
1194
|
+
<xsl:attribute name="display-align">center</xsl:attribute>
|
1195
|
+
<xsl:attribute name="border">solid black 1pt</xsl:attribute>
|
1196
|
+
<xsl:attribute name="padding-left">1mm</xsl:attribute>
|
1277
1197
|
|
1278
1198
|
|
1279
1199
|
|
1280
1200
|
|
1281
|
-
</xsl:attribute-set><xsl:attribute-set name="termnote-name-style">
|
1282
1201
|
|
1283
|
-
|
1284
1202
|
|
1203
|
+
<xsl:attribute name="padding-top">0.5mm</xsl:attribute>
|
1285
1204
|
|
1286
|
-
</xsl:attribute-set><xsl:attribute-set name="quote-style">
|
1287
|
-
<xsl:attribute name="role">BlockQuote</xsl:attribute>
|
1288
1205
|
|
1289
1206
|
|
1290
1207
|
|
1291
1208
|
|
1292
|
-
|
1293
|
-
<xsl:attribute name="margin-left">12.5mm</xsl:attribute>
|
1294
|
-
<xsl:attribute name="margin-right">14mm</xsl:attribute>
|
1295
1209
|
|
1296
1210
|
|
1297
1211
|
|
1298
|
-
</xsl:attribute-set><xsl:attribute-set name="
|
1212
|
+
</xsl:attribute-set><xsl:attribute-set name="table-footer-cell-style">
|
1213
|
+
<xsl:attribute name="border">solid black 1pt</xsl:attribute>
|
1214
|
+
<xsl:attribute name="padding-left">1mm</xsl:attribute>
|
1215
|
+
<xsl:attribute name="padding-right">1mm</xsl:attribute>
|
1216
|
+
<xsl:attribute name="padding-top">1mm</xsl:attribute>
|
1299
1217
|
|
1300
1218
|
|
1301
|
-
<xsl:attribute name="text-align">right</xsl:attribute>
|
1302
|
-
|
1303
|
-
|
1304
|
-
</xsl:attribute-set><xsl:attribute-set name="termsource-style">
|
1305
1219
|
|
1306
1220
|
|
1307
1221
|
|
1308
1222
|
|
1309
1223
|
|
1310
|
-
|
1224
|
+
|
1311
1225
|
|
1312
1226
|
|
1313
1227
|
|
1314
|
-
</xsl:attribute-set><xsl:attribute-set name="
|
1228
|
+
</xsl:attribute-set><xsl:attribute-set name="table-note-style">
|
1229
|
+
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
1230
|
+
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1315
1231
|
|
1316
1232
|
|
1317
|
-
<xsl:attribute name="color">blue</xsl:attribute>
|
1318
|
-
<xsl:attribute name="text-decoration">underline</xsl:attribute>
|
1319
1233
|
|
1320
1234
|
|
1321
1235
|
|
1322
|
-
</xsl:attribute-set><xsl:attribute-set name="term-style">
|
1323
1236
|
|
1324
|
-
<xsl:attribute name="
|
1237
|
+
<xsl:attribute name="font-size">12pt</xsl:attribute>
|
1325
1238
|
|
1326
|
-
</xsl:attribute-set><xsl:attribute-set name="figure-name-style">
|
1327
1239
|
|
1328
1240
|
|
1329
|
-
|
1241
|
+
</xsl:attribute-set><xsl:attribute-set name="table-fn-style">
|
1242
|
+
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1330
1243
|
|
1331
1244
|
|
1332
1245
|
|
1333
1246
|
|
1334
1247
|
|
1335
1248
|
|
1336
|
-
|
1337
|
-
|
1338
|
-
|
1339
|
-
<xsl:attribute name="margin-top">6pt</xsl:attribute>
|
1340
|
-
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
1341
|
-
<xsl:attribute name="keep-with-previous">always</xsl:attribute>
|
1249
|
+
</xsl:attribute-set><xsl:attribute-set name="table-fn-number-style">
|
1250
|
+
<xsl:attribute name="font-size">80%</xsl:attribute>
|
1251
|
+
<xsl:attribute name="padding-right">5mm</xsl:attribute>
|
1342
1252
|
|
1343
1253
|
|
1344
1254
|
|
@@ -1346,109 +1256,335 @@
|
|
1346
1256
|
|
1347
1257
|
|
1348
1258
|
|
1349
|
-
|
1259
|
+
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
1350
1260
|
|
1351
1261
|
|
1352
1262
|
|
1353
|
-
|
1354
|
-
</xsl:attribute-set><xsl:attribute-set name="formula-style">
|
1355
1263
|
|
1356
|
-
</xsl:attribute-set><xsl:attribute-set name="image-style">
|
1357
|
-
<xsl:attribute name="text-align">center</xsl:attribute>
|
1358
1264
|
|
1359
1265
|
|
1266
|
+
</xsl:attribute-set><xsl:attribute-set name="fn-container-body-style">
|
1267
|
+
<xsl:attribute name="text-indent">0</xsl:attribute>
|
1268
|
+
<xsl:attribute name="start-indent">0</xsl:attribute>
|
1360
1269
|
|
1361
1270
|
|
1271
|
+
</xsl:attribute-set><xsl:attribute-set name="table-fn-body-style">
|
1362
1272
|
|
1273
|
+
</xsl:attribute-set><xsl:attribute-set name="figure-fn-number-style">
|
1274
|
+
<xsl:attribute name="font-size">80%</xsl:attribute>
|
1275
|
+
<xsl:attribute name="padding-right">5mm</xsl:attribute>
|
1276
|
+
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
1363
1277
|
|
1364
|
-
</xsl:attribute-set><xsl:attribute-set name="figure-
|
1278
|
+
</xsl:attribute-set><xsl:attribute-set name="figure-fn-body-style">
|
1279
|
+
<xsl:attribute name="text-align">justify</xsl:attribute>
|
1280
|
+
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1365
1281
|
|
1366
|
-
</xsl:attribute-set><xsl:attribute-set name="
|
1282
|
+
</xsl:attribute-set><xsl:attribute-set name="dt-row-style">
|
1367
1283
|
|
1368
1284
|
|
1369
|
-
|
1370
|
-
|
1371
|
-
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
1285
|
+
</xsl:attribute-set><xsl:attribute-set name="dt-style">
|
1286
|
+
<xsl:attribute name="margin-top">6pt</xsl:attribute>
|
1372
1287
|
|
1373
1288
|
|
1374
1289
|
|
1375
|
-
|
1376
|
-
|
1377
|
-
</xsl:attribute-set><xsl:attribute-set name="tt-style">
|
1378
1290
|
|
1379
1291
|
|
1380
|
-
<xsl:attribute name="
|
1292
|
+
<xsl:attribute name="margin-top">0pt</xsl:attribute>
|
1293
|
+
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1381
1294
|
|
1382
1295
|
|
1383
|
-
</xsl:attribute-set><xsl:attribute-set name="sourcecode-name-style">
|
1384
|
-
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
1385
|
-
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
1386
|
-
<xsl:attribute name="text-align">center</xsl:attribute>
|
1387
|
-
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1388
|
-
<xsl:attribute name="keep-with-previous">always</xsl:attribute>
|
1389
1296
|
|
1390
|
-
</xsl:attribute-set><xsl:attribute-set name="domain-style">
|
1391
|
-
|
1392
|
-
</xsl:attribute-set><xsl:attribute-set name="admitted-style">
|
1393
1297
|
|
1394
1298
|
|
1395
1299
|
|
1396
|
-
</xsl:attribute-set><xsl:attribute-set name="
|
1300
|
+
</xsl:attribute-set><xsl:attribute-set name="appendix-style">
|
1397
1301
|
|
1398
1302
|
|
1399
|
-
</xsl:attribute-set><xsl:attribute-set name="definition-style">
|
1400
1303
|
|
1304
|
+
</xsl:attribute-set><xsl:attribute-set name="appendix-example-style">
|
1401
1305
|
|
1402
|
-
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
1403
1306
|
|
1404
1307
|
|
1405
|
-
</xsl:attribute-set><xsl:
|
1406
|
-
<xsl:text>rgb(0, 255, 0)</xsl:text>
|
1407
|
-
</xsl:variable><xsl:attribute-set name="add-style">
|
1408
|
-
<xsl:attribute name="color">red</xsl:attribute>
|
1409
|
-
<xsl:attribute name="text-decoration">underline</xsl:attribute>
|
1410
|
-
<!-- <xsl:attribute name="color">black</xsl:attribute>
|
1411
|
-
<xsl:attribute name="background-color"><xsl:value-of select="$color-added-text"/></xsl:attribute>
|
1412
|
-
<xsl:attribute name="padding-top">1mm</xsl:attribute>
|
1413
|
-
<xsl:attribute name="padding-bottom">0.5mm</xsl:attribute> -->
|
1414
|
-
</xsl:attribute-set><xsl:variable name="color-deleted-text">
|
1415
|
-
<xsl:text>red</xsl:text>
|
1416
|
-
</xsl:variable><xsl:attribute-set name="del-style">
|
1417
|
-
<xsl:attribute name="color"><xsl:value-of select="$color-deleted-text"/></xsl:attribute>
|
1418
|
-
<xsl:attribute name="text-decoration">line-through</xsl:attribute>
|
1419
|
-
</xsl:attribute-set><xsl:attribute-set name="mathml-style">
|
1420
|
-
<xsl:attribute name="font-family">STIX Two Math</xsl:attribute>
|
1308
|
+
</xsl:attribute-set><xsl:attribute-set name="xref-style">
|
1421
1309
|
|
1422
1310
|
|
1423
|
-
</xsl:attribute-set><xsl:attribute-set name="list-style">
|
1424
1311
|
|
1425
|
-
|
1426
|
-
|
1427
|
-
</xsl:attribute-set><xsl:attribute-set name="fn-style">
|
1428
|
-
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
1429
|
-
</xsl:attribute-set><xsl:attribute-set name="fn-num-style">
|
1430
|
-
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
1312
|
+
<xsl:attribute name="color">blue</xsl:attribute>
|
1313
|
+
<xsl:attribute name="text-decoration">underline</xsl:attribute>
|
1431
1314
|
|
1432
1315
|
|
1433
1316
|
|
1317
|
+
</xsl:attribute-set><xsl:attribute-set name="eref-style">
|
1434
1318
|
|
1435
1319
|
|
1436
1320
|
|
1437
1321
|
|
1438
|
-
<xsl:attribute name="font-size">70%</xsl:attribute>
|
1439
|
-
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
1440
1322
|
|
1441
1323
|
|
1324
|
+
</xsl:attribute-set><xsl:attribute-set name="note-style">
|
1442
1325
|
|
1443
1326
|
|
1444
1327
|
|
1445
1328
|
|
1329
|
+
|
1446
1330
|
|
1331
|
+
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
1332
|
+
<xsl:attribute name="margin-top">8pt</xsl:attribute>
|
1333
|
+
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1334
|
+
<xsl:attribute name="text-align">justify</xsl:attribute>
|
1447
1335
|
|
1448
1336
|
|
1449
1337
|
|
1450
|
-
|
1451
|
-
|
1338
|
+
|
1339
|
+
|
1340
|
+
|
1341
|
+
|
1342
|
+
|
1343
|
+
|
1344
|
+
|
1345
|
+
|
1346
|
+
</xsl:attribute-set><xsl:variable name="note-body-indent">10mm</xsl:variable><xsl:variable name="note-body-indent-table">5mm</xsl:variable><xsl:attribute-set name="note-name-style">
|
1347
|
+
|
1348
|
+
|
1349
|
+
|
1350
|
+
|
1351
|
+
|
1352
|
+
|
1353
|
+
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
1354
|
+
<xsl:attribute name="padding-right">2mm</xsl:attribute>
|
1355
|
+
|
1356
|
+
|
1357
|
+
|
1358
|
+
|
1359
|
+
|
1360
|
+
|
1361
|
+
|
1362
|
+
|
1363
|
+
</xsl:attribute-set><xsl:attribute-set name="table-note-name-style">
|
1364
|
+
<xsl:attribute name="padding-right">2mm</xsl:attribute>
|
1365
|
+
|
1366
|
+
|
1367
|
+
|
1368
|
+
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
1369
|
+
|
1370
|
+
|
1371
|
+
</xsl:attribute-set><xsl:attribute-set name="note-p-style">
|
1372
|
+
|
1373
|
+
|
1374
|
+
|
1375
|
+
|
1376
|
+
|
1377
|
+
<xsl:attribute name="margin-top">8pt</xsl:attribute>
|
1378
|
+
<xsl:attribute name="margin-bottom">8pt</xsl:attribute>
|
1379
|
+
|
1380
|
+
|
1381
|
+
|
1382
|
+
|
1383
|
+
|
1384
|
+
|
1385
|
+
|
1386
|
+
|
1387
|
+
|
1388
|
+
</xsl:attribute-set><xsl:attribute-set name="termnote-style">
|
1389
|
+
|
1390
|
+
|
1391
|
+
|
1392
|
+
|
1393
|
+
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
1394
|
+
<xsl:attribute name="margin-top">8pt</xsl:attribute>
|
1395
|
+
<xsl:attribute name="margin-bottom">8pt</xsl:attribute>
|
1396
|
+
<xsl:attribute name="text-align">justify</xsl:attribute>
|
1397
|
+
|
1398
|
+
|
1399
|
+
|
1400
|
+
|
1401
|
+
</xsl:attribute-set><xsl:attribute-set name="termnote-name-style">
|
1402
|
+
|
1403
|
+
|
1404
|
+
|
1405
|
+
|
1406
|
+
</xsl:attribute-set><xsl:attribute-set name="quote-style">
|
1407
|
+
<xsl:attribute name="role">BlockQuote</xsl:attribute>
|
1408
|
+
|
1409
|
+
|
1410
|
+
|
1411
|
+
|
1412
|
+
|
1413
|
+
<xsl:attribute name="margin-left">12.5mm</xsl:attribute>
|
1414
|
+
<xsl:attribute name="margin-right">14mm</xsl:attribute>
|
1415
|
+
|
1416
|
+
|
1417
|
+
|
1418
|
+
</xsl:attribute-set><xsl:attribute-set name="quote-source-style">
|
1419
|
+
|
1420
|
+
|
1421
|
+
<xsl:attribute name="text-align">right</xsl:attribute>
|
1422
|
+
|
1423
|
+
|
1424
|
+
</xsl:attribute-set><xsl:attribute-set name="termsource-style">
|
1425
|
+
|
1426
|
+
|
1427
|
+
|
1428
|
+
|
1429
|
+
|
1430
|
+
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1431
|
+
|
1432
|
+
|
1433
|
+
|
1434
|
+
</xsl:attribute-set><xsl:attribute-set name="termsource-text-style">
|
1435
|
+
|
1436
|
+
|
1437
|
+
</xsl:attribute-set><xsl:attribute-set name="origin-style">
|
1438
|
+
|
1439
|
+
|
1440
|
+
<xsl:attribute name="color">blue</xsl:attribute>
|
1441
|
+
<xsl:attribute name="text-decoration">underline</xsl:attribute>
|
1442
|
+
|
1443
|
+
|
1444
|
+
|
1445
|
+
</xsl:attribute-set><xsl:attribute-set name="term-style">
|
1446
|
+
|
1447
|
+
<xsl:attribute name="margin-bottom">10pt</xsl:attribute>
|
1448
|
+
|
1449
|
+
</xsl:attribute-set><xsl:attribute-set name="figure-style">
|
1450
|
+
|
1451
|
+
</xsl:attribute-set><xsl:attribute-set name="figure-name-style">
|
1452
|
+
|
1453
|
+
|
1454
|
+
|
1455
|
+
|
1456
|
+
|
1457
|
+
|
1458
|
+
|
1459
|
+
|
1460
|
+
|
1461
|
+
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
1462
|
+
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
1463
|
+
<xsl:attribute name="text-align">center</xsl:attribute>
|
1464
|
+
<xsl:attribute name="margin-top">6pt</xsl:attribute>
|
1465
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
1466
|
+
<xsl:attribute name="keep-with-previous">always</xsl:attribute>
|
1467
|
+
|
1468
|
+
|
1469
|
+
|
1470
|
+
|
1471
|
+
|
1472
|
+
|
1473
|
+
|
1474
|
+
|
1475
|
+
|
1476
|
+
|
1477
|
+
|
1478
|
+
|
1479
|
+
</xsl:attribute-set><xsl:attribute-set name="formula-style">
|
1480
|
+
|
1481
|
+
</xsl:attribute-set><xsl:attribute-set name="image-style">
|
1482
|
+
<xsl:attribute name="text-align">center</xsl:attribute>
|
1483
|
+
|
1484
|
+
|
1485
|
+
|
1486
|
+
|
1487
|
+
|
1488
|
+
|
1489
|
+
</xsl:attribute-set><xsl:attribute-set name="figure-pseudocode-p-style">
|
1490
|
+
|
1491
|
+
</xsl:attribute-set><xsl:attribute-set name="image-graphic-style">
|
1492
|
+
|
1493
|
+
|
1494
|
+
<xsl:attribute name="width">100%</xsl:attribute>
|
1495
|
+
<xsl:attribute name="content-height">scale-to-fit</xsl:attribute>
|
1496
|
+
<xsl:attribute name="scaling">uniform</xsl:attribute>
|
1497
|
+
|
1498
|
+
|
1499
|
+
|
1500
|
+
|
1501
|
+
|
1502
|
+
</xsl:attribute-set><xsl:attribute-set name="tt-style">
|
1503
|
+
|
1504
|
+
|
1505
|
+
<xsl:attribute name="font-family">Courier New</xsl:attribute>
|
1506
|
+
|
1507
|
+
|
1508
|
+
</xsl:attribute-set><xsl:attribute-set name="sourcecode-name-style">
|
1509
|
+
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
1510
|
+
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
1511
|
+
<xsl:attribute name="text-align">center</xsl:attribute>
|
1512
|
+
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1513
|
+
<xsl:attribute name="keep-with-previous">always</xsl:attribute>
|
1514
|
+
|
1515
|
+
</xsl:attribute-set><xsl:attribute-set name="domain-style">
|
1516
|
+
|
1517
|
+
</xsl:attribute-set><xsl:attribute-set name="admitted-style">
|
1518
|
+
|
1519
|
+
|
1520
|
+
|
1521
|
+
</xsl:attribute-set><xsl:attribute-set name="deprecates-style">
|
1522
|
+
|
1523
|
+
|
1524
|
+
</xsl:attribute-set><xsl:attribute-set name="definition-style">
|
1525
|
+
|
1526
|
+
|
1527
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
1528
|
+
|
1529
|
+
|
1530
|
+
</xsl:attribute-set><xsl:variable name="color-added-text">
|
1531
|
+
<xsl:text>rgb(0, 255, 0)</xsl:text>
|
1532
|
+
</xsl:variable><xsl:attribute-set name="add-style">
|
1533
|
+
<xsl:attribute name="color">red</xsl:attribute>
|
1534
|
+
<xsl:attribute name="text-decoration">underline</xsl:attribute>
|
1535
|
+
<!-- <xsl:attribute name="color">black</xsl:attribute>
|
1536
|
+
<xsl:attribute name="background-color"><xsl:value-of select="$color-added-text"/></xsl:attribute>
|
1537
|
+
<xsl:attribute name="padding-top">1mm</xsl:attribute>
|
1538
|
+
<xsl:attribute name="padding-bottom">0.5mm</xsl:attribute> -->
|
1539
|
+
</xsl:attribute-set><xsl:variable name="color-deleted-text">
|
1540
|
+
<xsl:text>red</xsl:text>
|
1541
|
+
</xsl:variable><xsl:attribute-set name="del-style">
|
1542
|
+
<xsl:attribute name="color"><xsl:value-of select="$color-deleted-text"/></xsl:attribute>
|
1543
|
+
<xsl:attribute name="text-decoration">line-through</xsl:attribute>
|
1544
|
+
</xsl:attribute-set><xsl:attribute-set name="mathml-style">
|
1545
|
+
<xsl:attribute name="font-family">STIX Two Math</xsl:attribute>
|
1546
|
+
|
1547
|
+
|
1548
|
+
</xsl:attribute-set><xsl:attribute-set name="list-style">
|
1549
|
+
|
1550
|
+
</xsl:attribute-set><xsl:attribute-set name="toc-style">
|
1551
|
+
<xsl:attribute name="line-height">135%</xsl:attribute>
|
1552
|
+
</xsl:attribute-set><xsl:attribute-set name="fn-reference-style">
|
1553
|
+
<xsl:attribute name="font-size">80%</xsl:attribute>
|
1554
|
+
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
1555
|
+
|
1556
|
+
|
1557
|
+
|
1558
|
+
|
1559
|
+
|
1560
|
+
|
1561
|
+
|
1562
|
+
|
1563
|
+
</xsl:attribute-set><xsl:attribute-set name="fn-style">
|
1564
|
+
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
1565
|
+
</xsl:attribute-set><xsl:attribute-set name="fn-num-style">
|
1566
|
+
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
1567
|
+
|
1568
|
+
|
1569
|
+
|
1570
|
+
|
1571
|
+
|
1572
|
+
|
1573
|
+
|
1574
|
+
<xsl:attribute name="font-size">70%</xsl:attribute>
|
1575
|
+
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
1576
|
+
|
1577
|
+
|
1578
|
+
|
1579
|
+
|
1580
|
+
|
1581
|
+
|
1582
|
+
|
1583
|
+
|
1584
|
+
|
1585
|
+
|
1586
|
+
</xsl:attribute-set><xsl:attribute-set name="fn-body-style">
|
1587
|
+
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
1452
1588
|
<xsl:attribute name="font-style">normal</xsl:attribute>
|
1453
1589
|
<xsl:attribute name="text-indent">0</xsl:attribute>
|
1454
1590
|
<xsl:attribute name="start-indent">0</xsl:attribute>
|
@@ -1459,9 +1595,201 @@
|
|
1459
1595
|
|
1460
1596
|
|
1461
1597
|
|
1462
|
-
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
1463
|
-
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1598
|
+
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
1599
|
+
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1600
|
+
|
1601
|
+
|
1602
|
+
|
1603
|
+
|
1604
|
+
|
1605
|
+
|
1606
|
+
|
1607
|
+
|
1608
|
+
|
1609
|
+
|
1610
|
+
|
1611
|
+
|
1612
|
+
</xsl:attribute-set><xsl:attribute-set name="fn-body-num-style">
|
1613
|
+
<xsl:attribute name="keep-with-next.within-line">always</xsl:attribute>
|
1614
|
+
|
1615
|
+
|
1616
|
+
|
1617
|
+
|
1618
|
+
|
1619
|
+
|
1620
|
+
|
1621
|
+
<xsl:attribute name="font-size">60%</xsl:attribute>
|
1622
|
+
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
1623
|
+
<xsl:attribute name="padding-right">1mm</xsl:attribute>
|
1624
|
+
|
1625
|
+
|
1626
|
+
|
1627
|
+
|
1628
|
+
|
1629
|
+
|
1630
|
+
|
1631
|
+
|
1632
|
+
|
1633
|
+
|
1634
|
+
|
1635
|
+
</xsl:attribute-set><xsl:attribute-set name="admonition-style">
|
1636
|
+
|
1637
|
+
|
1638
|
+
|
1639
|
+
|
1640
|
+
|
1641
|
+
|
1642
|
+
<xsl:attribute name="border">0.5pt solid rgb(79, 129, 189)</xsl:attribute>
|
1643
|
+
<xsl:attribute name="color">rgb(79, 129, 189)</xsl:attribute>
|
1644
|
+
<xsl:attribute name="margin-left">16mm</xsl:attribute>
|
1645
|
+
<xsl:attribute name="margin-right">16mm</xsl:attribute>
|
1646
|
+
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1647
|
+
|
1648
|
+
|
1649
|
+
|
1650
|
+
|
1651
|
+
|
1652
|
+
|
1653
|
+
|
1654
|
+
|
1655
|
+
|
1656
|
+
</xsl:attribute-set><xsl:attribute-set name="admonition-container-style">
|
1657
|
+
|
1658
|
+
|
1659
|
+
|
1660
|
+
|
1661
|
+
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
1662
|
+
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
1663
|
+
<xsl:attribute name="padding">2mm</xsl:attribute>
|
1664
|
+
<xsl:attribute name="padding-top">3mm</xsl:attribute>
|
1665
|
+
|
1666
|
+
|
1667
|
+
|
1668
|
+
|
1669
|
+
|
1670
|
+
|
1671
|
+
|
1672
|
+
</xsl:attribute-set><xsl:attribute-set name="admonition-name-style">
|
1673
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
1674
|
+
|
1675
|
+
|
1676
|
+
|
1677
|
+
|
1678
|
+
|
1679
|
+
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
1680
|
+
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
1681
|
+
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
1682
|
+
<xsl:attribute name="font-style">italic</xsl:attribute>
|
1683
|
+
<xsl:attribute name="text-align">center</xsl:attribute>
|
1684
|
+
|
1685
|
+
|
1686
|
+
|
1687
|
+
|
1688
|
+
|
1689
|
+
|
1690
|
+
|
1691
|
+
|
1692
|
+
|
1693
|
+
</xsl:attribute-set><xsl:attribute-set name="admonition-p-style">
|
1694
|
+
|
1695
|
+
|
1696
|
+
|
1697
|
+
|
1698
|
+
<xsl:attribute name="font-style">italic</xsl:attribute>
|
1699
|
+
|
1700
|
+
|
1701
|
+
|
1702
|
+
|
1703
|
+
|
1704
|
+
|
1705
|
+
|
1706
|
+
|
1707
|
+
</xsl:attribute-set><xsl:attribute-set name="bibitem-normative-style">
|
1708
|
+
|
1709
|
+
|
1710
|
+
|
1711
|
+
|
1712
|
+
|
1713
|
+
|
1714
|
+
|
1715
|
+
|
1716
|
+
|
1717
|
+
|
1718
|
+
|
1719
|
+
|
1720
|
+
|
1721
|
+
|
1722
|
+
|
1723
|
+
|
1724
|
+
|
1725
|
+
|
1726
|
+
</xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-style">
|
1727
|
+
<xsl:attribute name="provisional-distance-between-starts">12mm</xsl:attribute>
|
1728
|
+
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1729
|
+
|
1730
|
+
|
1731
|
+
|
1732
|
+
|
1733
|
+
|
1734
|
+
<xsl:attribute name="line-height">115%</xsl:attribute>
|
1735
|
+
|
1736
|
+
|
1737
|
+
|
1738
|
+
|
1739
|
+
|
1740
|
+
|
1741
|
+
|
1742
|
+
</xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-style">
|
1743
|
+
|
1744
|
+
|
1745
|
+
|
1746
|
+
|
1747
|
+
</xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-style">
|
1748
|
+
<xsl:attribute name="provisional-distance-between-starts">12mm</xsl:attribute>
|
1749
|
+
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1750
|
+
|
1751
|
+
|
1752
|
+
|
1753
|
+
|
1754
|
+
|
1755
|
+
<xsl:attribute name="line-height">115%</xsl:attribute>
|
1756
|
+
|
1757
|
+
|
1758
|
+
|
1759
|
+
|
1760
|
+
|
1761
|
+
|
1762
|
+
|
1763
|
+
</xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
|
1764
|
+
|
1765
|
+
|
1766
|
+
</xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
|
1767
|
+
|
1768
|
+
|
1769
|
+
</xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style">
|
1770
|
+
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
1771
|
+
<xsl:attribute name="font-size">65%</xsl:attribute>
|
1772
|
+
|
1773
|
+
|
1774
|
+
|
1775
|
+
|
1776
|
+
|
1777
|
+
|
1778
|
+
|
1779
|
+
<xsl:attribute name="font-size">8pt</xsl:attribute>
|
1780
|
+
<xsl:attribute name="baseline-shift">30%</xsl:attribute>
|
1781
|
+
|
1782
|
+
|
1783
|
+
|
1784
|
+
|
1785
|
+
|
1786
|
+
|
1787
|
+
|
1788
|
+
|
1789
|
+
|
1464
1790
|
|
1791
|
+
</xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-number-style">
|
1792
|
+
<xsl:attribute name="keep-with-next.within-line">always</xsl:attribute>
|
1465
1793
|
|
1466
1794
|
|
1467
1795
|
|
@@ -1469,24 +1797,28 @@
|
|
1469
1797
|
|
1470
1798
|
|
1471
1799
|
|
1800
|
+
<xsl:attribute name="alignment-baseline">hanging</xsl:attribute>
|
1801
|
+
<xsl:attribute name="padding-right">3mm</xsl:attribute>
|
1472
1802
|
|
1473
1803
|
|
1474
1804
|
|
1475
1805
|
|
1476
|
-
</xsl:attribute-set><xsl:attribute-set name="fn-body-num-style">
|
1477
|
-
<xsl:attribute name="keep-with-next.within-line">always</xsl:attribute>
|
1478
1806
|
|
1479
1807
|
|
1480
1808
|
|
1481
1809
|
|
1482
1810
|
|
1483
1811
|
|
1812
|
+
</xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-body-style">
|
1813
|
+
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
1814
|
+
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
1815
|
+
<xsl:attribute name="start-indent">0pt</xsl:attribute>
|
1816
|
+
|
1817
|
+
|
1484
1818
|
|
1485
|
-
<xsl:attribute name="font-size">60%</xsl:attribute>
|
1486
|
-
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
1487
|
-
<xsl:attribute name="padding-right">1mm</xsl:attribute>
|
1488
1819
|
|
1489
1820
|
|
1821
|
+
<xsl:attribute name="margin-bottom">4pt</xsl:attribute>
|
1490
1822
|
|
1491
1823
|
|
1492
1824
|
|
@@ -1494,32 +1826,15 @@
|
|
1494
1826
|
|
1495
1827
|
|
1496
1828
|
|
1829
|
+
</xsl:attribute-set><xsl:attribute-set name="references-non-normative-style">
|
1497
1830
|
|
1498
1831
|
|
1499
|
-
|
1500
|
-
|
1501
|
-
<xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name()='foreword']" mode="contents"/>
|
1502
|
-
<xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name()='introduction']" mode="contents"/>
|
1503
|
-
<xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name() != 'abstract' and local-name() != 'foreword' and local-name() != 'introduction' and local-name() != 'acknowledgements']" mode="contents"/>
|
1504
|
-
<xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name()='acknowledgements']" mode="contents"/>
|
1505
|
-
</xsl:template><xsl:template name="processPrefaceSectionsDefault_Contents">
|
1832
|
+
|
1833
|
+
</xsl:attribute-set><xsl:variable name="border-block-added">2.5pt solid rgb(0, 176, 80)</xsl:variable><xsl:variable name="border-block-deleted">2.5pt solid rgb(255, 0, 0)</xsl:variable><xsl:variable name="ace_tag">ace-tag_</xsl:variable><xsl:template name="processPrefaceSectionsDefault_Contents">
|
1506
1834
|
<xsl:for-each select="/*/*[local-name()='preface']/*">
|
1507
1835
|
<xsl:sort select="@displayorder" data-type="number"/>
|
1508
1836
|
<xsl:apply-templates select="." mode="contents"/>
|
1509
1837
|
</xsl:for-each>
|
1510
|
-
</xsl:template><xsl:template name="OLD_processMainSectionsDefault_Contents">
|
1511
|
-
<xsl:apply-templates select="/*/*[local-name()='sections']/*[local-name()='clause'][@type='scope']" mode="contents"/>
|
1512
|
-
|
1513
|
-
<!-- Normative references -->
|
1514
|
-
<xsl:apply-templates select="/*/*[local-name()='bibliography']/*[local-name()='references'][@normative='true'] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][@normative='true']]" mode="contents"/>
|
1515
|
-
<!-- Terms and definitions -->
|
1516
|
-
<xsl:apply-templates select="/*/*[local-name()='sections']/*[local-name()='terms'] | /*/*[local-name()='sections']/*[local-name()='clause'][.//*[local-name()='terms']] | /*/*[local-name()='sections']/*[local-name()='definitions'] | /*/*[local-name()='sections']/*[local-name()='clause'][.//*[local-name()='definitions']]" mode="contents"/>
|
1517
|
-
<!-- Another main sections -->
|
1518
|
-
<xsl:apply-templates select="/*/*[local-name()='sections']/*[local-name() != 'terms' and local-name() != 'definitions' and not(@type='scope') and not(local-name() = 'clause' and .//*[local-name()='terms']) and not(local-name() = 'clause' and .//*[local-name()='definitions'])]" mode="contents"/>
|
1519
|
-
<xsl:apply-templates select="/*/*[local-name()='annex']" mode="contents"/>
|
1520
|
-
<!-- Bibliography -->
|
1521
|
-
<xsl:apply-templates select="/*/*[local-name()='bibliography']/*[local-name()='references'][not(@normative='true')] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]]" mode="contents"/>
|
1522
|
-
|
1523
1838
|
</xsl:template><xsl:template name="processMainSectionsDefault_Contents">
|
1524
1839
|
|
1525
1840
|
<xsl:for-each select="/*/*[local-name()='sections']/* | /*/*[local-name()='bibliography']/*[local-name()='references'][@normative='true'] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][@normative='true']]">
|
@@ -1536,29 +1851,11 @@
|
|
1536
1851
|
<xsl:sort select="@displayorder" data-type="number"/>
|
1537
1852
|
<xsl:apply-templates select="." mode="contents"/>
|
1538
1853
|
</xsl:for-each>
|
1539
|
-
</xsl:template><xsl:template name="OLD_processPrefaceSectionsDefault">
|
1540
|
-
<xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name()='abstract']"/>
|
1541
|
-
<xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name()='foreword']"/>
|
1542
|
-
<xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name()='introduction']"/>
|
1543
|
-
<xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name() != 'abstract' and local-name() != 'foreword' and local-name() != 'introduction' and local-name() != 'acknowledgements']"/>
|
1544
|
-
<xsl:apply-templates select="/*/*[local-name()='preface']/*[local-name()='acknowledgements']"/>
|
1545
1854
|
</xsl:template><xsl:template name="processPrefaceSectionsDefault">
|
1546
1855
|
<xsl:for-each select="/*/*[local-name()='preface']/*">
|
1547
1856
|
<xsl:sort select="@displayorder" data-type="number"/>
|
1548
1857
|
<xsl:apply-templates select="."/>
|
1549
1858
|
</xsl:for-each>
|
1550
|
-
</xsl:template><xsl:template name="OLD_processMainSectionsDefault">
|
1551
|
-
<xsl:apply-templates select="/*/*[local-name()='sections']/*[local-name()='clause'][@type='scope']"/>
|
1552
|
-
|
1553
|
-
<!-- Normative references -->
|
1554
|
-
<xsl:apply-templates select="/*/*[local-name()='bibliography']/*[local-name()='references'][@normative='true']"/>
|
1555
|
-
<!-- Terms and definitions -->
|
1556
|
-
<xsl:apply-templates select="/*/*[local-name()='sections']/*[local-name()='terms'] | /*/*[local-name()='sections']/*[local-name()='clause'][.//*[local-name()='terms']] | /*/*[local-name()='sections']/*[local-name()='definitions'] | /*/*[local-name()='sections']/*[local-name()='clause'][.//*[local-name()='definitions']]"/>
|
1557
|
-
<!-- Another main sections -->
|
1558
|
-
<xsl:apply-templates select="/*/*[local-name()='sections']/*[local-name() != 'terms' and local-name() != 'definitions' and not(@type='scope') and not(local-name() = 'clause' and .//*[local-name()='terms']) and not(local-name() = 'clause' and .//*[local-name()='definitions'])]"/>
|
1559
|
-
<xsl:apply-templates select="/*/*[local-name()='annex']"/>
|
1560
|
-
<!-- Bibliography -->
|
1561
|
-
<xsl:apply-templates select="/*/*[local-name()='bibliography']/*[local-name()='references'][not(@normative='true')]"/>
|
1562
1859
|
</xsl:template><xsl:template name="processMainSectionsDefault">
|
1563
1860
|
<xsl:for-each select="/*/*[local-name()='sections']/* | /*/*[local-name()='bibliography']/*[local-name()='references'][@normative='true']">
|
1564
1861
|
<xsl:sort select="@displayorder" data-type="number"/>
|
@@ -1595,43 +1892,19 @@
|
|
1595
1892
|
<xsl:call-template name="getSimpleTable"/>
|
1596
1893
|
</xsl:variable>
|
1597
1894
|
|
1598
|
-
<!-- <xsl:if test="$namespace = 'bipm'">
|
1599
|
-
<fo:block> </fo:block>
|
1600
|
-
</xsl:if> -->
|
1601
|
-
|
1602
1895
|
|
1603
1896
|
<!-- Display table's name before table as standalone block -->
|
1604
1897
|
<!-- $namespace = 'iso' or -->
|
1605
1898
|
|
1606
|
-
|
1607
|
-
|
1608
|
-
|
1609
|
-
|
1610
|
-
|
1899
|
+
<xsl:apply-templates select="*[local-name()='name']"/> <!-- table's title rendered before table -->
|
1900
|
+
|
1611
1901
|
|
1612
|
-
<xsl:call-template name="fn_name_display"/>
|
1613
1902
|
|
1903
|
+
<xsl:call-template name="table_name_fn_display"/>
|
1614
1904
|
|
1615
1905
|
|
1616
1906
|
<xsl:variable name="cols-count" select="count(xalan:nodeset($simple-table)/*/tr[1]/td)"/>
|
1617
1907
|
|
1618
|
-
<!-- <xsl:variable name="cols-count">
|
1619
|
-
<xsl:choose>
|
1620
|
-
<xsl:when test="*[local-name()='thead']">
|
1621
|
-
<xsl:call-template name="calculate-columns-numbers">
|
1622
|
-
<xsl:with-param name="table-row" select="*[local-name()='thead']/*[local-name()='tr'][1]"/>
|
1623
|
-
</xsl:call-template>
|
1624
|
-
</xsl:when>
|
1625
|
-
<xsl:otherwise>
|
1626
|
-
<xsl:call-template name="calculate-columns-numbers">
|
1627
|
-
<xsl:with-param name="table-row" select="*[local-name()='tbody']/*[local-name()='tr'][1]"/>
|
1628
|
-
</xsl:call-template>
|
1629
|
-
</xsl:otherwise>
|
1630
|
-
</xsl:choose>
|
1631
|
-
</xsl:variable> -->
|
1632
|
-
<!-- cols-count=<xsl:copy-of select="$cols-count"/> -->
|
1633
|
-
<!-- cols-count2=<xsl:copy-of select="$cols-count2"/> -->
|
1634
|
-
|
1635
1908
|
<xsl:variable name="colwidths">
|
1636
1909
|
<xsl:if test="not(*[local-name()='colgroup']/*[local-name()='col'])">
|
1637
1910
|
<xsl:call-template name="calculate-column-widths">
|
@@ -1642,17 +1915,8 @@
|
|
1642
1915
|
</xsl:variable>
|
1643
1916
|
<!-- colwidths=<xsl:copy-of select="$colwidths"/> -->
|
1644
1917
|
|
1645
|
-
<!-- <xsl:variable name="colwidths2">
|
1646
|
-
<xsl:call-template name="calculate-column-widths">
|
1647
|
-
<xsl:with-param name="cols-count" select="$cols-count"/>
|
1648
|
-
</xsl:call-template>
|
1649
|
-
</xsl:variable> -->
|
1650
|
-
|
1651
|
-
<!-- cols-count=<xsl:copy-of select="$cols-count"/>
|
1652
|
-
colwidthsNew=<xsl:copy-of select="$colwidths"/>
|
1653
|
-
colwidthsOld=<xsl:copy-of select="$colwidths2"/>z -->
|
1654
1918
|
|
1655
|
-
<xsl:variable name="margin-
|
1919
|
+
<xsl:variable name="margin-side">
|
1656
1920
|
<xsl:choose>
|
1657
1921
|
<xsl:when test="sum(xalan:nodeset($colwidths)//column) > 75">15</xsl:when>
|
1658
1922
|
<xsl:otherwise>0</xsl:otherwise>
|
@@ -1660,70 +1924,61 @@
|
|
1660
1924
|
</xsl:variable>
|
1661
1925
|
|
1662
1926
|
|
1663
|
-
<fo:block-container
|
1664
|
-
|
1665
|
-
|
1666
|
-
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1927
|
+
<fo:block-container xsl:use-attribute-sets="table-container-style">
|
1928
|
+
|
1673
1929
|
|
1930
|
+
|
1674
1931
|
|
1932
|
+
|
1675
1933
|
|
1934
|
+
|
1676
1935
|
|
1677
1936
|
|
1678
|
-
<xsl:attribute name="space-after">18pt</xsl:attribute>
|
1679
|
-
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
1680
|
-
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
1681
1937
|
|
1938
|
+
|
1682
1939
|
|
1683
1940
|
|
1684
1941
|
|
1685
1942
|
|
1686
1943
|
|
1944
|
+
<!-- end table block-container attributes -->
|
1687
1945
|
|
1688
1946
|
<!-- display table's name before table for PAS inside block-container (2-columnn layout) -->
|
1689
1947
|
|
1690
1948
|
|
1949
|
+
<xsl:variable name="table_width_default">100%</xsl:variable>
|
1691
1950
|
<xsl:variable name="table_width">
|
1692
1951
|
<!-- for centered table always 100% (@width will be set for middle/second cell of outer table) -->
|
1693
|
-
|
1694
|
-
|
1695
|
-
|
1952
|
+
<xsl:value-of select="$table_width_default"/>
|
1696
1953
|
</xsl:variable>
|
1697
1954
|
|
1955
|
+
|
1698
1956
|
<xsl:variable name="table_attributes">
|
1699
|
-
|
1700
|
-
<
|
1701
|
-
|
1702
|
-
|
1703
|
-
|
1704
|
-
|
1705
|
-
|
1706
|
-
|
1707
|
-
|
1708
|
-
|
1709
|
-
|
1710
|
-
|
1711
|
-
|
1712
|
-
|
1713
|
-
|
1714
|
-
|
1715
|
-
|
1716
|
-
|
1717
|
-
|
1718
|
-
|
1719
|
-
|
1957
|
+
|
1958
|
+
<xsl:element name="table_attributes" use-attribute-sets="table-style">
|
1959
|
+
<xsl:attribute name="width"><xsl:value-of select="normalize-space($table_width)"/></xsl:attribute>
|
1960
|
+
|
1961
|
+
|
1962
|
+
|
1963
|
+
|
1964
|
+
|
1965
|
+
|
1966
|
+
|
1967
|
+
|
1968
|
+
|
1969
|
+
|
1970
|
+
|
1971
|
+
|
1972
|
+
|
1973
|
+
|
1974
|
+
</xsl:element>
|
1720
1975
|
</xsl:variable>
|
1721
1976
|
|
1722
1977
|
|
1723
|
-
<fo:table id="{@id}"
|
1978
|
+
<fo:table id="{@id}">
|
1724
1979
|
|
1725
|
-
<xsl:for-each select="xalan:nodeset($table_attributes)/
|
1726
|
-
<xsl:attribute name="{
|
1980
|
+
<xsl:for-each select="xalan:nodeset($table_attributes)/table_attributes/@*">
|
1981
|
+
<xsl:attribute name="{local-name()}">
|
1727
1982
|
<xsl:value-of select="."/>
|
1728
1983
|
</xsl:attribute>
|
1729
1984
|
</xsl:for-each>
|
@@ -1734,7 +1989,6 @@
|
|
1734
1989
|
</xsl:if>
|
1735
1990
|
|
1736
1991
|
|
1737
|
-
|
1738
1992
|
<xsl:choose>
|
1739
1993
|
<xsl:when test="*[local-name()='colgroup']/*[local-name()='col']">
|
1740
1994
|
<xsl:for-each select="*[local-name()='colgroup']/*[local-name()='col']">
|
@@ -1760,7 +2014,7 @@
|
|
1760
2014
|
<xsl:apply-templates select="*[local-name()='thead']" mode="process_tbody"/>
|
1761
2015
|
</xsl:when>
|
1762
2016
|
<xsl:otherwise>
|
1763
|
-
<xsl:apply-templates/>
|
2017
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
1764
2018
|
</xsl:otherwise>
|
1765
2019
|
</xsl:choose>
|
1766
2020
|
|
@@ -1775,25 +2029,6 @@
|
|
1775
2029
|
</xsl:call-template>
|
1776
2030
|
</xsl:for-each>
|
1777
2031
|
|
1778
|
-
<!-- insert footer as table -->
|
1779
|
-
<!-- <fo:table>
|
1780
|
-
<xsl:for-each select="xalan::nodeset($table_attributes)/attribute">
|
1781
|
-
<xsl:attribute name="{@name}">
|
1782
|
-
<xsl:value-of select="."/>
|
1783
|
-
</xsl:attribute>
|
1784
|
-
</xsl:for-each>
|
1785
|
-
|
1786
|
-
<xsl:for-each select="xalan:nodeset($colwidths)//column">
|
1787
|
-
<xsl:choose>
|
1788
|
-
<xsl:when test=". = 1 or . = 0">
|
1789
|
-
<fo:table-column column-width="proportional-column-width(2)"/>
|
1790
|
-
</xsl:when>
|
1791
|
-
<xsl:otherwise>
|
1792
|
-
<fo:table-column column-width="proportional-column-width({.})"/>
|
1793
|
-
</xsl:otherwise>
|
1794
|
-
</xsl:choose>
|
1795
|
-
</xsl:for-each>
|
1796
|
-
</fo:table>-->
|
1797
2032
|
|
1798
2033
|
|
1799
2034
|
|
@@ -1854,18 +2089,17 @@
|
|
1854
2089
|
</xsl:otherwise>
|
1855
2090
|
</xsl:choose>
|
1856
2091
|
|
1857
|
-
</xsl:template><xsl:template match="*[local-name()='table']/*[local-name() = 'name']"
|
2092
|
+
</xsl:template><xsl:template match="*[local-name()='table']/*[local-name() = 'name']">
|
1858
2093
|
<xsl:param name="continued"/>
|
1859
2094
|
<xsl:if test="normalize-space() != ''">
|
1860
2095
|
<fo:block xsl:use-attribute-sets="table-name-style">
|
1861
|
-
|
2096
|
+
|
1862
2097
|
|
1863
2098
|
|
1864
2099
|
|
1865
2100
|
|
1866
2101
|
<xsl:choose>
|
1867
2102
|
<xsl:when test="$continued = 'true'">
|
1868
|
-
<!-- <xsl:if test="$namespace = 'bsi'"></xsl:if> -->
|
1869
2103
|
|
1870
2104
|
</xsl:when>
|
1871
2105
|
<xsl:otherwise>
|
@@ -1928,13 +2162,6 @@
|
|
1928
2162
|
<xsl:for-each select="xalan:nodeset($table)/*/tr">
|
1929
2163
|
<xsl:variable name="td_text">
|
1930
2164
|
<xsl:apply-templates select="td[$curr-col]" mode="td_text"/>
|
1931
|
-
|
1932
|
-
<!-- <xsl:if test="$namespace = 'bipm'">
|
1933
|
-
<xsl:for-each select="*[local-name()='td'][$curr-col]//*[local-name()='math']">
|
1934
|
-
<word><xsl:value-of select="normalize-space(.)"/></word>
|
1935
|
-
</xsl:for-each>
|
1936
|
-
</xsl:if> -->
|
1937
|
-
|
1938
2165
|
</xsl:variable>
|
1939
2166
|
<xsl:variable name="words">
|
1940
2167
|
<xsl:variable name="string_with_added_zerospaces">
|
@@ -1971,7 +2198,6 @@
|
|
1971
2198
|
</xsl:otherwise>
|
1972
2199
|
</xsl:choose>
|
1973
2200
|
</xsl:variable>
|
1974
|
-
|
1975
2201
|
|
1976
2202
|
<column>
|
1977
2203
|
<xsl:for-each select="xalan:nodeset($widths)//width">
|
@@ -2007,7 +2233,6 @@
|
|
2007
2233
|
<xsl:value-of select="translate($math_text, ' ', '#')"/><!-- mathml images as one 'word' without spaces -->
|
2008
2234
|
</xsl:template><xsl:template match="*[local-name()='table2']"/><xsl:template match="*[local-name()='thead']"/><xsl:template match="*[local-name()='thead']" mode="process">
|
2009
2235
|
<xsl:param name="cols-count"/>
|
2010
|
-
<!-- font-weight="bold" -->
|
2011
2236
|
<fo:table-header>
|
2012
2237
|
|
2013
2238
|
|
@@ -2019,13 +2244,12 @@
|
|
2019
2244
|
<fo:table-row>
|
2020
2245
|
<fo:table-cell number-columns-spanned="{$cols-count}" border-left="1.5pt solid white" border-right="1.5pt solid white" border-top="1.5pt solid white" border-bottom="1.5pt solid black">
|
2021
2246
|
|
2022
|
-
<xsl:apply-templates select="ancestor::*[local-name()='table']/*[local-name()='name']"
|
2247
|
+
<xsl:apply-templates select="ancestor::*[local-name()='table']/*[local-name()='name']">
|
2023
2248
|
<xsl:with-param name="continued">true</xsl:with-param>
|
2024
2249
|
</xsl:apply-templates>
|
2025
2250
|
|
2026
2251
|
|
2027
2252
|
|
2028
|
-
|
2029
2253
|
</fo:table-cell>
|
2030
2254
|
</fo:table-row>
|
2031
2255
|
</xsl:template><xsl:template match="*[local-name()='thead']" mode="process_tbody">
|
@@ -2041,64 +2265,6 @@
|
|
2041
2265
|
<xsl:apply-templates select="../*[local-name()='tfoot']" mode="process"/>
|
2042
2266
|
</fo:table-footer>
|
2043
2267
|
</xsl:if>
|
2044
|
-
</xsl:template><xsl:template name="insertTableFooter2">
|
2045
|
-
<xsl:param name="cols-count"/>
|
2046
|
-
<xsl:variable name="isNoteOrFnExist" select="../*[local-name()='note'] or ..//*[local-name()='fn'][local-name(..) != 'name']"/>
|
2047
|
-
<xsl:if test="../*[local-name()='tfoot'] or $isNoteOrFnExist = 'true'">
|
2048
|
-
|
2049
|
-
<fo:table-footer>
|
2050
|
-
|
2051
|
-
<xsl:apply-templates select="../*[local-name()='tfoot']" mode="process"/>
|
2052
|
-
|
2053
|
-
<!-- if there are note(s) or fn(s) then create footer row -->
|
2054
|
-
<xsl:if test="$isNoteOrFnExist = 'true'">
|
2055
|
-
|
2056
|
-
|
2057
|
-
|
2058
|
-
<fo:table-row>
|
2059
|
-
<fo:table-cell border="solid black 1pt" padding-left="1mm" padding-right="1mm" padding-top="1mm" number-columns-spanned="{$cols-count}">
|
2060
|
-
|
2061
|
-
|
2062
|
-
|
2063
|
-
<!-- fn will be processed inside 'note' processing -->
|
2064
|
-
|
2065
|
-
|
2066
|
-
|
2067
|
-
|
2068
|
-
|
2069
|
-
|
2070
|
-
<!-- except gb -->
|
2071
|
-
|
2072
|
-
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
2073
|
-
|
2074
|
-
|
2075
|
-
<!-- show Note under table in preface (ex. abstract) sections -->
|
2076
|
-
<!-- empty, because notes show at page side in main sections -->
|
2077
|
-
<!-- <xsl:if test="$namespace = 'bipm'">
|
2078
|
-
<xsl:choose>
|
2079
|
-
<xsl:when test="ancestor::*[local-name()='preface']">
|
2080
|
-
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
2081
|
-
</xsl:when>
|
2082
|
-
<xsl:otherwise>
|
2083
|
-
<fo:block/>
|
2084
|
-
</xsl:otherwise>
|
2085
|
-
</xsl:choose>
|
2086
|
-
</xsl:if> -->
|
2087
|
-
|
2088
|
-
|
2089
|
-
<!-- horizontal row separator -->
|
2090
|
-
|
2091
|
-
|
2092
|
-
<!-- fn processing -->
|
2093
|
-
<xsl:call-template name="fn_display"/>
|
2094
|
-
|
2095
|
-
</fo:table-cell>
|
2096
|
-
</fo:table-row>
|
2097
|
-
|
2098
|
-
</xsl:if>
|
2099
|
-
</fo:table-footer>
|
2100
|
-
|
2101
|
-
</xsl:if>
|
2102
2268
|
</xsl:template><xsl:template name="insertTableFooterInSeparateTable">
|
2103
2269
|
<xsl:param name="table_attributes"/>
|
2104
2270
|
<xsl:param name="colwidths"/>
|
@@ -2124,17 +2290,18 @@
|
|
2124
2290
|
</xsl:variable>
|
2125
2291
|
|
2126
2292
|
<fo:table keep-with-previous="always">
|
2127
|
-
<xsl:for-each select="xalan:nodeset($table_attributes)/
|
2293
|
+
<xsl:for-each select="xalan:nodeset($table_attributes)/table_attributes/@*">
|
2294
|
+
<xsl:variable name="name" select="local-name()"/>
|
2128
2295
|
<xsl:choose>
|
2129
|
-
<xsl:when test="
|
2130
|
-
<xsl:attribute name="{
|
2296
|
+
<xsl:when test="$name = 'border-top'">
|
2297
|
+
<xsl:attribute name="{$name}">0pt solid black</xsl:attribute>
|
2131
2298
|
</xsl:when>
|
2132
|
-
<xsl:when test="
|
2133
|
-
<xsl:attribute name="{
|
2299
|
+
<xsl:when test="$name = 'border'">
|
2300
|
+
<xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
|
2134
2301
|
<xsl:attribute name="border-top">0pt solid black</xsl:attribute>
|
2135
2302
|
</xsl:when>
|
2136
2303
|
<xsl:otherwise>
|
2137
|
-
<xsl:attribute name="{
|
2304
|
+
<xsl:attribute name="{$name}"><xsl:value-of select="."/></xsl:attribute>
|
2138
2305
|
</xsl:otherwise>
|
2139
2306
|
</xsl:choose>
|
2140
2307
|
</xsl:for-each>
|
@@ -2163,9 +2330,10 @@
|
|
2163
2330
|
|
2164
2331
|
<fo:table-body>
|
2165
2332
|
<fo:table-row>
|
2166
|
-
<fo:table-cell
|
2333
|
+
<fo:table-cell xsl:use-attribute-sets="table-footer-cell-style" number-columns-spanned="{$cols-count}">
|
2167
2334
|
|
2168
2335
|
|
2336
|
+
|
2169
2337
|
|
2170
2338
|
|
2171
2339
|
<!-- fn will be processed inside 'note' processing -->
|
@@ -2175,37 +2343,20 @@
|
|
2175
2343
|
|
2176
2344
|
|
2177
2345
|
|
2178
|
-
|
2179
|
-
|
2180
|
-
|
2181
2346
|
<!-- for BSI (not PAS) display Notes before footnotes -->
|
2182
2347
|
|
2183
2348
|
|
2184
|
-
<!-- except gb -->
|
2185
|
-
|
2186
|
-
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
2349
|
+
<!-- except gb and bsi -->
|
2187
2350
|
|
2188
|
-
|
2189
|
-
|
2190
|
-
<xsl:choose>
|
2191
|
-
<xsl:when test="ancestor::*[local-name()='preface']">
|
2192
|
-
show Note under table in preface (ex. abstract) sections
|
2193
|
-
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
2194
|
-
</xsl:when>
|
2195
|
-
<xsl:otherwise>
|
2196
|
-
empty, because notes show at page side in main sections
|
2197
|
-
<fo:block/>
|
2198
|
-
</xsl:otherwise>
|
2199
|
-
</xsl:choose>
|
2200
|
-
</xsl:if> -->
|
2351
|
+
<xsl:apply-templates select="../*[local-name()='note']" mode="process"/>
|
2352
|
+
|
2201
2353
|
|
2202
2354
|
|
2203
2355
|
<!-- horizontal row separator -->
|
2204
2356
|
|
2205
2357
|
|
2206
2358
|
<!-- fn processing -->
|
2207
|
-
<xsl:call-template name="
|
2208
|
-
|
2359
|
+
<xsl:call-template name="table_fn_display"/>
|
2209
2360
|
|
2210
2361
|
<!-- for PAS display Notes after footnotes -->
|
2211
2362
|
|
@@ -2247,78 +2398,57 @@
|
|
2247
2398
|
|
2248
2399
|
|
2249
2400
|
<xsl:apply-templates/>
|
2250
|
-
|
2251
|
-
|
2401
|
+
|
2252
2402
|
</fo:table-body>
|
2253
2403
|
|
2254
|
-
</xsl:template><xsl:template match="*[local-name()='
|
2255
|
-
<xsl:
|
2256
|
-
|
2257
|
-
|
2258
|
-
|
2259
|
-
|
2260
|
-
|
2261
|
-
|
2262
|
-
|
2263
|
-
|
2264
|
-
|
2265
|
-
</xsl:template><xsl:template match="*[local-name()='table']/*[local-name()='name']/node()" mode="presentation_name">
|
2266
|
-
<xsl:apply-templates select="."/>
|
2267
|
-
</xsl:template><xsl:template match="*[local-name()='tr']">
|
2268
|
-
<xsl:variable name="parent-name" select="local-name(..)"/>
|
2269
|
-
<!-- <xsl:variable name="namespace" select="substring-before(name(/*), '-')"/> -->
|
2270
|
-
<fo:table-row min-height="4mm">
|
2271
|
-
<xsl:if test="$parent-name = 'thead'">
|
2272
|
-
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
2273
|
-
|
2274
|
-
|
2275
|
-
|
2276
|
-
|
2277
|
-
|
2278
|
-
|
2279
|
-
|
2280
|
-
|
2281
|
-
</xsl:if>
|
2282
|
-
<xsl:if test="$parent-name = 'tfoot'">
|
2283
|
-
|
2284
|
-
|
2285
|
-
|
2286
|
-
</xsl:if>
|
2287
|
-
|
2288
|
-
|
2289
|
-
|
2290
|
-
|
2291
|
-
|
2292
|
-
|
2293
|
-
|
2294
|
-
|
2295
|
-
|
2296
|
-
|
2297
|
-
<!-- <xsl:if test="$namespace = 'bipm'">
|
2298
|
-
<xsl:attribute name="height">8mm</xsl:attribute>
|
2299
|
-
</xsl:if> -->
|
2300
|
-
|
2404
|
+
</xsl:template><xsl:template match="*[local-name()='thead']/*[local-name()='tr']" priority="2">
|
2405
|
+
<fo:table-row xsl:use-attribute-sets="table-header-row-style">
|
2406
|
+
|
2407
|
+
|
2408
|
+
|
2409
|
+
|
2410
|
+
|
2411
|
+
|
2412
|
+
|
2413
|
+
<xsl:call-template name="setTableRowAttributes"/>
|
2414
|
+
|
2301
2415
|
<xsl:apply-templates/>
|
2302
2416
|
</fo:table-row>
|
2303
|
-
</xsl:template><xsl:template match="*[local-name()='
|
2304
|
-
<fo:table-
|
2305
|
-
<xsl:attribute name="text-align">
|
2306
|
-
<xsl:choose>
|
2307
|
-
<xsl:when test="@align">
|
2308
|
-
<xsl:call-template name="setAlignment"/>
|
2309
|
-
<!-- <xsl:value-of select="@align"/> -->
|
2310
|
-
</xsl:when>
|
2311
|
-
<xsl:otherwise>center</xsl:otherwise>
|
2312
|
-
</xsl:choose>
|
2313
|
-
</xsl:attribute>
|
2314
|
-
|
2417
|
+
</xsl:template><xsl:template match="*[local-name()='tfoot']/*[local-name()='tr']" priority="2">
|
2418
|
+
<fo:table-row xsl:use-attribute-sets="table-footer-row-style">
|
2315
2419
|
|
2420
|
+
<xsl:call-template name="setTableRowAttributes"/>
|
2421
|
+
<xsl:apply-templates/>
|
2422
|
+
</fo:table-row>
|
2423
|
+
</xsl:template><xsl:template match="*[local-name()='tr']">
|
2424
|
+
<fo:table-row xsl:use-attribute-sets="table-body-row-style">
|
2425
|
+
|
2316
2426
|
|
2427
|
+
|
2317
2428
|
|
2429
|
+
|
2430
|
+
<xsl:call-template name="setTableRowAttributes"/>
|
2431
|
+
<xsl:apply-templates/>
|
2432
|
+
</fo:table-row>
|
2433
|
+
</xsl:template><xsl:template name="setTableRowAttributes">
|
2434
|
+
|
2435
|
+
|
2436
|
+
|
2437
|
+
|
2438
|
+
|
2439
|
+
|
2440
|
+
|
2441
|
+
|
2442
|
+
</xsl:template><xsl:template match="*[local-name()='th']">
|
2443
|
+
<fo:table-cell xsl:use-attribute-sets="table-header-cell-style"> <!-- text-align="{@align}" -->
|
2444
|
+
<xsl:call-template name="setTextAlignment">
|
2445
|
+
<xsl:with-param name="default">center</xsl:with-param>
|
2446
|
+
</xsl:call-template>
|
2318
2447
|
|
2319
2448
|
|
2320
2449
|
|
2321
2450
|
|
2451
|
+
|
2322
2452
|
|
2323
2453
|
|
2324
2454
|
|
@@ -2327,21 +2457,25 @@
|
|
2327
2457
|
<xsl:if test="$lang = 'ar'">
|
2328
2458
|
<xsl:attribute name="padding-right">1mm</xsl:attribute>
|
2329
2459
|
</xsl:if>
|
2330
|
-
|
2331
|
-
|
2332
|
-
|
2333
|
-
</xsl:attribute>
|
2334
|
-
</xsl:if>
|
2335
|
-
<xsl:if test="@rowspan">
|
2336
|
-
<xsl:attribute name="number-rows-spanned">
|
2337
|
-
<xsl:value-of select="@rowspan"/>
|
2338
|
-
</xsl:attribute>
|
2339
|
-
</xsl:if>
|
2340
|
-
<xsl:call-template name="display-align"/>
|
2460
|
+
|
2461
|
+
<xsl:call-template name="setTableCellAttributes"/>
|
2462
|
+
|
2341
2463
|
<fo:block>
|
2342
2464
|
<xsl:apply-templates/>
|
2343
2465
|
</fo:block>
|
2344
2466
|
</fo:table-cell>
|
2467
|
+
</xsl:template><xsl:template name="setTableCellAttributes">
|
2468
|
+
<xsl:if test="@colspan">
|
2469
|
+
<xsl:attribute name="number-columns-spanned">
|
2470
|
+
<xsl:value-of select="@colspan"/>
|
2471
|
+
</xsl:attribute>
|
2472
|
+
</xsl:if>
|
2473
|
+
<xsl:if test="@rowspan">
|
2474
|
+
<xsl:attribute name="number-rows-spanned">
|
2475
|
+
<xsl:value-of select="@rowspan"/>
|
2476
|
+
</xsl:attribute>
|
2477
|
+
</xsl:if>
|
2478
|
+
<xsl:call-template name="display-align"/>
|
2345
2479
|
</xsl:template><xsl:template name="display-align">
|
2346
2480
|
<xsl:if test="@valign">
|
2347
2481
|
<xsl:attribute name="display-align">
|
@@ -2354,24 +2488,19 @@
|
|
2354
2488
|
</xsl:attribute>
|
2355
2489
|
</xsl:if>
|
2356
2490
|
</xsl:template><xsl:template match="*[local-name()='td']">
|
2357
|
-
<fo:table-cell text-align="{@align}"
|
2358
|
-
<xsl:
|
2359
|
-
<xsl:
|
2360
|
-
|
2361
|
-
|
2362
|
-
<!-- <xsl:value-of select="@align"/> -->
|
2363
|
-
</xsl:when>
|
2364
|
-
<xsl:otherwise>left</xsl:otherwise>
|
2365
|
-
</xsl:choose>
|
2366
|
-
</xsl:attribute>
|
2491
|
+
<fo:table-cell xsl:use-attribute-sets="table-cell-style"> <!-- text-align="{@align}" -->
|
2492
|
+
<xsl:call-template name="setTextAlignment">
|
2493
|
+
<xsl:with-param name="default">left</xsl:with-param>
|
2494
|
+
</xsl:call-template>
|
2495
|
+
|
2367
2496
|
<xsl:if test="$lang = 'ar'">
|
2368
2497
|
<xsl:attribute name="padding-right">1mm</xsl:attribute>
|
2369
2498
|
</xsl:if>
|
2370
|
-
<!-- and ancestor::*[local-name() = 'thead'] -->
|
2371
|
-
<xsl:attribute name="padding-top">0.5mm</xsl:attribute>
|
2372
2499
|
|
2373
2500
|
|
2374
2501
|
|
2502
|
+
<!-- bsi -->
|
2503
|
+
|
2375
2504
|
|
2376
2505
|
|
2377
2506
|
|
@@ -2379,61 +2508,51 @@
|
|
2379
2508
|
|
2380
2509
|
|
2381
2510
|
|
2511
|
+
|
2382
2512
|
|
2383
2513
|
|
2384
2514
|
|
2385
2515
|
|
2386
2516
|
|
2387
2517
|
|
2388
|
-
<xsl:if test=".//*[local-name() = 'table']">
|
2518
|
+
<xsl:if test=".//*[local-name() = 'table']"> <!-- if there is nested table -->
|
2389
2519
|
<xsl:attribute name="padding-right">1mm</xsl:attribute>
|
2390
2520
|
</xsl:if>
|
2391
|
-
|
2392
|
-
|
2393
|
-
|
2394
|
-
</xsl:attribute>
|
2395
|
-
</xsl:if>
|
2396
|
-
<xsl:if test="@rowspan">
|
2397
|
-
<xsl:attribute name="number-rows-spanned">
|
2398
|
-
<xsl:value-of select="@rowspan"/>
|
2399
|
-
</xsl:attribute>
|
2400
|
-
</xsl:if>
|
2401
|
-
<xsl:call-template name="display-align"/>
|
2521
|
+
|
2522
|
+
<xsl:call-template name="setTableCellAttributes"/>
|
2523
|
+
|
2402
2524
|
<fo:block>
|
2403
|
-
|
2525
|
+
|
2526
|
+
|
2527
|
+
|
2404
2528
|
<xsl:apply-templates/>
|
2405
2529
|
</fo:block>
|
2406
2530
|
</fo:table-cell>
|
2407
2531
|
</xsl:template><xsl:template match="*[local-name()='table']/*[local-name()='note']" priority="2"/><xsl:template match="*[local-name()='table']/*[local-name()='note']" mode="process">
|
2408
|
-
|
2409
|
-
|
2410
|
-
|
2411
|
-
|
2412
|
-
|
2532
|
+
|
2533
|
+
<fo:block xsl:use-attribute-sets="table-note-style">
|
2534
|
+
|
2535
|
+
|
2536
|
+
|
2537
|
+
|
2538
|
+
|
2539
|
+
<!-- Table's note name (NOTE, for example) -->
|
2540
|
+
<fo:inline xsl:use-attribute-sets="table-note-name-style">
|
2413
2541
|
|
2414
2542
|
|
2415
2543
|
|
2416
|
-
<xsl:attribute name="font-size">12pt</xsl:attribute>
|
2417
2544
|
|
2418
2545
|
|
2419
2546
|
|
2420
2547
|
|
2421
|
-
|
2422
|
-
|
2423
|
-
<fo:inline padding-right="2mm" xsl:use-attribute-sets="table-note-name-style">
|
2424
|
-
|
2425
|
-
|
2548
|
+
<xsl:apply-templates select="*[local-name() = 'name']"/>
|
2426
2549
|
|
2427
|
-
|
2428
|
-
|
2429
|
-
|
2430
|
-
|
2431
|
-
|
2432
|
-
|
2433
|
-
|
2434
|
-
|
2435
|
-
<xsl:apply-templates mode="process"/>
|
2436
|
-
</fo:block>
|
2550
|
+
</fo:inline>
|
2551
|
+
|
2552
|
+
|
2553
|
+
|
2554
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name')]" mode="process"/>
|
2555
|
+
</fo:block>
|
2437
2556
|
|
2438
2557
|
</xsl:template><xsl:template match="*[local-name()='table']/*[local-name()='note']/*[local-name()='name']" mode="process"/><xsl:template match="*[local-name()='table']/*[local-name()='note']/*[local-name()='p']" mode="process">
|
2439
2558
|
<xsl:apply-templates/>
|
@@ -2513,8 +2632,7 @@
|
|
2513
2632
|
<xsl:copy-of select="$footnote_inline"/>
|
2514
2633
|
<fo:footnote-body>
|
2515
2634
|
|
2516
|
-
<fo:block-container
|
2517
|
-
|
2635
|
+
<fo:block-container xsl:use-attribute-sets="fn-container-body-style">
|
2518
2636
|
|
2519
2637
|
<fo:block xsl:use-attribute-sets="fn-body-style">
|
2520
2638
|
|
@@ -2533,7 +2651,7 @@
|
|
2533
2651
|
<xsl:copy-of select="$footnote_inline"/>
|
2534
2652
|
</xsl:otherwise>
|
2535
2653
|
</xsl:choose>
|
2536
|
-
</xsl:template><xsl:template name="
|
2654
|
+
</xsl:template><xsl:template name="table_fn_display">
|
2537
2655
|
<xsl:variable name="references">
|
2538
2656
|
|
2539
2657
|
<xsl:for-each select="..//*[local-name()='fn'][local-name(..) != 'name']">
|
@@ -2544,33 +2662,26 @@
|
|
2544
2662
|
<xsl:for-each select="xalan:nodeset($references)//fn">
|
2545
2663
|
<xsl:variable name="reference" select="@reference"/>
|
2546
2664
|
<xsl:if test="not(preceding-sibling::*[@reference = $reference])"> <!-- only unique reference puts in note-->
|
2547
|
-
<fo:block
|
2665
|
+
<fo:block xsl:use-attribute-sets="table-fn-style">
|
2548
2666
|
|
2549
2667
|
|
2550
2668
|
|
2551
|
-
|
2552
|
-
|
2553
|
-
|
2554
|
-
|
2555
|
-
<fo:inline font-size="80%" padding-right="5mm" id="{@id}">
|
2669
|
+
<fo:inline id="{@id}" xsl:use-attribute-sets="table-fn-number-style">
|
2556
2670
|
|
2557
|
-
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
2558
2671
|
|
2559
2672
|
|
2560
2673
|
|
2561
2674
|
|
2675
|
+
<xsl:value-of select="@reference"/>
|
2562
2676
|
|
2563
2677
|
|
2564
2678
|
|
2565
2679
|
|
2566
|
-
<xsl:value-of select="@reference"/>
|
2567
2680
|
|
2568
2681
|
|
2569
2682
|
|
2570
2683
|
</fo:inline>
|
2571
|
-
<fo:inline>
|
2572
|
-
|
2573
|
-
<!-- <xsl:apply-templates /> -->
|
2684
|
+
<fo:inline xsl:use-attribute-sets="table-fn-body-style">
|
2574
2685
|
<xsl:copy-of select="./node()"/>
|
2575
2686
|
</fo:inline>
|
2576
2687
|
</fo:block>
|
@@ -2582,15 +2693,7 @@
|
|
2582
2693
|
|
2583
2694
|
<xsl:apply-templates/>
|
2584
2695
|
</fn>
|
2585
|
-
</xsl:template><xsl:template name="
|
2586
|
-
<!-- <xsl:variable name="references">
|
2587
|
-
<xsl:for-each select="*[local-name()='name']//*[local-name()='fn']">
|
2588
|
-
<fn reference="{@reference}" id="{@reference}_{ancestor::*[@id][1]/@id}">
|
2589
|
-
<xsl:apply-templates />
|
2590
|
-
</fn>
|
2591
|
-
</xsl:for-each>
|
2592
|
-
</xsl:variable>
|
2593
|
-
$references=<xsl:copy-of select="$references"/> -->
|
2696
|
+
</xsl:template><xsl:template name="table_name_fn_display">
|
2594
2697
|
<xsl:for-each select="*[local-name()='name']//*[local-name()='fn']">
|
2595
2698
|
<xsl:variable name="reference" select="@reference"/>
|
2596
2699
|
<fo:block id="{@reference}_{ancestor::*[@id][1]/@id}"><xsl:value-of select="@reference"/></fo:block>
|
@@ -2599,9 +2702,7 @@
|
|
2599
2702
|
</fo:block>
|
2600
2703
|
</xsl:for-each>
|
2601
2704
|
</xsl:template><xsl:template name="fn_display_figure">
|
2602
|
-
|
2603
|
-
<!-- and (not(@class) or @class !='pseudocode') -->
|
2604
|
-
</xsl:variable>
|
2705
|
+
|
2605
2706
|
<xsl:variable name="references">
|
2606
2707
|
<xsl:for-each select=".//*[local-name()='fn'][not(parent::*[local-name()='name'])]">
|
2607
2708
|
<fn reference="{@reference}" id="{@reference}_{ancestor::*[@id][1]/@id}">
|
@@ -2609,50 +2710,52 @@
|
|
2609
2710
|
</fn>
|
2610
2711
|
</xsl:for-each>
|
2611
2712
|
</xsl:variable>
|
2713
|
+
|
2714
|
+
<xsl:if test="xalan:nodeset($references)//fn">
|
2612
2715
|
|
2613
|
-
|
2614
|
-
|
2615
|
-
|
2616
|
-
|
2617
|
-
|
2716
|
+
<xsl:variable name="key_iso">
|
2717
|
+
|
2718
|
+
</xsl:variable>
|
2719
|
+
|
2720
|
+
<!-- current hierarchy is 'figure' element -->
|
2721
|
+
<xsl:variable name="following_dl_colwidths">
|
2722
|
+
<xsl:if test="*[local-name() = 'dl']"><!-- if there is a 'dl', then set the same columns width as for 'dl' -->
|
2723
|
+
<xsl:variable name="html-table">
|
2724
|
+
<xsl:variable name="doc_ns">
|
2725
|
+
|
2726
|
+
</xsl:variable>
|
2727
|
+
<xsl:variable name="ns">
|
2728
|
+
<xsl:choose>
|
2729
|
+
<xsl:when test="normalize-space($doc_ns) != ''">
|
2730
|
+
<xsl:value-of select="normalize-space($doc_ns)"/>
|
2731
|
+
</xsl:when>
|
2732
|
+
<xsl:otherwise>
|
2733
|
+
<xsl:value-of select="substring-before(name(/*), '-')"/>
|
2734
|
+
</xsl:otherwise>
|
2735
|
+
</xsl:choose>
|
2736
|
+
</xsl:variable>
|
2618
2737
|
|
2619
|
-
</xsl:variable>
|
2620
|
-
<xsl:variable name="ns">
|
2621
|
-
<xsl:choose>
|
2622
|
-
<xsl:when test="normalize-space($doc_ns) != ''">
|
2623
|
-
<xsl:value-of select="normalize-space($doc_ns)"/>
|
2624
|
-
</xsl:when>
|
2625
|
-
<xsl:otherwise>
|
2626
|
-
<xsl:value-of select="substring-before(name(/*), '-')"/>
|
2627
|
-
</xsl:otherwise>
|
2628
|
-
</xsl:choose>
|
2629
|
-
</xsl:variable>
|
2630
|
-
<!-- <xsl:variable name="ns" select="substring-before(name(/*), '-')"/> -->
|
2631
|
-
<!-- <xsl:element name="{$ns}:table"> -->
|
2632
2738
|
<xsl:for-each select="*[local-name() = 'dl'][1]">
|
2633
2739
|
<tbody>
|
2634
2740
|
<xsl:apply-templates mode="dl"/>
|
2635
2741
|
</tbody>
|
2636
2742
|
</xsl:for-each>
|
2637
|
-
|
2638
|
-
|
2639
|
-
|
2640
|
-
|
2641
|
-
|
2642
|
-
|
2643
|
-
|
2644
|
-
|
2645
|
-
</xsl:
|
2646
|
-
|
2647
|
-
|
2648
|
-
|
2649
|
-
|
2650
|
-
|
2651
|
-
|
2652
|
-
|
2653
|
-
</xsl:variable>
|
2654
|
-
|
2655
|
-
<xsl:if test="xalan:nodeset($references)//fn">
|
2743
|
+
</xsl:variable>
|
2744
|
+
|
2745
|
+
<xsl:call-template name="calculate-column-widths">
|
2746
|
+
<xsl:with-param name="cols-count" select="2"/>
|
2747
|
+
<xsl:with-param name="table" select="$html-table"/>
|
2748
|
+
</xsl:call-template>
|
2749
|
+
|
2750
|
+
</xsl:if>
|
2751
|
+
</xsl:variable>
|
2752
|
+
|
2753
|
+
<xsl:variable name="maxlength_dt">
|
2754
|
+
<xsl:for-each select="*[local-name() = 'dl'][1]">
|
2755
|
+
<xsl:call-template name="getMaxLength_dt"/>
|
2756
|
+
</xsl:for-each>
|
2757
|
+
</xsl:variable>
|
2758
|
+
|
2656
2759
|
<fo:block>
|
2657
2760
|
<fo:table width="95%" table-layout="fixed">
|
2658
2761
|
<xsl:if test="normalize-space($key_iso) = 'true'">
|
@@ -2679,20 +2782,18 @@
|
|
2679
2782
|
<fo:table-row>
|
2680
2783
|
<fo:table-cell>
|
2681
2784
|
<fo:block>
|
2682
|
-
<fo:inline
|
2683
|
-
|
2785
|
+
<fo:inline id="{@id}" xsl:use-attribute-sets="figure-fn-number-style">
|
2684
2786
|
<xsl:value-of select="@reference"/>
|
2685
2787
|
</fo:inline>
|
2686
2788
|
</fo:block>
|
2687
2789
|
</fo:table-cell>
|
2688
2790
|
<fo:table-cell>
|
2689
|
-
<fo:block
|
2690
|
-
|
2791
|
+
<fo:block xsl:use-attribute-sets="figure-fn-body-style">
|
2691
2792
|
<xsl:if test="normalize-space($key_iso) = 'true'">
|
2692
|
-
|
2793
|
+
|
2794
|
+
<xsl:attribute name="margin-bottom">0</xsl:attribute>
|
2795
|
+
|
2693
2796
|
</xsl:if>
|
2694
|
-
|
2695
|
-
<!-- <xsl:apply-templates /> -->
|
2696
2797
|
<xsl:copy-of select="./node()"/>
|
2697
2798
|
</fo:block>
|
2698
2799
|
</fo:table-cell>
|
@@ -2705,14 +2806,8 @@
|
|
2705
2806
|
</xsl:if>
|
2706
2807
|
|
2707
2808
|
</xsl:template><xsl:template match="*[local-name()='fn']">
|
2708
|
-
|
2709
|
-
|
2710
|
-
|
2711
|
-
|
2712
|
-
|
2713
|
-
|
2714
|
-
|
2715
|
-
|
2809
|
+
<fo:inline xsl:use-attribute-sets="fn-reference-style">
|
2810
|
+
|
2716
2811
|
|
2717
2812
|
|
2718
2813
|
|
@@ -2736,10 +2831,10 @@
|
|
2736
2831
|
<xsl:variable name="isDeleted" select="@deleted"/>
|
2737
2832
|
<fo:block-container>
|
2738
2833
|
|
2739
|
-
|
2740
|
-
|
2741
|
-
|
2742
|
-
|
2834
|
+
<xsl:if test="not(ancestor::*[local-name() = 'quote'])">
|
2835
|
+
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
2836
|
+
</xsl:if>
|
2837
|
+
|
2743
2838
|
|
2744
2839
|
<xsl:if test="parent::*[local-name() = 'note']">
|
2745
2840
|
<xsl:attribute name="margin-left">
|
@@ -2756,11 +2851,11 @@
|
|
2756
2851
|
<xsl:with-param name="isDeleted" select="$isDeleted"/>
|
2757
2852
|
</xsl:call-template>
|
2758
2853
|
|
2759
|
-
<fo:block-container>
|
2760
|
-
|
2761
|
-
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
2762
|
-
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
2854
|
+
<fo:block-container margin-left="0mm">
|
2855
|
+
|
2763
2856
|
|
2857
|
+
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
2858
|
+
|
2764
2859
|
|
2765
2860
|
<xsl:variable name="parent" select="local-name(..)"/>
|
2766
2861
|
|
@@ -2771,20 +2866,19 @@
|
|
2771
2866
|
<xsl:choose>
|
2772
2867
|
<xsl:when test="$parent = 'formula' and count(*[local-name()='dt']) = 1"> <!-- only one component -->
|
2773
2868
|
|
2774
|
-
|
2775
|
-
|
2776
|
-
|
2777
|
-
|
2778
|
-
|
2779
|
-
|
2780
|
-
</xsl:
|
2781
|
-
|
2782
|
-
|
2783
|
-
|
2784
|
-
|
2785
|
-
|
2786
|
-
|
2787
|
-
|
2869
|
+
<fo:block margin-bottom="12pt" text-align="left">
|
2870
|
+
|
2871
|
+
<xsl:variable name="title-where">
|
2872
|
+
<xsl:call-template name="getLocalizedString">
|
2873
|
+
<xsl:with-param name="key">where</xsl:with-param>
|
2874
|
+
</xsl:call-template>
|
2875
|
+
</xsl:variable>
|
2876
|
+
<xsl:value-of select="$title-where"/><xsl:text> </xsl:text>
|
2877
|
+
<xsl:apply-templates select="*[local-name()='dt']/*"/>
|
2878
|
+
<xsl:text/>
|
2879
|
+
<xsl:apply-templates select="*[local-name()='dd']/*" mode="inline"/>
|
2880
|
+
</fo:block>
|
2881
|
+
|
2788
2882
|
</xsl:when>
|
2789
2883
|
<xsl:when test="$parent = 'formula'"> <!-- a few components -->
|
2790
2884
|
<fo:block margin-bottom="12pt" text-align="left">
|
@@ -2835,9 +2929,7 @@
|
|
2835
2929
|
<fo:table width="95%" table-layout="fixed">
|
2836
2930
|
|
2837
2931
|
<xsl:choose>
|
2838
|
-
<xsl:when test="normalize-space($key_iso) = 'true' and $parent = 'formula'"
|
2839
|
-
<!-- <xsl:attribute name="font-size">11pt</xsl:attribute> -->
|
2840
|
-
</xsl:when>
|
2932
|
+
<xsl:when test="normalize-space($key_iso) = 'true' and $parent = 'formula'"/>
|
2841
2933
|
<xsl:when test="normalize-space($key_iso) = 'true'">
|
2842
2934
|
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
2843
2935
|
|
@@ -2858,12 +2950,9 @@
|
|
2858
2950
|
</xsl:otherwise>
|
2859
2951
|
</xsl:choose>
|
2860
2952
|
</xsl:variable>
|
2861
|
-
|
2862
|
-
|
2863
|
-
|
2864
|
-
<xsl:apply-templates mode="dl"/>
|
2865
|
-
</tbody>
|
2866
|
-
<!-- </xsl:element> -->
|
2953
|
+
<tbody>
|
2954
|
+
<xsl:apply-templates mode="dl"/>
|
2955
|
+
</tbody>
|
2867
2956
|
</xsl:variable>
|
2868
2957
|
<!-- html-table<xsl:copy-of select="$html-table"/> -->
|
2869
2958
|
<xsl:variable name="colwidths">
|
@@ -2943,8 +3032,6 @@
|
|
2943
3032
|
</xsl:for-each>
|
2944
3033
|
</xsl:otherwise>
|
2945
3034
|
</xsl:choose>
|
2946
|
-
<!-- <fo:table-column column-width="15%"/>
|
2947
|
-
<fo:table-column column-width="85%"/> -->
|
2948
3035
|
</xsl:otherwise>
|
2949
3036
|
</xsl:choose>
|
2950
3037
|
</xsl:template><xsl:template name="getMaxLength_dt">
|
@@ -2959,12 +3046,6 @@
|
|
2959
3046
|
</xsl:for-each>
|
2960
3047
|
</xsl:variable>
|
2961
3048
|
<xsl:variable name="maxLength">
|
2962
|
-
<!-- <xsl:for-each select="*[local-name()='dt']">
|
2963
|
-
<xsl:sort select="string-length(normalize-space(.))" data-type="number" order="descending"/>
|
2964
|
-
<xsl:if test="position() = 1">
|
2965
|
-
<xsl:value-of select="string-length(normalize-space(.))"/>
|
2966
|
-
</xsl:if>
|
2967
|
-
</xsl:for-each> -->
|
2968
3049
|
<xsl:for-each select="xalan:nodeset($lengths)/length">
|
2969
3050
|
<xsl:sort select="." data-type="number" order="descending"/>
|
2970
3051
|
<xsl:if test="position() = 1">
|
@@ -2990,12 +3071,12 @@
|
|
2990
3071
|
<xsl:if test="normalize-space($key_iso) = 'true'">
|
2991
3072
|
<xsl:attribute name="margin-top">0</xsl:attribute>
|
2992
3073
|
</xsl:if>
|
2993
|
-
<xsl:apply-templates select="*[local-name() = 'name']"
|
3074
|
+
<xsl:apply-templates select="*[local-name() = 'name']"/>
|
2994
3075
|
</fo:block>
|
2995
3076
|
</fo:table-cell>
|
2996
3077
|
<fo:table-cell>
|
2997
3078
|
<fo:block>
|
2998
|
-
<xsl:apply-templates/>
|
3079
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
2999
3080
|
</fo:block>
|
3000
3081
|
</fo:table-cell>
|
3001
3082
|
</fo:table-row>
|
@@ -3006,79 +3087,37 @@
|
|
3006
3087
|
</td>
|
3007
3088
|
<td>
|
3008
3089
|
|
3009
|
-
|
3010
|
-
|
3011
|
-
|
3090
|
+
<xsl:apply-templates select="following-sibling::*[local-name()='dd'][1]" mode="process"/>
|
3091
|
+
|
3012
3092
|
</td>
|
3013
3093
|
</tr>
|
3014
3094
|
|
3015
3095
|
</xsl:template><xsl:template match="*[local-name()='dt']">
|
3016
3096
|
<xsl:param name="key_iso"/>
|
3017
3097
|
|
3018
|
-
<fo:table-row>
|
3019
|
-
|
3020
|
-
|
3098
|
+
<fo:table-row xsl:use-attribute-sets="dt-row-style">
|
3021
3099
|
<fo:table-cell>
|
3022
3100
|
|
3023
|
-
<fo:block
|
3101
|
+
<fo:block xsl:use-attribute-sets="dt-style">
|
3024
3102
|
<xsl:copy-of select="@id"/>
|
3025
3103
|
|
3026
|
-
|
3027
3104
|
<xsl:if test="normalize-space($key_iso) = 'true'">
|
3028
3105
|
<xsl:attribute name="margin-top">0</xsl:attribute>
|
3029
|
-
|
3030
3106
|
</xsl:if>
|
3031
3107
|
|
3032
3108
|
|
3033
3109
|
|
3034
|
-
<xsl:attribute name="margin-top">0pt</xsl:attribute>
|
3035
|
-
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
3036
|
-
|
3037
|
-
|
3038
|
-
|
3039
|
-
|
3040
|
-
|
3041
3110
|
<xsl:apply-templates/>
|
3042
|
-
<!-- <xsl:if test="$namespace = 'gb'">
|
3043
|
-
<xsl:if test="ancestor::*[local-name()='formula']">
|
3044
|
-
<xsl:text>—</xsl:text>
|
3045
|
-
</xsl:if>
|
3046
|
-
</xsl:if> -->
|
3047
3111
|
</fo:block>
|
3048
3112
|
</fo:table-cell>
|
3049
3113
|
<fo:table-cell>
|
3050
3114
|
<fo:block>
|
3051
3115
|
|
3052
|
-
|
3053
|
-
|
3054
|
-
<xsl:apply-templates select="following-sibling::*[local-name()='dd'][1]" mode="process"/>
|
3055
|
-
</xsl:if>
|
3056
|
-
</xsl:if> -->
|
3057
|
-
|
3058
|
-
<xsl:apply-templates select="following-sibling::*[local-name()='dd'][1]" mode="process"/>
|
3059
|
-
|
3116
|
+
|
3117
|
+
<xsl:apply-templates select="following-sibling::*[local-name()='dd'][1]" mode="process"/>
|
3060
3118
|
</fo:block>
|
3061
3119
|
</fo:table-cell>
|
3062
3120
|
</fo:table-row>
|
3063
|
-
<!-- <xsl:if test="$namespace = 'nist-cswp' or $namespace = 'nist-sp'">
|
3064
|
-
<xsl:if test="local-name(*[1]) = 'stem'">
|
3065
|
-
<fo:table-row>
|
3066
|
-
<fo:table-cell>
|
3067
|
-
<fo:block margin-top="6pt">
|
3068
|
-
<xsl:if test="normalize-space($key_iso) = 'true'">
|
3069
|
-
<xsl:attribute name="margin-top">0</xsl:attribute>
|
3070
|
-
</xsl:if>
|
3071
|
-
<xsl:text> </xsl:text>
|
3072
|
-
</fo:block>
|
3073
|
-
</fo:table-cell>
|
3074
|
-
<fo:table-cell>
|
3075
|
-
<fo:block>
|
3076
|
-
<xsl:apply-templates select="following-sibling::*[local-name()='dd'][1]" mode="process"/>
|
3077
|
-
</fo:block>
|
3078
|
-
</fo:table-cell>
|
3079
|
-
</fo:table-row>
|
3080
|
-
</xsl:if>
|
3081
|
-
</xsl:if> -->
|
3082
3121
|
</xsl:template><xsl:template match="*[local-name()='dd']" mode="dl"/><xsl:template match="*[local-name()='dd']" mode="dl_process">
|
3083
3122
|
<xsl:apply-templates/>
|
3084
3123
|
</xsl:template><xsl:template match="*[local-name()='dd']"/><xsl:template match="*[local-name()='dd']" mode="process">
|
@@ -3107,6 +3146,7 @@
|
|
3107
3146
|
</fo:inline>
|
3108
3147
|
</xsl:template><xsl:template match="*[local-name()='tt']">
|
3109
3148
|
<fo:inline xsl:use-attribute-sets="tt-style">
|
3149
|
+
|
3110
3150
|
<xsl:variable name="_font-size">
|
3111
3151
|
|
3112
3152
|
|
@@ -3143,15 +3183,21 @@
|
|
3143
3183
|
<xsl:apply-templates/>
|
3144
3184
|
</fo:inline>
|
3145
3185
|
</xsl:template><xsl:template match="*[local-name()='add']">
|
3186
|
+
<xsl:param name="skip">true</xsl:param>
|
3146
3187
|
<xsl:choose>
|
3147
3188
|
<xsl:when test="starts-with(., $ace_tag)"> <!-- examples: ace-tag_A1_start, ace-tag_A2_end, C1_start, AC_start -->
|
3148
|
-
<
|
3149
|
-
<xsl:
|
3150
|
-
|
3151
|
-
<
|
3152
|
-
|
3153
|
-
|
3154
|
-
|
3189
|
+
<xsl:choose>
|
3190
|
+
<xsl:when test="$skip = 'true' and ((local-name(../..) = 'note' and not(preceding-sibling::node())) or (local-name(..) = 'title' and preceding-sibling::node()[1][local-name() = 'tab'])) and ../node()[last()][local-name() = 'add'][starts-with(text(), $ace_tag)]"><!-- start tag displayed in template name="note" and title --></xsl:when>
|
3191
|
+
<xsl:otherwise>
|
3192
|
+
<fo:inline>
|
3193
|
+
<xsl:call-template name="insertTag">
|
3194
|
+
<xsl:with-param name="type" select="substring-after(substring-after(., $ace_tag), '_')"/> <!-- start or end -->
|
3195
|
+
<xsl:with-param name="kind" select="substring(substring-before(substring-after(., $ace_tag), '_'), 1, 1)"/> <!-- A or C -->
|
3196
|
+
<xsl:with-param name="value" select="substring(substring-before(substring-after(., $ace_tag), '_'), 2)"/> <!-- 1, 2, C -->
|
3197
|
+
</xsl:call-template>
|
3198
|
+
</fo:inline>
|
3199
|
+
</xsl:otherwise>
|
3200
|
+
</xsl:choose>
|
3155
3201
|
</xsl:when>
|
3156
3202
|
<xsl:when test="@amendment">
|
3157
3203
|
<fo:inline>
|
@@ -3194,8 +3240,6 @@
|
|
3194
3240
|
<xsl:variable name="add_width" select="string-length($value) * 20"/>
|
3195
3241
|
<xsl:variable name="maxwidth" select="60 + $add_width"/>
|
3196
3242
|
<fo:instream-foreign-object fox:alt-text="OpeningTag" baseline-shift="-20%"><!-- alignment-baseline="middle" -->
|
3197
|
-
<!-- <xsl:attribute name="width">7mm</xsl:attribute>
|
3198
|
-
<xsl:attribute name="content-height">100%</xsl:attribute> -->
|
3199
3243
|
<xsl:attribute name="height">5mm</xsl:attribute>
|
3200
3244
|
<xsl:attribute name="content-width">100%</xsl:attribute>
|
3201
3245
|
<xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
|
@@ -3413,14 +3457,6 @@
|
|
3413
3457
|
|
3414
3458
|
<xsl:copy-of select="xalan:nodeset($simple-table-rowspan)"/>
|
3415
3459
|
|
3416
|
-
<!-- <xsl:choose>
|
3417
|
-
<xsl:when test="current()//*[local-name()='th'][@colspan] or current()//*[local-name()='td'][@colspan] ">
|
3418
|
-
|
3419
|
-
</xsl:when>
|
3420
|
-
<xsl:otherwise>
|
3421
|
-
<xsl:copy-of select="current()"/>
|
3422
|
-
</xsl:otherwise>
|
3423
|
-
</xsl:choose> -->
|
3424
3460
|
</xsl:variable>
|
3425
3461
|
<xsl:copy-of select="$simple-table"/>
|
3426
3462
|
</xsl:template><xsl:template match="*[local-name()='thead'] | *[local-name()='tbody']" mode="simple-table-colspan">
|
@@ -3539,8 +3575,6 @@
|
|
3539
3575
|
<xsl:choose>
|
3540
3576
|
<xsl:when test="contains($str2, ' ')">
|
3541
3577
|
<xsl:variable name="substr" select="substring-before($str2, ' ')"/>
|
3542
|
-
<!-- <xsl:value-of select="translate(substring($substr, 1, 1), $lower, $upper)"/>
|
3543
|
-
<xsl:value-of select="substring($substr, 2)"/> -->
|
3544
3578
|
<xsl:call-template name="capitalize">
|
3545
3579
|
<xsl:with-param name="str" select="$substr"/>
|
3546
3580
|
</xsl:call-template>
|
@@ -3550,8 +3584,6 @@
|
|
3550
3584
|
</xsl:call-template>
|
3551
3585
|
</xsl:when>
|
3552
3586
|
<xsl:otherwise>
|
3553
|
-
<!-- <xsl:value-of select="translate(substring($str2, 1, 1), $lower, $upper)"/>
|
3554
|
-
<xsl:value-of select="substring($str2, 2)"/> -->
|
3555
3587
|
<xsl:call-template name="capitalize">
|
3556
3588
|
<xsl:with-param name="str" select="$str2"/>
|
3557
3589
|
</xsl:call-template>
|
@@ -3579,6 +3611,7 @@
|
|
3579
3611
|
<xsl:apply-templates select="." mode="mathml"/>
|
3580
3612
|
</xsl:variable>
|
3581
3613
|
<fo:instream-foreign-object fox:alt-text="Math">
|
3614
|
+
|
3582
3615
|
|
3583
3616
|
|
3584
3617
|
<xsl:variable name="comment_text_following" select="following-sibling::node()[1][self::comment()]"/>
|
@@ -3610,7 +3643,7 @@
|
|
3610
3643
|
</xsl:attribute>
|
3611
3644
|
|
3612
3645
|
|
3613
|
-
|
3646
|
+
|
3614
3647
|
<xsl:copy-of select="xalan:nodeset($mathml)"/>
|
3615
3648
|
</fo:instream-foreign-object>
|
3616
3649
|
</fo:inline>
|
@@ -3669,6 +3702,10 @@
|
|
3669
3702
|
|
3670
3703
|
|
3671
3704
|
|
3705
|
+
|
3706
|
+
|
3707
|
+
|
3708
|
+
|
3672
3709
|
<xsl:choose>
|
3673
3710
|
<xsl:when test="$target_text = ''">
|
3674
3711
|
<xsl:apply-templates/>
|
@@ -3726,7 +3763,6 @@
|
|
3726
3763
|
</fo:inline>
|
3727
3764
|
</xsl:template><xsl:template match="*[local-name() = 'xref']">
|
3728
3765
|
<fo:basic-link internal-destination="{@target}" fox:alt-text="{@target}" xsl:use-attribute-sets="xref-style">
|
3729
|
-
|
3730
3766
|
<xsl:apply-templates/>
|
3731
3767
|
</fo:basic-link>
|
3732
3768
|
</xsl:template><xsl:template match="*[local-name() = 'formula']" name="formula">
|
@@ -3754,22 +3790,26 @@
|
|
3754
3790
|
<fo:inline>
|
3755
3791
|
<xsl:apply-templates/>
|
3756
3792
|
</fo:inline>
|
3757
|
-
</xsl:template><xsl:template match="*[local-name() = 'formula']/*[local-name() = 'name']"/><xsl:template match="*[local-name() = 'formula']/*[local-name() = 'name']" mode="
|
3793
|
+
</xsl:template><xsl:template match="*[local-name() = 'formula']/*[local-name() = 'name']"/><xsl:template match="*[local-name() = 'formula']/*[local-name() = 'name']" mode="formula_number"> <!-- show by demand -->
|
3758
3794
|
<xsl:if test="normalize-space() != ''">
|
3759
3795
|
<xsl:text>(</xsl:text><xsl:apply-templates/><xsl:text>)</xsl:text>
|
3760
3796
|
</xsl:if>
|
3761
3797
|
</xsl:template><xsl:template match="*[local-name() = 'note']" name="note">
|
3762
3798
|
|
3763
3799
|
<fo:block-container id="{@id}" xsl:use-attribute-sets="note-style">
|
3800
|
+
|
3801
|
+
|
3802
|
+
|
3764
3803
|
|
3765
3804
|
|
3766
3805
|
|
3767
3806
|
|
3768
3807
|
|
3808
|
+
|
3809
|
+
|
3810
|
+
|
3769
3811
|
<fo:block-container margin-left="0mm">
|
3770
|
-
|
3771
|
-
|
3772
|
-
|
3812
|
+
|
3773
3813
|
|
3774
3814
|
|
3775
3815
|
|
@@ -3777,30 +3817,41 @@
|
|
3777
3817
|
<xsl:attribute name="font-size">12pt</xsl:attribute>
|
3778
3818
|
</xsl:if>
|
3779
3819
|
|
3780
|
-
|
3820
|
+
|
3781
3821
|
|
3782
|
-
|
3783
|
-
|
3784
|
-
|
3785
|
-
|
3786
|
-
|
3787
|
-
|
3822
|
+
<fo:block>
|
3823
|
+
|
3824
|
+
|
3788
3825
|
|
3789
|
-
<fo:inline xsl:use-attribute-sets="note-name-style">
|
3790
3826
|
|
3791
|
-
|
3792
|
-
|
3793
|
-
|
3794
|
-
|
3795
|
-
|
3796
|
-
|
3827
|
+
|
3828
|
+
|
3829
|
+
|
3830
|
+
<fo:inline xsl:use-attribute-sets="note-name-style">
|
3831
|
+
|
3832
|
+
|
3833
|
+
|
3834
|
+
<!-- if note contains only one element and first and last childs are `add` ace-tag, then move start ace-tag before NOTE's name-->
|
3835
|
+
<xsl:if test="count(*[not(local-name() = 'name')]) = 1 and *[not(local-name() = 'name')]/node()[last()][local-name() = 'add'][starts-with(text(), $ace_tag)]">
|
3836
|
+
<xsl:apply-templates select="*[not(local-name() = 'name')]/node()[1][local-name() = 'add'][starts-with(text(), $ace_tag)]">
|
3837
|
+
<xsl:with-param name="skip">false</xsl:with-param>
|
3838
|
+
</xsl:apply-templates>
|
3839
|
+
</xsl:if>
|
3840
|
+
|
3841
|
+
<xsl:apply-templates select="*[local-name() = 'name']"/>
|
3842
|
+
|
3843
|
+
</fo:inline>
|
3844
|
+
|
3845
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
3846
|
+
</fo:block>
|
3847
|
+
|
3797
3848
|
</fo:block-container>
|
3798
3849
|
</fo:block-container>
|
3799
3850
|
|
3800
3851
|
</xsl:template><xsl:template match="*[local-name() = 'note']/*[local-name() = 'p']">
|
3801
3852
|
<xsl:variable name="num"><xsl:number/></xsl:variable>
|
3802
3853
|
<xsl:choose>
|
3803
|
-
<xsl:when test="$num = 1">
|
3854
|
+
<xsl:when test="$num = 1"> <!-- display first NOTE's paragraph in the same line with label NOTE -->
|
3804
3855
|
<fo:inline xsl:use-attribute-sets="note-p-style">
|
3805
3856
|
<xsl:apply-templates/>
|
3806
3857
|
</fo:inline>
|
@@ -3815,12 +3866,16 @@
|
|
3815
3866
|
<fo:block id="{@id}" xsl:use-attribute-sets="termnote-style">
|
3816
3867
|
|
3817
3868
|
<fo:inline xsl:use-attribute-sets="termnote-name-style">
|
3869
|
+
|
3870
|
+
|
3871
|
+
|
3872
|
+
<xsl:apply-templates select="*[local-name() = 'name']"/>
|
3818
3873
|
|
3819
|
-
<xsl:apply-templates select="*[local-name() = 'name']" mode="presentation"/>
|
3820
3874
|
</fo:inline>
|
3821
|
-
|
3875
|
+
|
3876
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
3822
3877
|
</fo:block>
|
3823
|
-
</xsl:template><xsl:template match="*[local-name() = 'note']/*[local-name() = 'name']
|
3878
|
+
</xsl:template><xsl:template match="*[local-name() = 'note']/*[local-name() = 'name']">
|
3824
3879
|
<xsl:param name="sfx"/>
|
3825
3880
|
<xsl:variable name="suffix">
|
3826
3881
|
<xsl:choose>
|
@@ -3837,7 +3892,7 @@
|
|
3837
3892
|
<xsl:apply-templates/>
|
3838
3893
|
<xsl:value-of select="$suffix"/>
|
3839
3894
|
</xsl:if>
|
3840
|
-
</xsl:template><xsl:template match="*[local-name() = 'termnote']/*[local-name() = 'name']"
|
3895
|
+
</xsl:template><xsl:template match="*[local-name() = 'termnote']/*[local-name() = 'name']">
|
3841
3896
|
<xsl:param name="sfx"/>
|
3842
3897
|
<xsl:variable name="suffix">
|
3843
3898
|
<xsl:choose>
|
@@ -3862,25 +3917,23 @@
|
|
3862
3917
|
<xsl:apply-templates/>
|
3863
3918
|
</fo:block>
|
3864
3919
|
</xsl:template><xsl:template match="*[local-name() = 'term']">
|
3865
|
-
<!-- <xsl:message>'term' <xsl:number/> processing, name=<xsl:value-of select="iso:name"/>, preferred=<xsl:value-of select="iso:preferred"/>...</xsl:message> -->
|
3866
3920
|
<fo:block id="{@id}" xsl:use-attribute-sets="term-style">
|
3867
3921
|
|
3868
3922
|
|
3923
|
+
|
3924
|
+
|
3869
3925
|
<xsl:if test="parent::*[local-name() = 'term'] and not(preceding-sibling::*[local-name() = 'term'])">
|
3870
3926
|
|
3871
3927
|
</xsl:if>
|
3872
|
-
<xsl:apply-templates/>
|
3928
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
3873
3929
|
</fo:block>
|
3874
|
-
</xsl:template><xsl:template match="*[local-name() = 'term']/*[local-name() = 'name']"
|
3930
|
+
</xsl:template><xsl:template match="*[local-name() = 'term']/*[local-name() = 'name']">
|
3875
3931
|
<xsl:if test="normalize-space() != ''">
|
3876
3932
|
<xsl:variable name="level">
|
3877
3933
|
<xsl:call-template name="getLevelTermName"/>
|
3878
3934
|
</xsl:variable>
|
3879
3935
|
<fo:inline role="H{$level}">
|
3880
3936
|
<xsl:apply-templates/>
|
3881
|
-
<!-- <xsl:if test="$namespace = 'gb' or $namespace = 'ogc'">
|
3882
|
-
<xsl:text>.</xsl:text>
|
3883
|
-
</xsl:if> -->
|
3884
3937
|
</fo:inline>
|
3885
3938
|
</xsl:if>
|
3886
3939
|
</xsl:template><xsl:template match="*[local-name() = 'figure']" name="figure">
|
@@ -3893,9 +3946,10 @@
|
|
3893
3946
|
<xsl:with-param name="isDeleted" select="$isDeleted"/>
|
3894
3947
|
</xsl:call-template>
|
3895
3948
|
|
3896
|
-
|
3897
|
-
|
3898
|
-
|
3949
|
+
|
3950
|
+
|
3951
|
+
<fo:block xsl:use-attribute-sets="figure-style">
|
3952
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
3899
3953
|
</fo:block>
|
3900
3954
|
<xsl:call-template name="fn_display_figure"/>
|
3901
3955
|
<xsl:for-each select="*[local-name() = 'note']">
|
@@ -3903,14 +3957,15 @@
|
|
3903
3957
|
</xsl:for-each>
|
3904
3958
|
|
3905
3959
|
|
3906
|
-
|
3960
|
+
<xsl:apply-templates select="*[local-name() = 'name']"/> <!-- show figure's name AFTER image -->
|
3961
|
+
|
3907
3962
|
|
3908
3963
|
</fo:block-container>
|
3909
3964
|
</xsl:template><xsl:template match="*[local-name() = 'figure'][@class = 'pseudocode']">
|
3910
3965
|
<fo:block id="{@id}">
|
3911
|
-
<xsl:apply-templates/>
|
3966
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
3912
3967
|
</fo:block>
|
3913
|
-
<xsl:apply-templates select="*[local-name() = 'name']"
|
3968
|
+
<xsl:apply-templates select="*[local-name() = 'name']"/>
|
3914
3969
|
</xsl:template><xsl:template match="*[local-name() = 'figure'][@class = 'pseudocode']//*[local-name() = 'p']">
|
3915
3970
|
<fo:block xsl:use-attribute-sets="figure-pseudocode-p-style">
|
3916
3971
|
<xsl:apply-templates/>
|
@@ -4017,9 +4072,7 @@
|
|
4017
4072
|
<xsl:variable name="bis" select="java:java.io.ByteArrayInputStream.new($fileContent)"/>
|
4018
4073
|
<xsl:variable name="bufferedImage" select="java:javax.imageio.ImageIO.read($bis)"/>
|
4019
4074
|
<xsl:variable name="width" select="java:getWidth($bufferedImage)"/>
|
4020
|
-
<!-- width=<xsl:value-of select="$width"/> -->
|
4021
4075
|
<xsl:variable name="height" select="java:getHeight($bufferedImage)"/>
|
4022
|
-
<!-- height=<xsl:value-of select="$height"/> -->
|
4023
4076
|
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="enable-background:new 0 0 595.28 841.89;" height="{$height}" width="{$width}" viewBox="0 0 {$width} {$height}" y="0px" x="0px" id="Layer_1" version="1.1">
|
4024
4077
|
<image xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="{@src}" height="{$height}" width="{$width}" style="overflow:visible;"/>
|
4025
4078
|
<xsl:call-template name="svg_cross">
|
@@ -4289,7 +4342,7 @@
|
|
4289
4342
|
</fo:basic-link>
|
4290
4343
|
</fo:block>
|
4291
4344
|
</fo:block-container>
|
4292
|
-
</xsl:template><xsl:template match="*[local-name() = 'emf']"/><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name']
|
4345
|
+
</xsl:template><xsl:template match="*[local-name() = 'emf']"/><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name'] | *[local-name() = 'table']/*[local-name() = 'name'] | *[local-name() = 'permission']/*[local-name() = 'name'] | *[local-name() = 'recommendation']/*[local-name() = 'name'] | *[local-name() = 'requirement']/*[local-name() = 'name']" mode="contents">
|
4293
4346
|
<xsl:apply-templates mode="contents"/>
|
4294
4347
|
<xsl:text> </xsl:text>
|
4295
4348
|
</xsl:template><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name'] | *[local-name() = 'table']/*[local-name() = 'name'] | *[local-name() = 'permission']/*[local-name() = 'name'] | *[local-name() = 'recommendation']/*[local-name() = 'name'] | *[local-name() = 'requirement']/*[local-name() = 'name'] | *[local-name() = 'sourcecode']/*[local-name() = 'name']" mode="bookmarks">
|
@@ -4442,8 +4495,6 @@
|
|
4442
4495
|
|
4443
4496
|
|
4444
4497
|
|
4445
|
-
|
4446
|
-
|
4447
4498
|
</fo:bookmark-tree>
|
4448
4499
|
</xsl:if>
|
4449
4500
|
</xsl:template><xsl:template name="insertFigureBookmarks">
|
@@ -4514,7 +4565,7 @@
|
|
4514
4565
|
<xsl:apply-templates mode="bookmark"/>
|
4515
4566
|
</xsl:otherwise>
|
4516
4567
|
</xsl:choose>
|
4517
|
-
</xsl:template><xsl:template match="title" mode="bookmark"/><xsl:template match="text()" mode="bookmark"/><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name'] | *[local-name() = 'image']/*[local-name() = 'name']"
|
4568
|
+
</xsl:template><xsl:template match="title" mode="bookmark"/><xsl:template match="text()" mode="bookmark"/><xsl:template match="*[local-name() = 'figure']/*[local-name() = 'name'] | *[local-name() = 'image']/*[local-name() = 'name']">
|
4518
4569
|
<xsl:if test="normalize-space() != ''">
|
4519
4570
|
<fo:block xsl:use-attribute-sets="figure-name-style">
|
4520
4571
|
|
@@ -4530,12 +4581,6 @@
|
|
4530
4581
|
<!-- <xsl:text> </xsl:text> -->
|
4531
4582
|
</xsl:template><xsl:template name="getSection">
|
4532
4583
|
<xsl:value-of select="*[local-name() = 'title']/*[local-name() = 'tab'][1]/preceding-sibling::node()"/>
|
4533
|
-
<!--
|
4534
|
-
<xsl:for-each select="*[local-name() = 'title']/*[local-name() = 'tab'][1]/preceding-sibling::node()">
|
4535
|
-
<xsl:value-of select="."/>
|
4536
|
-
</xsl:for-each>
|
4537
|
-
-->
|
4538
|
-
|
4539
4584
|
</xsl:template><xsl:template name="getName">
|
4540
4585
|
<xsl:choose>
|
4541
4586
|
<xsl:when test="*[local-name() = 'title']/*[local-name() = 'tab']">
|
@@ -4604,16 +4649,21 @@
|
|
4604
4649
|
<xsl:apply-templates mode="contents_item">
|
4605
4650
|
<xsl:with-param name="mode" select="$mode"/>
|
4606
4651
|
</xsl:apply-templates>
|
4607
|
-
</xsl:template><xsl:template match="*[local-name() = 'add']
|
4652
|
+
</xsl:template><xsl:template match="*[local-name() = 'add']" mode="contents_item">
|
4608
4653
|
<xsl:param name="mode">bookmarks</xsl:param>
|
4609
|
-
<xsl:
|
4610
|
-
<xsl:
|
4611
|
-
<xsl:
|
4612
|
-
|
4613
|
-
|
4654
|
+
<xsl:choose>
|
4655
|
+
<xsl:when test="starts-with(text(), $ace_tag)">
|
4656
|
+
<xsl:if test="$mode = 'contents'">
|
4657
|
+
<xsl:copy>
|
4658
|
+
<xsl:apply-templates mode="contents_item"/>
|
4659
|
+
</xsl:copy>
|
4660
|
+
</xsl:if>
|
4661
|
+
</xsl:when>
|
4662
|
+
<xsl:otherwise><xsl:apply-templates mode="contents_item"/></xsl:otherwise>
|
4663
|
+
</xsl:choose>
|
4614
4664
|
</xsl:template><xsl:template match="*[local-name()='sourcecode']" name="sourcecode">
|
4615
4665
|
|
4616
|
-
<fo:block-container
|
4666
|
+
<fo:block-container xsl:use-attribute-sets="sourcecode-container-style">
|
4617
4667
|
<xsl:copy-of select="@id"/>
|
4618
4668
|
|
4619
4669
|
<xsl:if test="parent::*[local-name() = 'note']">
|
@@ -4650,6 +4700,7 @@
|
|
4650
4700
|
|
4651
4701
|
|
4652
4702
|
</xsl:variable>
|
4703
|
+
|
4653
4704
|
<xsl:variable name="font-size" select="normalize-space($_font-size)"/>
|
4654
4705
|
<xsl:if test="$font-size != ''">
|
4655
4706
|
<xsl:attribute name="font-size">
|
@@ -4666,11 +4717,11 @@
|
|
4666
4717
|
|
4667
4718
|
|
4668
4719
|
|
4669
|
-
<xsl:apply-templates/>
|
4720
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
4670
4721
|
</fo:block>
|
4671
4722
|
|
4672
4723
|
|
4673
|
-
|
4724
|
+
<xsl:apply-templates select="*[local-name()='name']"/> <!-- show sourcecode's name AFTER content -->
|
4674
4725
|
|
4675
4726
|
|
4676
4727
|
|
@@ -4684,7 +4735,7 @@
|
|
4684
4735
|
<xsl:call-template name="add-zero-spaces-java">
|
4685
4736
|
<xsl:with-param name="text" select="$text"/>
|
4686
4737
|
</xsl:call-template>
|
4687
|
-
</xsl:template><xsl:template match="*[local-name() = 'sourcecode']/*[local-name() = 'name']"
|
4738
|
+
</xsl:template><xsl:template match="*[local-name() = 'sourcecode']/*[local-name() = 'name']">
|
4688
4739
|
<xsl:if test="normalize-space() != ''">
|
4689
4740
|
<fo:block xsl:use-attribute-sets="sourcecode-name-style">
|
4690
4741
|
<xsl:apply-templates/>
|
@@ -4692,10 +4743,10 @@
|
|
4692
4743
|
</xsl:if>
|
4693
4744
|
</xsl:template><xsl:template match="*[local-name() = 'permission']">
|
4694
4745
|
<fo:block id="{@id}" xsl:use-attribute-sets="permission-style">
|
4695
|
-
<xsl:apply-templates select="*[local-name()='name']"
|
4696
|
-
<xsl:apply-templates/>
|
4746
|
+
<xsl:apply-templates select="*[local-name()='name']"/>
|
4747
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
4697
4748
|
</fo:block>
|
4698
|
-
</xsl:template><xsl:template match="*[local-name() = 'permission']/*[local-name() = 'name']"
|
4749
|
+
</xsl:template><xsl:template match="*[local-name() = 'permission']/*[local-name() = 'name']">
|
4699
4750
|
<xsl:if test="normalize-space() != ''">
|
4700
4751
|
<fo:block xsl:use-attribute-sets="permission-name-style">
|
4701
4752
|
<xsl:apply-templates/>
|
@@ -4708,13 +4759,13 @@
|
|
4708
4759
|
</fo:block>
|
4709
4760
|
</xsl:template><xsl:template match="*[local-name() = 'requirement']">
|
4710
4761
|
<fo:block id="{@id}" xsl:use-attribute-sets="requirement-style">
|
4711
|
-
<xsl:apply-templates select="*[local-name()='name']"
|
4712
|
-
<xsl:apply-templates select="*[local-name()='label']"
|
4713
|
-
<xsl:apply-templates select="@obligation"
|
4714
|
-
<xsl:apply-templates select="*[local-name()='subject']"
|
4715
|
-
<xsl:apply-templates/>
|
4762
|
+
<xsl:apply-templates select="*[local-name()='name']"/>
|
4763
|
+
<xsl:apply-templates select="*[local-name()='label']"/>
|
4764
|
+
<xsl:apply-templates select="@obligation"/>
|
4765
|
+
<xsl:apply-templates select="*[local-name()='subject']"/>
|
4766
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name') and not(local-name() = 'label') and not(local-name() = 'subject')]"/>
|
4716
4767
|
</fo:block>
|
4717
|
-
</xsl:template><xsl:template match="*[local-name() = 'requirement']/*[local-name() = 'name']"
|
4768
|
+
</xsl:template><xsl:template match="*[local-name() = 'requirement']/*[local-name() = 'name']">
|
4718
4769
|
<xsl:if test="normalize-space() != ''">
|
4719
4770
|
<fo:block xsl:use-attribute-sets="requirement-name-style">
|
4720
4771
|
|
@@ -4722,20 +4773,24 @@
|
|
4722
4773
|
|
4723
4774
|
</fo:block>
|
4724
4775
|
</xsl:if>
|
4725
|
-
</xsl:template><xsl:template match="*[local-name() = 'requirement']/*[local-name() = 'label']"
|
4776
|
+
</xsl:template><xsl:template match="*[local-name() = 'requirement']/*[local-name() = 'label']">
|
4726
4777
|
<fo:block xsl:use-attribute-sets="requirement-label-style">
|
4727
4778
|
<xsl:apply-templates/>
|
4728
4779
|
</fo:block>
|
4729
|
-
</xsl:template><xsl:template match="*[local-name() = 'requirement']/@obligation"
|
4780
|
+
</xsl:template><xsl:template match="*[local-name() = 'requirement']/@obligation">
|
4730
4781
|
<fo:block>
|
4731
4782
|
<fo:inline padding-right="3mm">Obligation</fo:inline><xsl:value-of select="."/>
|
4732
4783
|
</fo:block>
|
4784
|
+
</xsl:template><xsl:template match="*[local-name() = 'requirement']/*[local-name() = 'subject']" priority="2">
|
4785
|
+
<fo:block xsl:use-attribute-sets="subject-style">
|
4786
|
+
<xsl:text>Target Type </xsl:text><xsl:apply-templates/>
|
4787
|
+
</fo:block>
|
4733
4788
|
</xsl:template><xsl:template match="*[local-name() = 'recommendation']">
|
4734
4789
|
<fo:block id="{@id}" xsl:use-attribute-sets="recommendation-style">
|
4735
|
-
<xsl:apply-templates select="*[local-name()='name']"
|
4736
|
-
<xsl:apply-templates/>
|
4790
|
+
<xsl:apply-templates select="*[local-name()='name']"/>
|
4791
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
4737
4792
|
</fo:block>
|
4738
|
-
</xsl:template><xsl:template match="*[local-name() = 'recommendation']/*[local-name() = 'name']"
|
4793
|
+
</xsl:template><xsl:template match="*[local-name() = 'recommendation']/*[local-name() = 'name']">
|
4739
4794
|
<xsl:if test="normalize-space() != ''">
|
4740
4795
|
<fo:block xsl:use-attribute-sets="recommendation-name-style">
|
4741
4796
|
<xsl:apply-templates/>
|
@@ -4746,10 +4801,6 @@
|
|
4746
4801
|
<fo:block xsl:use-attribute-sets="recommendation-label-style">
|
4747
4802
|
<xsl:apply-templates/>
|
4748
4803
|
</fo:block>
|
4749
|
-
</xsl:template><xsl:template match="*[local-name() = 'requirement']/*[local-name() = 'subject']" priority="2"/><xsl:template match="*[local-name() = 'requirement']/*[local-name() = 'subject']" mode="presentation">
|
4750
|
-
<fo:block xsl:use-attribute-sets="subject-style">
|
4751
|
-
<xsl:text>Target Type </xsl:text><xsl:apply-templates/>
|
4752
|
-
</fo:block>
|
4753
4804
|
</xsl:template><xsl:template match="*[local-name() = 'subject']">
|
4754
4805
|
<fo:block xsl:use-attribute-sets="subject-style">
|
4755
4806
|
<xsl:text>Target Type </xsl:text><xsl:apply-templates/>
|
@@ -4793,8 +4844,6 @@
|
|
4793
4844
|
</xsl:variable>
|
4794
4845
|
<xsl:variable name="cols-count" select="count(xalan:nodeset($simple-table)//tr[1]/td)"/>
|
4795
4846
|
<xsl:if test="$cols-count = 2 and not(ancestor::*[local-name()='table'])">
|
4796
|
-
<!-- <fo:table-column column-width="35mm"/>
|
4797
|
-
<fo:table-column column-width="115mm"/> -->
|
4798
4847
|
<fo:table-column column-width="30%"/>
|
4799
4848
|
<fo:table-column column-width="70%"/>
|
4800
4849
|
</xsl:if>
|
@@ -4804,7 +4853,7 @@
|
|
4804
4853
|
<xsl:if test=".//*[local-name() = 'fn']">
|
4805
4854
|
<xsl:for-each select="*[local-name() = 'tbody']">
|
4806
4855
|
<fo:block font-size="90%" border-bottom="1pt solid black">
|
4807
|
-
<xsl:call-template name="
|
4856
|
+
<xsl:call-template name="table_fn_display"/>
|
4808
4857
|
</fo:block>
|
4809
4858
|
</xsl:for-each>
|
4810
4859
|
</xsl:if>
|
@@ -4821,7 +4870,6 @@
|
|
4821
4870
|
</xsl:template><xsl:template match="*[local-name()='tr']" mode="requirement">
|
4822
4871
|
<fo:table-row height="7mm" border-bottom="0.5pt solid grey">
|
4823
4872
|
<xsl:if test="parent::*[local-name()='thead']"> <!-- and not(ancestor::*[local-name() = 'table'][@class = 'recommendation' or @class='requirement' or @class='permission']) -->
|
4824
|
-
<!-- <xsl:attribute name="border">1pt solid black</xsl:attribute> -->
|
4825
4873
|
<xsl:attribute name="background-color">rgb(33, 55, 92)</xsl:attribute>
|
4826
4874
|
</xsl:if>
|
4827
4875
|
<xsl:if test="starts-with(*[local-name()='td'][1], 'Requirement ')">
|
@@ -4833,35 +4881,12 @@
|
|
4833
4881
|
<xsl:apply-templates mode="requirement"/>
|
4834
4882
|
</fo:table-row>
|
4835
4883
|
</xsl:template><xsl:template match="*[local-name()='th']" mode="requirement">
|
4836
|
-
<fo:table-cell text-align="{@align}" display-align="center" padding="1mm" padding-left="2mm"> <!-- border="0.5pt solid black" -->
|
4837
|
-
<xsl:
|
4838
|
-
<xsl:
|
4839
|
-
|
4840
|
-
<xsl:value-of select="@align"/>
|
4841
|
-
</xsl:when>
|
4842
|
-
<xsl:otherwise>left</xsl:otherwise>
|
4843
|
-
</xsl:choose>
|
4844
|
-
</xsl:attribute>
|
4845
|
-
<xsl:if test="@colspan">
|
4846
|
-
<xsl:attribute name="number-columns-spanned">
|
4847
|
-
<xsl:value-of select="@colspan"/>
|
4848
|
-
</xsl:attribute>
|
4849
|
-
</xsl:if>
|
4850
|
-
<xsl:if test="@rowspan">
|
4851
|
-
<xsl:attribute name="number-rows-spanned">
|
4852
|
-
<xsl:value-of select="@rowspan"/>
|
4853
|
-
</xsl:attribute>
|
4854
|
-
</xsl:if>
|
4855
|
-
<xsl:call-template name="display-align"/>
|
4884
|
+
<fo:table-cell text-align="{@align}" display-align="center" padding="1mm" padding-left="2mm"> <!-- border="0.5pt solid black" -->
|
4885
|
+
<xsl:call-template name="setTextAlignment">
|
4886
|
+
<xsl:with-param name="default">left</xsl:with-param>
|
4887
|
+
</xsl:call-template>
|
4856
4888
|
|
4857
|
-
|
4858
|
-
<xsl:attribute name="padding-top">0.5mm</xsl:attribute>
|
4859
|
-
<xsl:attribute name="background-color">rgb(165, 165, 165)</xsl:attribute>
|
4860
|
-
</xsl:if>
|
4861
|
-
<xsl:if test="ancestor::*[local-name()='table']/@type = 'recommendtest'">
|
4862
|
-
<xsl:attribute name="padding-top">0.5mm</xsl:attribute>
|
4863
|
-
<xsl:attribute name="background-color">rgb(201, 201, 201)</xsl:attribute>
|
4864
|
-
</xsl:if> -->
|
4889
|
+
<xsl:call-template name="setTableCellAttributes"/>
|
4865
4890
|
|
4866
4891
|
<fo:block>
|
4867
4892
|
<xsl:apply-templates/>
|
@@ -4873,37 +4898,15 @@
|
|
4873
4898
|
<xsl:attribute name="padding">0mm</xsl:attribute>
|
4874
4899
|
<xsl:attribute name="padding-left">0mm</xsl:attribute>
|
4875
4900
|
</xsl:if>
|
4876
|
-
<xsl:
|
4877
|
-
<xsl:
|
4878
|
-
|
4879
|
-
|
4880
|
-
</xsl:when>
|
4881
|
-
<xsl:otherwise>left</xsl:otherwise>
|
4882
|
-
</xsl:choose>
|
4883
|
-
</xsl:attribute>
|
4901
|
+
<xsl:call-template name="setTextAlignment">
|
4902
|
+
<xsl:with-param name="default">left</xsl:with-param>
|
4903
|
+
</xsl:call-template>
|
4904
|
+
|
4884
4905
|
<xsl:if test="following-sibling::*[local-name()='td'] and not(preceding-sibling::*[local-name()='td'])">
|
4885
4906
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
4886
4907
|
</xsl:if>
|
4887
|
-
<xsl:if test="@colspan">
|
4888
|
-
<xsl:attribute name="number-columns-spanned">
|
4889
|
-
<xsl:value-of select="@colspan"/>
|
4890
|
-
</xsl:attribute>
|
4891
|
-
</xsl:if>
|
4892
|
-
<xsl:if test="@rowspan">
|
4893
|
-
<xsl:attribute name="number-rows-spanned">
|
4894
|
-
<xsl:value-of select="@rowspan"/>
|
4895
|
-
</xsl:attribute>
|
4896
|
-
</xsl:if>
|
4897
|
-
<xsl:call-template name="display-align"/>
|
4898
4908
|
|
4899
|
-
|
4900
|
-
<xsl:attribute name="padding-left">0.5mm</xsl:attribute>
|
4901
|
-
<xsl:attribute name="padding-top">0.5mm</xsl:attribute>
|
4902
|
-
<xsl:if test="parent::*[local-name()='tr']/preceding-sibling::*[local-name()='tr'] and not(*[local-name()='table'])">
|
4903
|
-
<xsl:attribute name="background-color">rgb(201, 201, 201)</xsl:attribute>
|
4904
|
-
</xsl:if>
|
4905
|
-
</xsl:if> -->
|
4906
|
-
<!-- 2nd line and below -->
|
4909
|
+
<xsl:call-template name="setTableCellAttributes"/>
|
4907
4910
|
|
4908
4911
|
<fo:block>
|
4909
4912
|
<xsl:apply-templates/>
|
@@ -4915,15 +4918,15 @@
|
|
4915
4918
|
<xsl:apply-templates/>
|
4916
4919
|
</fo:block>
|
4917
4920
|
</xsl:template><xsl:template match="*[local-name() = 'p2'][ancestor::*[local-name() = 'table'][@class = 'recommendation' or @class='requirement' or @class='permission']]">
|
4918
|
-
<fo:block>
|
4921
|
+
<fo:block>
|
4919
4922
|
<xsl:apply-templates/>
|
4920
4923
|
</fo:block>
|
4921
4924
|
</xsl:template><xsl:template match="*[local-name() = 'termexample']">
|
4922
4925
|
<fo:block id="{@id}" xsl:use-attribute-sets="termexample-style">
|
4923
|
-
<xsl:apply-templates select="*[local-name()='name']"
|
4924
|
-
<xsl:apply-templates/>
|
4926
|
+
<xsl:apply-templates select="*[local-name()='name']"/>
|
4927
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
4925
4928
|
</fo:block>
|
4926
|
-
</xsl:template><xsl:template match="*[local-name() = 'termexample']/*[local-name() = 'name']"
|
4929
|
+
</xsl:template><xsl:template match="*[local-name() = 'termexample']/*[local-name() = 'name']">
|
4927
4930
|
<xsl:if test="normalize-space() != ''">
|
4928
4931
|
<fo:inline xsl:use-attribute-sets="termexample-name-style">
|
4929
4932
|
<xsl:apply-templates/>
|
@@ -4949,9 +4952,7 @@
|
|
4949
4952
|
|
4950
4953
|
<xsl:variable name="fo_element">
|
4951
4954
|
<xsl:if test=".//*[local-name() = 'table'] or .//*[local-name() = 'dl']">block</xsl:if>
|
4952
|
-
block
|
4953
|
-
|
4954
|
-
|
4955
|
+
block
|
4955
4956
|
</xsl:variable>
|
4956
4957
|
|
4957
4958
|
<!-- display 'EXAMPLE' -->
|
@@ -5024,6 +5025,8 @@
|
|
5024
5025
|
</xsl:template><xsl:template match="*[local-name() = 'termsource']" name="termsource">
|
5025
5026
|
<fo:block xsl:use-attribute-sets="termsource-style">
|
5026
5027
|
|
5028
|
+
|
5029
|
+
|
5027
5030
|
<!-- Example: [SOURCE: ISO 5127:2017, 3.1.6.02] -->
|
5028
5031
|
<xsl:variable name="termsource_text">
|
5029
5032
|
<xsl:apply-templates/>
|
@@ -5061,9 +5064,7 @@
|
|
5061
5064
|
<xsl:value-of select="."/>
|
5062
5065
|
</xsl:if>
|
5063
5066
|
</xsl:template><xsl:template match="*[local-name() = 'termsource']/*[local-name() = 'strong'][1][following-sibling::*[1][local-name() = 'origin']]/text()">
|
5064
|
-
<fo:inline>
|
5065
|
-
|
5066
|
-
|
5067
|
+
<fo:inline xsl:use-attribute-sets="termsource-text-style">
|
5067
5068
|
<xsl:value-of select="."/>
|
5068
5069
|
</fo:inline>
|
5069
5070
|
</xsl:template><xsl:template match="*[local-name() = 'origin']">
|
@@ -5106,7 +5107,6 @@
|
|
5106
5107
|
<fo:block-container margin-left="0mm">
|
5107
5108
|
|
5108
5109
|
<fo:block xsl:use-attribute-sets="quote-style">
|
5109
|
-
<!-- <xsl:apply-templates select=".//*[local-name() = 'p']"/> -->
|
5110
5110
|
|
5111
5111
|
<xsl:apply-templates select="./node()[not(local-name() = 'author') and not(local-name() = 'source')]"/> <!-- process all nested nodes, except author and source -->
|
5112
5112
|
</fo:block>
|
@@ -5149,15 +5149,13 @@
|
|
5149
5149
|
</xsl:variable>
|
5150
5150
|
|
5151
5151
|
<xsl:choose>
|
5152
|
-
<xsl:when test="normalize-space($bibitemid) != ''">
|
5152
|
+
<xsl:when test="normalize-space($bibitemid) != ''"> <!-- if in the bibliography there is the item with @bibitemid (and not hidden), then create link -->
|
5153
5153
|
<fo:inline xsl:use-attribute-sets="eref-style">
|
5154
5154
|
<xsl:if test="@type = 'footnote'">
|
5155
|
-
|
5156
|
-
|
5157
|
-
|
5158
|
-
|
5159
|
-
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
5160
|
-
|
5155
|
+
<xsl:attribute name="keep-together.within-line">always</xsl:attribute>
|
5156
|
+
<xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
|
5157
|
+
<xsl:attribute name="vertical-align">super</xsl:attribute>
|
5158
|
+
<xsl:attribute name="font-size">80%</xsl:attribute>
|
5161
5159
|
|
5162
5160
|
</xsl:if>
|
5163
5161
|
|
@@ -5177,7 +5175,6 @@
|
|
5177
5175
|
|
5178
5176
|
|
5179
5177
|
|
5180
|
-
|
5181
5178
|
</xsl:if>
|
5182
5179
|
|
5183
5180
|
|
@@ -5236,8 +5233,6 @@
|
|
5236
5233
|
</xsl:choose>
|
5237
5234
|
</xsl:variable>
|
5238
5235
|
|
5239
|
-
<!-- <xsl:variable name="language" select="//*[local-name()='bibdata']//*[local-name()='language']"/> -->
|
5240
|
-
|
5241
5236
|
<xsl:choose>
|
5242
5237
|
<xsl:when test="$lang = 'zh'">
|
5243
5238
|
<fo:inline><xsl:value-of select="$tab_zh"/></fo:inline>
|
@@ -5293,7 +5288,6 @@
|
|
5293
5288
|
<xsl:apply-templates/>
|
5294
5289
|
</xsl:template><xsl:template match="*[local-name() = 'definition'][preceding-sibling::*[local-name() = 'domain']]/*[local-name() = 'p'][1]">
|
5295
5290
|
<fo:inline> <xsl:apply-templates/></fo:inline>
|
5296
|
-
<!-- <fo:block> </fo:block> -->
|
5297
5291
|
<fo:block/>
|
5298
5292
|
</xsl:template><xsl:template match="/*/*[local-name() = 'sections']/*" priority="2">
|
5299
5293
|
|
@@ -5329,11 +5323,6 @@
|
|
5329
5323
|
<xsl:apply-templates/>
|
5330
5324
|
</fo:block>
|
5331
5325
|
</xsl:template><xsl:template match="*[local-name() = 'definitions']">
|
5332
|
-
<fo:block id="{@id}">
|
5333
|
-
<xsl:apply-templates/>
|
5334
|
-
</fo:block>
|
5335
|
-
</xsl:template><xsl:template match="*[local-name() = 'references'][@hidden='true']" priority="3"/><xsl:template match="*[local-name() = 'bibitem'][@hidden='true']" priority="3"/><xsl:template match="/*/*[local-name() = 'bibliography']/*[local-name() = 'references'][@normative='true']">
|
5336
|
-
|
5337
5326
|
<fo:block id="{@id}">
|
5338
5327
|
<xsl:apply-templates/>
|
5339
5328
|
</fo:block>
|
@@ -5601,131 +5590,171 @@
|
|
5601
5590
|
<fo:table-cell border="1pt solid black" padding-left="1mm" padding-top="0.5mm">
|
5602
5591
|
<fo:block><xsl:apply-templates/></fo:block>
|
5603
5592
|
</fo:table-cell>
|
5604
|
-
</xsl:template><xsl:template name="
|
5593
|
+
</xsl:template><xsl:template match="*[local-name() = 'references'][@hidden='true']" priority="3"/><xsl:template match="*[local-name() = 'bibitem'][@hidden='true']" priority="3"/><xsl:template match="*[local-name() = 'bibitem'][starts-with(@id, 'hidden_bibitem_')]" priority="3"/><xsl:template match="*[local-name() = 'references'][@normative='true']" priority="2">
|
5605
5594
|
|
5606
5595
|
|
5607
5596
|
|
5597
|
+
<fo:block id="{@id}">
|
5598
|
+
<xsl:apply-templates/>
|
5599
|
+
</fo:block>
|
5600
|
+
</xsl:template><xsl:template match="*[local-name() = 'references']">
|
5601
|
+
<xsl:if test="not(ancestor::*[local-name() = 'annex'])">
|
5602
|
+
|
5603
|
+
</xsl:if>
|
5608
5604
|
|
5605
|
+
<!-- <xsl:if test="ancestor::*[local-name() = 'annex']">
|
5606
|
+
<xsl:if test="$namespace = 'csa' or $namespace = 'csd' or $namespace = 'gb' or $namespace = 'iec' or $namespace = 'iso' or $namespace = 'itu'">
|
5607
|
+
<fo:block break-after="page"/>
|
5608
|
+
</xsl:if>
|
5609
|
+
</xsl:if> -->
|
5609
5610
|
|
5611
|
+
<fo:block id="{@id}" xsl:use-attribute-sets="references-non-normative-style">
|
5612
|
+
<xsl:apply-templates/>
|
5613
|
+
</fo:block>
|
5610
5614
|
|
5611
5615
|
|
5612
5616
|
|
5613
5617
|
|
5618
|
+
</xsl:template><xsl:template match="*[local-name() = 'bibitem']">
|
5619
|
+
<xsl:call-template name="bibitem"/>
|
5620
|
+
</xsl:template><xsl:template match="*[local-name() = 'references'][@normative='true']/*[local-name() = 'bibitem']" name="bibitem" priority="2">
|
5614
5621
|
|
5622
|
+
<fo:list-block id="{@id}" xsl:use-attribute-sets="bibitem-normative-list-style">
|
5623
|
+
<fo:list-item>
|
5624
|
+
<fo:list-item-label end-indent="label-end()">
|
5625
|
+
<fo:block>
|
5626
|
+
<fo:inline>
|
5627
|
+
|
5628
|
+
<xsl:value-of select="*[local-name() = 'docidentifier'][@type = 'metanorma-ordinal']"/>
|
5629
|
+
<xsl:if test="not(*[local-name() = 'docidentifier'][@type = 'metanorma-ordinal'])">
|
5630
|
+
<xsl:number format="[1]"/>
|
5631
|
+
</xsl:if>
|
5632
|
+
|
5633
|
+
</fo:inline>
|
5634
|
+
</fo:block>
|
5635
|
+
</fo:list-item-label>
|
5636
|
+
<fo:list-item-body start-indent="body-start()">
|
5637
|
+
<fo:block xsl:use-attribute-sets="bibitem-normative-list-body-style">
|
5638
|
+
<xsl:call-template name="processBibitem"/>
|
5639
|
+
</fo:block>
|
5640
|
+
</fo:list-item-body>
|
5641
|
+
</fo:list-item>
|
5642
|
+
</fo:list-block>
|
5643
|
+
|
5644
|
+
|
5645
|
+
</xsl:template><xsl:template match="*[local-name() = 'references'][not(@normative='true')]/*[local-name() = 'bibitem']" priority="2">
|
5615
5646
|
|
5616
5647
|
|
5617
|
-
|
5618
|
-
|
5619
|
-
|
5620
|
-
|
5621
|
-
|
5622
|
-
|
5623
|
-
|
5624
|
-
<!-- IHO documents
|
5625
|
-
|
5626
|
-
|
5627
|
-
|
5628
|
-
|
5629
|
-
|
5630
|
-
|
5631
|
-
|
5632
|
-
|
5633
|
-
|
5634
|
-
<!-- Non-IHO documents -->
|
5635
|
-
<!-- title and publisher -->
|
5636
|
-
<xsl:otherwise>
|
5637
|
-
<xsl:variable name="docID">
|
5638
|
-
<xsl:call-template name="processBibitemDocId"/>
|
5639
|
-
</xsl:variable>
|
5640
|
-
<xsl:value-of select="normalize-space($docID)"/>
|
5641
|
-
<xsl:if test="normalize-space($docID) != ''"><xsl:text>: </xsl:text></xsl:if>
|
5642
|
-
</xsl:otherwise>
|
5643
|
-
</xsl:choose>
|
5644
|
-
|
5645
|
-
<xsl:choose>
|
5646
|
-
<xsl:when test="iho:title[@type = 'main' and @language = 'en']">
|
5647
|
-
<xsl:apply-templates select="iho:title[@type = 'main' and @language = 'en']"/>
|
5648
|
-
</xsl:when>
|
5649
|
-
<xsl:otherwise>
|
5650
|
-
<xsl:apply-templates select="iho:title"/>
|
5651
|
-
</xsl:otherwise>
|
5652
|
-
</xsl:choose>
|
5653
|
-
|
5654
|
-
<xsl:if test="iho:title and iho:contributor">
|
5655
|
-
<xsl:text>, </xsl:text>
|
5656
|
-
</xsl:if>
|
5657
|
-
|
5658
|
-
<xsl:variable name="authors">
|
5648
|
+
<xsl:call-template name="bibitem"/>
|
5649
|
+
|
5650
|
+
|
5651
|
+
</xsl:template><xsl:template name="processBibitem">
|
5652
|
+
|
5653
|
+
|
5654
|
+
<!-- start IHO bibitem processing -->
|
5655
|
+
<!-- IHO documents:
|
5656
|
+
"[1] S57 edition 3.1: IHO Transfer Standard for Digital Hydrographic Data, International Hydrographic Organization (www.iho.int)”
|
5657
|
+
[{number}] {docID} edition {edition}: {title}, {author/organization}
|
5658
|
+
Non-IHO documents:
|
5659
|
+
Provide title and publisher -->
|
5660
|
+
<xsl:choose>
|
5661
|
+
<xsl:when test="iho:formattedref">
|
5662
|
+
<xsl:apply-templates select="iho:formattedref"/>
|
5663
|
+
</xsl:when>
|
5664
|
+
<xsl:otherwise>
|
5659
5665
|
<xsl:choose>
|
5660
|
-
|
5661
|
-
|
5662
|
-
|
5663
|
-
|
5664
|
-
|
5665
|
-
|
5666
|
-
|
5667
|
-
|
5668
|
-
</xsl:for-each>
|
5669
|
-
</xsl:when>
|
5670
|
-
<xsl:when test="*[local-name() = 'contributor'][*[local-name() = 'role']/@type='publisher'][*[local-name() = 'organization']]">
|
5671
|
-
<xsl:for-each select="*[local-name() = 'contributor'][*[local-name() = 'role']/@type='publisher'][*[local-name() = 'organization']]">
|
5672
|
-
<xsl:copy>
|
5673
|
-
<xsl:choose>
|
5674
|
-
<xsl:when test="position() != 1 and position() != last()">, </xsl:when>
|
5675
|
-
<xsl:when test="position() != 1 and position() = last()"> and </xsl:when>
|
5676
|
-
</xsl:choose>
|
5677
|
-
<xsl:value-of select="*[local-name() = 'organization']/*[local-name() = 'name']"/>
|
5678
|
-
</xsl:copy>
|
5679
|
-
</xsl:for-each>
|
5666
|
+
<!-- IHO documents -->
|
5667
|
+
<!-- {docID} edition {edition}: {title}, {author/organization} -->
|
5668
|
+
<xsl:when test="iho:docidentifier[1]/@type='IHO'">
|
5669
|
+
<xsl:value-of select="iho:docidentifier[1]"/>
|
5670
|
+
<xsl:apply-templates select="iho:edition"/>
|
5671
|
+
<xsl:if test="iho:title or iho:contributor or iho:url">
|
5672
|
+
<xsl:text>: </xsl:text>
|
5673
|
+
</xsl:if>
|
5680
5674
|
</xsl:when>
|
5681
|
-
|
5682
|
-
|
5683
|
-
|
5684
|
-
|
5685
|
-
|
5686
|
-
|
5687
|
-
|
5675
|
+
|
5676
|
+
<!-- Non-IHO documents -->
|
5677
|
+
<!-- title and publisher -->
|
5678
|
+
<xsl:otherwise>
|
5679
|
+
<xsl:variable name="docID">
|
5680
|
+
<xsl:call-template name="processBibitemDocId"/>
|
5681
|
+
</xsl:variable>
|
5682
|
+
<xsl:value-of select="normalize-space($docID)"/>
|
5683
|
+
<xsl:if test="normalize-space($docID) != ''"><xsl:text>: </xsl:text></xsl:if>
|
5684
|
+
</xsl:otherwise>
|
5685
|
+
</xsl:choose>
|
5686
|
+
|
5687
|
+
<xsl:choose>
|
5688
|
+
<xsl:when test="iho:title[@type = 'main' and @language = 'en']">
|
5689
|
+
<xsl:apply-templates select="iho:title[@type = 'main' and @language = 'en']"/>
|
5688
5690
|
</xsl:when>
|
5689
|
-
<xsl:otherwise>
|
5690
|
-
<xsl:
|
5691
|
-
<xsl:when test="*[local-name() = 'organization']/*[local-name() = 'name']">
|
5692
|
-
<xsl:value-of select="*[local-name() = 'organization']/*[local-name() = 'name']"/>
|
5693
|
-
</xsl:when>
|
5694
|
-
<xsl:otherwise>
|
5695
|
-
<xsl:for-each select="*[local-name() = 'person']">
|
5696
|
-
<xsl:variable name="author">
|
5697
|
-
<xsl:call-template name="processPersonalAuthor"/>
|
5698
|
-
</xsl:variable>
|
5699
|
-
<xsl:value-of select="xalan:nodeset($author)/author"/>
|
5700
|
-
</xsl:for-each>
|
5701
|
-
</xsl:otherwise>
|
5702
|
-
</xsl:choose>
|
5691
|
+
<xsl:otherwise>
|
5692
|
+
<xsl:apply-templates select="iho:title"/>
|
5703
5693
|
</xsl:otherwise>
|
5704
5694
|
</xsl:choose>
|
5705
|
-
|
5695
|
+
|
5696
|
+
<xsl:if test="iho:title and iho:contributor">
|
5706
5697
|
<xsl:text>, </xsl:text>
|
5707
|
-
</xsl:if>
|
5708
|
-
|
5709
|
-
|
5710
|
-
|
5711
|
-
|
5712
|
-
|
5713
|
-
|
5714
|
-
|
5715
|
-
|
5716
|
-
|
5717
|
-
|
5718
|
-
|
5719
|
-
|
5720
|
-
|
5721
|
-
|
5722
|
-
|
5723
|
-
|
5724
|
-
|
5725
|
-
|
5726
|
-
|
5727
|
-
|
5728
|
-
|
5698
|
+
</xsl:if>
|
5699
|
+
|
5700
|
+
<xsl:variable name="authors">
|
5701
|
+
<xsl:choose>
|
5702
|
+
<xsl:when test="*[local-name() = 'contributor'][*[local-name() = 'role']/@type='author']">
|
5703
|
+
<xsl:for-each select="*[local-name() = 'contributor'][*[local-name() = 'role']/@type='author']">
|
5704
|
+
<xsl:copy-of select="."/>
|
5705
|
+
</xsl:for-each>
|
5706
|
+
</xsl:when>
|
5707
|
+
<xsl:when test="*[local-name() = 'contributor'][*[local-name() = 'role']/@type='editor']">
|
5708
|
+
<xsl:for-each select="*[local-name() = 'contributor'][*[local-name() = 'role']/@type='editor']">
|
5709
|
+
<xsl:copy-of select="."/>
|
5710
|
+
</xsl:for-each>
|
5711
|
+
</xsl:when>
|
5712
|
+
<xsl:when test="*[local-name() = 'contributor'][*[local-name() = 'role']/@type='publisher'][*[local-name() = 'organization']]">
|
5713
|
+
<xsl:for-each select="*[local-name() = 'contributor'][*[local-name() = 'role']/@type='publisher'][*[local-name() = 'organization']]">
|
5714
|
+
<xsl:copy>
|
5715
|
+
<xsl:choose>
|
5716
|
+
<xsl:when test="position() != 1 and position() != last()">, </xsl:when>
|
5717
|
+
<xsl:when test="position() != 1 and position() = last()"> and </xsl:when>
|
5718
|
+
</xsl:choose>
|
5719
|
+
<xsl:value-of select="*[local-name() = 'organization']/*[local-name() = 'name']"/>
|
5720
|
+
</xsl:copy>
|
5721
|
+
</xsl:for-each>
|
5722
|
+
</xsl:when>
|
5723
|
+
</xsl:choose>
|
5724
|
+
</xsl:variable>
|
5725
|
+
|
5726
|
+
<xsl:for-each select="xalan:nodeset($authors)/*">
|
5727
|
+
<xsl:choose>
|
5728
|
+
<xsl:when test="not(*[local-name() = 'role'])"><!-- publisher organisation -->
|
5729
|
+
<xsl:value-of select="."/>
|
5730
|
+
</xsl:when>
|
5731
|
+
<xsl:otherwise> <!-- author, editor -->
|
5732
|
+
<xsl:choose>
|
5733
|
+
<xsl:when test="*[local-name() = 'organization']/*[local-name() = 'name']">
|
5734
|
+
<xsl:value-of select="*[local-name() = 'organization']/*[local-name() = 'name']"/>
|
5735
|
+
</xsl:when>
|
5736
|
+
<xsl:otherwise>
|
5737
|
+
<xsl:for-each select="*[local-name() = 'person']">
|
5738
|
+
<xsl:variable name="author">
|
5739
|
+
<xsl:call-template name="processPersonalAuthor"/>
|
5740
|
+
</xsl:variable>
|
5741
|
+
<xsl:value-of select="xalan:nodeset($author)/author"/>
|
5742
|
+
</xsl:for-each>
|
5743
|
+
</xsl:otherwise>
|
5744
|
+
</xsl:choose>
|
5745
|
+
</xsl:otherwise>
|
5746
|
+
</xsl:choose>
|
5747
|
+
<xsl:if test="*[local-name() = 'organization']/*[local-name() = 'name'] and position() != last()">
|
5748
|
+
<xsl:text>, </xsl:text>
|
5749
|
+
</xsl:if>
|
5750
|
+
</xsl:for-each>
|
5751
|
+
|
5752
|
+
<xsl:apply-templates select="*[local-name() = 'uri'][1]"/>
|
5753
|
+
|
5754
|
+
</xsl:otherwise>
|
5755
|
+
</xsl:choose>
|
5756
|
+
<!-- end IHO bibitem processing -->
|
5757
|
+
|
5729
5758
|
</xsl:template><xsl:template name="processBibitemDocId">
|
5730
5759
|
<xsl:variable name="_doc_ident" select="*[local-name() = 'docidentifier'][not(@type = 'DOI' or @type = 'metanorma' or @type = 'metanorma-ordinal' or @type = 'ISSN' or @type = 'ISBN' or @type = 'rfc-anchor')]"/>
|
5731
5760
|
<xsl:choose>
|
@@ -5782,6 +5811,52 @@
|
|
5782
5811
|
<xsl:value-of select="substring(.,1,1)"/>
|
5783
5812
|
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5784
5813
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
5814
|
+
</xsl:template><xsl:template match="*[local-name() = 'bibitem']/*[local-name() = 'title']" priority="2">
|
5815
|
+
<!-- <fo:inline><xsl:apply-templates /></fo:inline> -->
|
5816
|
+
<fo:inline font-style="italic"> <!-- BIPM BSI CSD CSA GB IEC IHO ISO ITU JCGM -->
|
5817
|
+
<xsl:apply-templates/>
|
5818
|
+
</fo:inline>
|
5819
|
+
</xsl:template><xsl:template match="*[local-name() = 'bibitem']/*[local-name() = 'note']" priority="2">
|
5820
|
+
<fo:footnote>
|
5821
|
+
<xsl:variable name="number">
|
5822
|
+
|
5823
|
+
<xsl:number level="any" count="*[local-name() = 'bibitem']/*[local-name() = 'note']"/>
|
5824
|
+
|
5825
|
+
</xsl:variable>
|
5826
|
+
<fo:inline xsl:use-attribute-sets="bibitem-note-fn-style">
|
5827
|
+
<fo:basic-link internal-destination="{generate-id()}" fox:alt-text="footnote {$number}">
|
5828
|
+
<xsl:value-of select="$number"/>
|
5829
|
+
|
5830
|
+
<xsl:text>)</xsl:text>
|
5831
|
+
|
5832
|
+
</fo:basic-link>
|
5833
|
+
</fo:inline>
|
5834
|
+
<fo:footnote-body>
|
5835
|
+
<fo:block xsl:use-attribute-sets="bibitem-note-fn-body-style">
|
5836
|
+
<fo:inline id="{generate-id()}" xsl:use-attribute-sets="bibitem-note-fn-number-style">
|
5837
|
+
<xsl:value-of select="$number"/>
|
5838
|
+
|
5839
|
+
<xsl:text>)</xsl:text>
|
5840
|
+
|
5841
|
+
</fo:inline>
|
5842
|
+
<xsl:apply-templates/>
|
5843
|
+
</fo:block>
|
5844
|
+
</fo:footnote-body>
|
5845
|
+
</fo:footnote>
|
5846
|
+
</xsl:template><xsl:template match="*[local-name() = 'bibitem']/*[local-name() = 'edition']"> <!-- for iho -->
|
5847
|
+
<xsl:text> edition </xsl:text>
|
5848
|
+
<xsl:value-of select="."/>
|
5849
|
+
</xsl:template><xsl:template match="*[local-name() = 'bibitem']/*[local-name() = 'uri']"> <!-- for iho -->
|
5850
|
+
<xsl:text> (</xsl:text>
|
5851
|
+
<fo:inline xsl:use-attribute-sets="link-style">
|
5852
|
+
<fo:basic-link external-destination="." fox:alt-text=".">
|
5853
|
+
<xsl:value-of select="."/>
|
5854
|
+
</fo:basic-link>
|
5855
|
+
</fo:inline>
|
5856
|
+
<xsl:text>)</xsl:text>
|
5857
|
+
</xsl:template><xsl:template match="*[local-name() = 'bibitem']/*[local-name() = 'docidentifier']"/><xsl:template match="*[local-name() = 'formattedref']">
|
5858
|
+
|
5859
|
+
<xsl:apply-templates/>
|
5785
5860
|
</xsl:template><xsl:template match="*[local-name() = 'form']">
|
5786
5861
|
<fo:block>
|
5787
5862
|
<xsl:apply-templates/>
|
@@ -5854,24 +5929,7 @@
|
|
5854
5929
|
<xsl:when test="$htmltoclevels != ''"><xsl:value-of select="number($htmltoclevels)"/></xsl:when> <!-- if there is value in xml -->
|
5855
5930
|
<xsl:when test="$toclevels != ''"><xsl:value-of select="number($toclevels)"/></xsl:when> <!-- if there is value in xml -->
|
5856
5931
|
<xsl:otherwise><!-- default value -->
|
5857
|
-
|
5858
|
-
|
5859
|
-
|
5860
|
-
|
5861
|
-
|
5862
|
-
|
5863
5932
|
2
|
5864
|
-
|
5865
|
-
|
5866
|
-
|
5867
|
-
|
5868
|
-
|
5869
|
-
|
5870
|
-
|
5871
|
-
|
5872
|
-
|
5873
|
-
|
5874
|
-
|
5875
5933
|
</xsl:otherwise>
|
5876
5934
|
</xsl:choose>
|
5877
5935
|
</xsl:variable><xsl:template match="*[local-name() = 'toc']">
|
@@ -5969,6 +6027,57 @@
|
|
5969
6027
|
<xsl:copy-of select="."/>
|
5970
6028
|
</xsl:template><xsl:template match="*[local-name() = 'p'][@type = 'floating-title']" priority="4">
|
5971
6029
|
<xsl:call-template name="title"/>
|
6030
|
+
</xsl:template><xsl:template match="*[local-name() = 'admonition']">
|
6031
|
+
|
6032
|
+
|
6033
|
+
|
6034
|
+
|
6035
|
+
|
6036
|
+
<!-- text in the box -->
|
6037
|
+
<fo:block-container id="{@id}" xsl:use-attribute-sets="admonition-style">
|
6038
|
+
|
6039
|
+
|
6040
|
+
|
6041
|
+
|
6042
|
+
|
6043
|
+
<fo:block-container xsl:use-attribute-sets="admonition-container-style">
|
6044
|
+
|
6045
|
+
|
6046
|
+
<fo:block xsl:use-attribute-sets="admonition-name-style">
|
6047
|
+
<xsl:call-template name="displayAdmonitionName"/>
|
6048
|
+
</fo:block>
|
6049
|
+
<fo:block xsl:use-attribute-sets="admonition-p-style">
|
6050
|
+
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
|
6051
|
+
</fo:block>
|
6052
|
+
|
6053
|
+
</fo:block-container>
|
6054
|
+
|
6055
|
+
</fo:block-container>
|
6056
|
+
|
6057
|
+
</xsl:template><xsl:template name="displayAdmonitionName">
|
6058
|
+
|
6059
|
+
<xsl:apply-templates select="*[local-name() = 'name']"/>
|
6060
|
+
<xsl:if test="not(*[local-name() = 'name'])">
|
6061
|
+
<xsl:apply-templates select="@type"/>
|
6062
|
+
</xsl:if>
|
6063
|
+
|
6064
|
+
</xsl:template><xsl:template match="*[local-name() = 'admonition']/*[local-name() = 'name']">
|
6065
|
+
<xsl:apply-templates/>
|
6066
|
+
</xsl:template><xsl:template match="*[local-name() = 'admonition']/@type">
|
6067
|
+
<xsl:variable name="admonition_type_">
|
6068
|
+
<xsl:call-template name="getLocalizedString">
|
6069
|
+
<xsl:with-param name="key">admonition.<xsl:value-of select="."/></xsl:with-param>
|
6070
|
+
</xsl:call-template>
|
6071
|
+
</xsl:variable>
|
6072
|
+
<xsl:variable name="admonition_type" select="normalize-space(java:toUpperCase(java:java.lang.String.new($admonition_type_)))"/>
|
6073
|
+
<xsl:value-of select="$admonition_type"/>
|
6074
|
+
<xsl:if test="$admonition_type = ''">
|
6075
|
+
<xsl:value-of select="java:toUpperCase(java:java.lang.String.new(.))"/>
|
6076
|
+
</xsl:if>
|
6077
|
+
</xsl:template><xsl:template match="*[local-name() = 'admonition']/*[local-name() = 'p']">
|
6078
|
+
<!-- processing for admonition/p found in the template for 'p' -->
|
6079
|
+
<xsl:call-template name="paragraph"/>
|
6080
|
+
|
5972
6081
|
</xsl:template><xsl:template name="convertDate">
|
5973
6082
|
<xsl:param name="date"/>
|
5974
6083
|
<xsl:param name="format" select="'short'"/>
|
@@ -5977,78 +6086,39 @@
|
|
5977
6086
|
<xsl:variable name="day" select="substring($date, 9, 2)"/>
|
5978
6087
|
<xsl:variable name="monthStr">
|
5979
6088
|
<xsl:choose>
|
5980
|
-
<xsl:when test="$month = '01'">
|
5981
|
-
<xsl:when test="$month = '02'">
|
5982
|
-
<xsl:when test="$month = '03'">
|
5983
|
-
<xsl:when test="$month = '04'">
|
5984
|
-
<xsl:when test="$month = '05'">
|
5985
|
-
<xsl:when test="$month = '06'">
|
5986
|
-
<xsl:when test="$month = '07'">
|
5987
|
-
<xsl:when test="$month = '08'">
|
5988
|
-
<xsl:when test="$month = '09'">
|
5989
|
-
<xsl:when test="$month = '10'">
|
5990
|
-
<xsl:when test="$month = '11'">
|
5991
|
-
<xsl:when test="$month = '12'">
|
5992
|
-
</xsl:choose>
|
5993
|
-
</xsl:variable>
|
5994
|
-
<xsl:variable name="result">
|
5995
|
-
<xsl:choose>
|
5996
|
-
<xsl:when test="$format = 'ddMMyyyy'">
|
5997
|
-
<xsl:if test="$day != ''"><xsl:value-of select="number($day)"/></xsl:if>
|
5998
|
-
<xsl:text> </xsl:text>
|
5999
|
-
<xsl:value-of select="normalize-space(concat($monthStr, ' ' , $year))"/>
|
6000
|
-
</xsl:when>
|
6001
|
-
<xsl:when test="$format = 'ddMM'">
|
6002
|
-
<xsl:if test="$day != ''"><xsl:value-of select="number($day)"/></xsl:if>
|
6003
|
-
<xsl:text> </xsl:text><xsl:value-of select="$monthStr"/>
|
6004
|
-
</xsl:when>
|
6005
|
-
<xsl:when test="$format = 'short' or $day = ''">
|
6006
|
-
<xsl:value-of select="normalize-space(concat($monthStr, ' ', $year))"/>
|
6007
|
-
</xsl:when>
|
6008
|
-
<xsl:otherwise>
|
6009
|
-
<xsl:value-of select="normalize-space(concat($monthStr, ' ', $day, ', ' , $year))"/>
|
6010
|
-
</xsl:otherwise>
|
6089
|
+
<xsl:when test="$month = '01'">january</xsl:when>
|
6090
|
+
<xsl:when test="$month = '02'">february</xsl:when>
|
6091
|
+
<xsl:when test="$month = '03'">march</xsl:when>
|
6092
|
+
<xsl:when test="$month = '04'">april</xsl:when>
|
6093
|
+
<xsl:when test="$month = '05'">may</xsl:when>
|
6094
|
+
<xsl:when test="$month = '06'">june</xsl:when>
|
6095
|
+
<xsl:when test="$month = '07'">july</xsl:when>
|
6096
|
+
<xsl:when test="$month = '08'">august</xsl:when>
|
6097
|
+
<xsl:when test="$month = '09'">september</xsl:when>
|
6098
|
+
<xsl:when test="$month = '10'">october</xsl:when>
|
6099
|
+
<xsl:when test="$month = '11'">november</xsl:when>
|
6100
|
+
<xsl:when test="$month = '12'">december</xsl:when>
|
6011
6101
|
</xsl:choose>
|
6012
6102
|
</xsl:variable>
|
6013
|
-
<xsl:
|
6014
|
-
|
6015
|
-
<xsl:param name="date"/>
|
6016
|
-
<xsl:param name="format" select="'short'"/>
|
6017
|
-
<xsl:variable name="year" select="substring($date, 1, 4)"/>
|
6018
|
-
<xsl:variable name="month" select="substring($date, 6, 2)"/>
|
6019
|
-
<xsl:variable name="day" select="substring($date, 9, 2)"/>
|
6020
|
-
<xsl:variable name="monthStr">
|
6021
|
-
<xsl:choose>
|
6022
|
-
<xsl:when test="$month = '01'"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">month_january</xsl:with-param></xsl:call-template></xsl:when>
|
6023
|
-
<xsl:when test="$month = '02'"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">month_february</xsl:with-param></xsl:call-template></xsl:when>
|
6024
|
-
<xsl:when test="$month = '03'"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">month_march</xsl:with-param></xsl:call-template></xsl:when>
|
6025
|
-
<xsl:when test="$month = '04'"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">month_april</xsl:with-param></xsl:call-template></xsl:when>
|
6026
|
-
<xsl:when test="$month = '05'"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">month_may</xsl:with-param></xsl:call-template></xsl:when>
|
6027
|
-
<xsl:when test="$month = '06'"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">month_june</xsl:with-param></xsl:call-template></xsl:when>
|
6028
|
-
<xsl:when test="$month = '07'"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">month_july</xsl:with-param></xsl:call-template></xsl:when>
|
6029
|
-
<xsl:when test="$month = '08'"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">month_august</xsl:with-param></xsl:call-template></xsl:when>
|
6030
|
-
<xsl:when test="$month = '09'"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">month_september</xsl:with-param></xsl:call-template></xsl:when>
|
6031
|
-
<xsl:when test="$month = '10'"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">month_october</xsl:with-param></xsl:call-template></xsl:when>
|
6032
|
-
<xsl:when test="$month = '11'"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">month_november</xsl:with-param></xsl:call-template></xsl:when>
|
6033
|
-
<xsl:when test="$month = '12'"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">month_december</xsl:with-param></xsl:call-template></xsl:when>
|
6034
|
-
</xsl:choose>
|
6103
|
+
<xsl:variable name="monthStr_localized">
|
6104
|
+
<xsl:if test="normalize-space($monthStr) != ''"><xsl:call-template name="getLocalizedString"><xsl:with-param name="key">month_<xsl:value-of select="$monthStr"/></xsl:with-param></xsl:call-template></xsl:if>
|
6035
6105
|
</xsl:variable>
|
6036
6106
|
<xsl:variable name="result">
|
6037
6107
|
<xsl:choose>
|
6038
6108
|
<xsl:when test="$format = 'ddMMyyyy'">
|
6039
6109
|
<xsl:if test="$day != ''"><xsl:value-of select="number($day)"/></xsl:if>
|
6040
6110
|
<xsl:text> </xsl:text>
|
6041
|
-
<xsl:value-of select="normalize-space(concat($
|
6111
|
+
<xsl:value-of select="normalize-space(concat($monthStr_localized, ' ' , $year))"/>
|
6042
6112
|
</xsl:when>
|
6043
6113
|
<xsl:when test="$format = 'ddMM'">
|
6044
6114
|
<xsl:if test="$day != ''"><xsl:value-of select="number($day)"/></xsl:if>
|
6045
|
-
<xsl:text> </xsl:text><xsl:value-of select="$
|
6115
|
+
<xsl:text> </xsl:text><xsl:value-of select="$monthStr_localized"/>
|
6046
6116
|
</xsl:when>
|
6047
6117
|
<xsl:when test="$format = 'short' or $day = ''">
|
6048
|
-
<xsl:value-of select="normalize-space(concat($
|
6118
|
+
<xsl:value-of select="normalize-space(concat($monthStr_localized, ' ', $year))"/>
|
6049
6119
|
</xsl:when>
|
6050
6120
|
<xsl:otherwise>
|
6051
|
-
<xsl:value-of select="normalize-space(concat($
|
6121
|
+
<xsl:value-of select="normalize-space(concat($monthStr_localized, ' ', $day, ', ' , $year))"/>
|
6052
6122
|
</xsl:otherwise>
|
6053
6123
|
</xsl:choose>
|
6054
6124
|
</xsl:variable>
|
@@ -6100,14 +6170,9 @@
|
|
6100
6170
|
<dc:title>
|
6101
6171
|
<xsl:variable name="title">
|
6102
6172
|
<xsl:for-each select="(//*[contains(local-name(), '-standard')])[1]/*[local-name() = 'bibdata']">
|
6103
|
-
|
6104
|
-
|
6105
|
-
|
6106
|
-
|
6107
|
-
<xsl:value-of select="*[local-name() = 'title'][@language = $lang]"/>
|
6108
|
-
|
6109
|
-
|
6110
6173
|
|
6174
|
+
<xsl:value-of select="*[local-name() = 'title'][@language = $lang]"/>
|
6175
|
+
|
6111
6176
|
</xsl:for-each>
|
6112
6177
|
</xsl:variable>
|
6113
6178
|
<xsl:choose>
|
@@ -6122,21 +6187,18 @@
|
|
6122
6187
|
<dc:creator>
|
6123
6188
|
<xsl:for-each select="(//*[contains(local-name(), '-standard')])[1]/*[local-name() = 'bibdata']">
|
6124
6189
|
|
6125
|
-
|
6126
|
-
|
6127
|
-
|
6128
|
-
|
6129
|
-
|
6130
|
-
|
6131
|
-
|
6190
|
+
<xsl:for-each select="*[local-name() = 'contributor'][*[local-name() = 'role']/@type='author']">
|
6191
|
+
<xsl:value-of select="*[local-name() = 'organization']/*[local-name() = 'name']"/>
|
6192
|
+
<xsl:if test="position() != last()">; </xsl:if>
|
6193
|
+
</xsl:for-each>
|
6194
|
+
|
6132
6195
|
</xsl:for-each>
|
6133
6196
|
</dc:creator>
|
6134
6197
|
<dc:description>
|
6135
6198
|
<xsl:variable name="abstract">
|
6136
6199
|
|
6137
|
-
|
6138
|
-
|
6139
|
-
|
6200
|
+
<xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()"/>
|
6201
|
+
|
6140
6202
|
</xsl:variable>
|
6141
6203
|
<xsl:value-of select="normalize-space($abstract)"/>
|
6142
6204
|
</dc:description>
|
@@ -6156,7 +6218,6 @@
|
|
6156
6218
|
<xsl:value-of select="../@id"/>
|
6157
6219
|
</xsl:when>
|
6158
6220
|
<xsl:otherwise>
|
6159
|
-
<!-- <xsl:value-of select="concat(local-name(..), '_', text())"/> -->
|
6160
6221
|
<xsl:value-of select="concat(generate-id(..), '_', text())"/>
|
6161
6222
|
</xsl:otherwise>
|
6162
6223
|
</xsl:choose>
|
@@ -6182,9 +6243,6 @@
|
|
6182
6243
|
<xsl:when test="ancestor::*[local-name() = 'preface']">
|
6183
6244
|
<xsl:value-of select="$level_total - 2"/>
|
6184
6245
|
</xsl:when>
|
6185
|
-
<!-- <xsl:when test="parent::*[local-name() = 'sections']">
|
6186
|
-
<xsl:value-of select="$level_total - 1"/>
|
6187
|
-
</xsl:when> -->
|
6188
6246
|
<xsl:when test="ancestor::*[local-name() = 'sections']">
|
6189
6247
|
<xsl:value-of select="$level_total - 1"/>
|
6190
6248
|
</xsl:when>
|
@@ -6374,7 +6432,6 @@
|
|
6374
6432
|
<xsl:value-of select="$key_"/>
|
6375
6433
|
</xsl:otherwise>
|
6376
6434
|
</xsl:choose>
|
6377
|
-
|
6378
6435
|
</xsl:template><xsl:template name="setTrackChangesStyles">
|
6379
6436
|
<xsl:param name="isAdded"/>
|
6380
6437
|
<xsl:param name="isDeleted"/>
|
@@ -6397,7 +6454,6 @@
|
|
6397
6454
|
<xsl:if test="local-name() = 'table'">
|
6398
6455
|
<xsl:attribute name="background-color">rgb(255, 185, 185)</xsl:attribute>
|
6399
6456
|
</xsl:if>
|
6400
|
-
<!-- <xsl:attribute name="color"><xsl:value-of select="$color-deleted-text"/></xsl:attribute> -->
|
6401
6457
|
<xsl:attribute name="padding">2mm</xsl:attribute>
|
6402
6458
|
</xsl:if>
|
6403
6459
|
</xsl:otherwise>
|
@@ -6417,15 +6473,18 @@
|
|
6417
6473
|
</xsl:choose>
|
6418
6474
|
</xsl:template><xsl:template name="setTextAlignment">
|
6419
6475
|
<xsl:param name="default">left</xsl:param>
|
6476
|
+
<xsl:variable name="align" select="normalize-space(@align)"/>
|
6420
6477
|
<xsl:attribute name="text-align">
|
6421
6478
|
<xsl:choose>
|
6422
|
-
<xsl:when test="
|
6479
|
+
<xsl:when test="$lang = 'ar' and $align = 'left'">start</xsl:when>
|
6480
|
+
<xsl:when test="$lang = 'ar' and $align = 'right'">end</xsl:when>
|
6481
|
+
<xsl:when test="$align != '' and not($align = 'indent')"><xsl:value-of select="$align"/></xsl:when>
|
6423
6482
|
<xsl:when test="ancestor::*[local-name() = 'td']/@align"><xsl:value-of select="ancestor::*[local-name() = 'td']/@align"/></xsl:when>
|
6424
6483
|
<xsl:when test="ancestor::*[local-name() = 'th']/@align"><xsl:value-of select="ancestor::*[local-name() = 'th']/@align"/></xsl:when>
|
6425
6484
|
<xsl:otherwise><xsl:value-of select="$default"/></xsl:otherwise>
|
6426
6485
|
</xsl:choose>
|
6427
6486
|
</xsl:attribute>
|
6428
|
-
<xsl:if test="
|
6487
|
+
<xsl:if test="$align = 'indent'">
|
6429
6488
|
<xsl:attribute name="margin-left">7mm</xsl:attribute>
|
6430
6489
|
</xsl:if>
|
6431
6490
|
</xsl:template><xsl:template name="number-to-words">
|