metanorma-bipm 1.0.0 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +3 -0
- data/lib/asciidoctor/bipm/basicdoc.rng +52 -3
- data/lib/asciidoctor/bipm/bipm.rng +14 -1
- data/lib/asciidoctor/bipm/boilerplate-jcgm-en.xml +37 -0
- data/lib/asciidoctor/bipm/converter.rb +16 -17
- data/lib/asciidoctor/bipm/isodoc.rng +118 -4
- data/lib/isodoc/bipm/base_convert.rb +20 -7
- data/lib/isodoc/bipm/bipm.brochure.xsl +1214 -449
- data/lib/isodoc/bipm/bipm.guide.xsl +1214 -449
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +1214 -449
- data/lib/isodoc/bipm/bipm.rapport.xsl +1214 -449
- data/lib/isodoc/bipm/html/html_bipm_intro.html +1 -1
- data/lib/isodoc/bipm/html/html_bipm_titlepage.html +5 -2
- data/lib/isodoc/bipm/i18n-en.yaml +2 -0
- data/lib/isodoc/bipm/i18n-fr.yaml +6 -4
- data/lib/isodoc/bipm/index.rb +140 -0
- data/lib/isodoc/bipm/jcgm.standard.xsl +5944 -0
- data/lib/isodoc/bipm/metadata.rb +7 -1
- data/lib/isodoc/bipm/pdf_convert.rb +1 -0
- data/lib/isodoc/bipm/presentation_xml_convert.rb +2 -1
- data/lib/isodoc/bipm/xref.rb +55 -49
- data/lib/metanorma/bipm/processor.rb +11 -0
- data/lib/metanorma/bipm/version.rb +1 -1
- data/metanorma-bipm.gemspec +1 -1
- data/metanorma.yml +5 -2
- metadata +8 -6
- data/lib/metanorma/bipm/fonts_manifest.yaml +0 -7
@@ -8,6 +8,13 @@
|
|
8
8
|
<xsl:param name="initial_page_number"/>
|
9
9
|
<xsl:param name="doc_split_by_language"/>
|
10
10
|
|
11
|
+
<!-- <item id="#">N_page</item> -->
|
12
|
+
<!-- param for second pass -->
|
13
|
+
<xsl:param name="external_index"/><!-- path to index xml, generated on 1st pass, based on FOP Intermediate Format -->
|
14
|
+
<xsl:variable name="index" select="document($external_index)"/>
|
15
|
+
|
16
|
+
<xsl:variable name="first_pass" select="count($index//item) = 0"/>
|
17
|
+
|
11
18
|
<xsl:variable name="pageWidth" select="'210mm'"/>
|
12
19
|
<xsl:variable name="pageHeight" select="'297mm'"/>
|
13
20
|
|
@@ -31,26 +38,26 @@
|
|
31
38
|
<xsl:variable name="root-element" select="local-name(/*)"/>
|
32
39
|
|
33
40
|
<xsl:variable name="contents">
|
34
|
-
|
35
41
|
<xsl:choose>
|
36
42
|
<xsl:when test="$root-element = 'metanorma-collection'">
|
37
|
-
|
38
43
|
<xsl:choose>
|
39
44
|
<xsl:when test="$doc_split_by_language = ''"><!-- all documents -->
|
40
45
|
<xsl:for-each select="//bipm:bipm-standard">
|
41
46
|
<xsl:variable name="lang" select="*[local-name()='bibdata']/*[local-name()='language'][@current = 'true']"/>
|
42
47
|
<xsl:variable name="num"><xsl:number level="any" count="bipm:bipm-standard"/></xsl:variable>
|
48
|
+
<xsl:variable name="title-part"><xsl:value-of select="bipm:bibdata/bipm:title[@type = 'part']"/></xsl:variable>
|
43
49
|
<xsl:variable name="current_document">
|
44
|
-
<xsl:apply-templates select="." mode="change_id">
|
50
|
+
<!-- <xsl:apply-templates select="." mode="change_id">
|
45
51
|
<xsl:with-param name="lang" select="$lang"/>
|
46
52
|
<xsl:with-param name="ignoreReferenceFrom" select="'true'"/>
|
47
|
-
</xsl:apply-templates>
|
53
|
+
</xsl:apply-templates> -->
|
54
|
+
<xsl:copy-of select="."/>
|
48
55
|
</xsl:variable>
|
49
56
|
<xsl:for-each select="xalan:nodeset($current_document)">
|
50
57
|
<xsl:variable name="docid">
|
51
58
|
<xsl:call-template name="getDocumentId"/>
|
52
59
|
</xsl:variable>
|
53
|
-
<doc id="{$docid}" lang="{$lang}">
|
60
|
+
<doc id="{$docid}" lang="{$lang}" doctype="{$doctype}" title-part="{$title-part}">
|
54
61
|
<xsl:call-template name="generateContents"/>
|
55
62
|
</doc>
|
56
63
|
</xsl:for-each>
|
@@ -61,9 +68,10 @@
|
|
61
68
|
<xsl:variable name="lang" select="*[local-name()='bibdata']/*[local-name()='language'][@current = 'true']"/>
|
62
69
|
<xsl:variable name="num"><xsl:number level="any" count="bipm:bipm-standard"/></xsl:variable>
|
63
70
|
<xsl:variable name="current_document">
|
64
|
-
<xsl:apply-templates select="." mode="change_id">
|
71
|
+
<!-- <xsl:apply-templates select="." mode="change_id">
|
65
72
|
<xsl:with-param name="lang" select="$lang"/>
|
66
|
-
</xsl:apply-templates>
|
73
|
+
</xsl:apply-templates> -->
|
74
|
+
<xsl:copy-of select="."/>
|
67
75
|
</xsl:variable>
|
68
76
|
<xsl:for-each select="xalan:nodeset($current_document)">
|
69
77
|
<xsl:variable name="docid">
|
@@ -87,9 +95,86 @@
|
|
87
95
|
</doc>
|
88
96
|
</xsl:otherwise>
|
89
97
|
</xsl:choose>
|
90
|
-
|
91
98
|
</xsl:variable>
|
92
99
|
|
100
|
+
<xsl:variable name="indexes">
|
101
|
+
<xsl:choose>
|
102
|
+
<xsl:when test="$doc_split_by_language = ''"><!-- all documents -->
|
103
|
+
<xsl:for-each select="//bipm:bipm-standard">
|
104
|
+
|
105
|
+
<xsl:variable name="current_document">
|
106
|
+
<xsl:copy-of select="."/>
|
107
|
+
</xsl:variable>
|
108
|
+
|
109
|
+
<xsl:for-each select="xalan:nodeset($current_document)">
|
110
|
+
|
111
|
+
<xsl:variable name="docid">
|
112
|
+
<xsl:call-template name="getDocumentId"/>
|
113
|
+
</xsl:variable>
|
114
|
+
|
115
|
+
<!-- add id to xref and split xref with @to into two xref -->
|
116
|
+
<xsl:variable name="current_document_index_id">
|
117
|
+
<!-- <xsl:apply-templates select=".//bipm:clause[@type = 'index']" mode="index_add_id"/> -->
|
118
|
+
<xsl:apply-templates select=".//bipm:indexsect" mode="index_add_id"/>
|
119
|
+
</xsl:variable>
|
120
|
+
|
121
|
+
<xsl:variable name="current_document_index">
|
122
|
+
<xsl:apply-templates select="xalan:nodeset($current_document_index_id)" mode="index_update"/>
|
123
|
+
</xsl:variable>
|
124
|
+
|
125
|
+
<xsl:for-each select="xalan:nodeset($current_document_index)">
|
126
|
+
<doc id="{$docid}">
|
127
|
+
<xsl:copy-of select="."/>
|
128
|
+
</doc>
|
129
|
+
</xsl:for-each>
|
130
|
+
|
131
|
+
</xsl:for-each>
|
132
|
+
|
133
|
+
</xsl:for-each>
|
134
|
+
</xsl:when>
|
135
|
+
<xsl:otherwise>
|
136
|
+
<xsl:for-each select="(//bipm:bipm-standard)[*[local-name()='bibdata']/*[local-name()='language'][@current = 'true'] = $doc_split_by_language]">
|
137
|
+
|
138
|
+
<xsl:variable name="current_document">
|
139
|
+
<xsl:copy-of select="."/>
|
140
|
+
</xsl:variable>
|
141
|
+
|
142
|
+
<xsl:for-each select="xalan:nodeset($current_document)">
|
143
|
+
|
144
|
+
<xsl:variable name="docid">
|
145
|
+
<xsl:call-template name="getDocumentId"/>
|
146
|
+
</xsl:variable>
|
147
|
+
|
148
|
+
<xsl:variable name="current_document_index_id">
|
149
|
+
<!-- <xsl:apply-templates select=".//bipm:clause[@type = 'index']" mode="index_add_id"/> -->
|
150
|
+
<xsl:apply-templates select=".//bipm:indexsect" mode="index_add_id"/>
|
151
|
+
</xsl:variable>
|
152
|
+
|
153
|
+
<xsl:variable name="current_document_index">
|
154
|
+
<xsl:apply-templates select="xalan:nodeset($current_document_index_id)" mode="index_update"/>
|
155
|
+
</xsl:variable>
|
156
|
+
|
157
|
+
<xsl:for-each select="xalan:nodeset($current_document_index)">
|
158
|
+
<doc id="{$docid}">
|
159
|
+
<xsl:copy-of select="."/>
|
160
|
+
</doc>
|
161
|
+
</xsl:for-each>
|
162
|
+
|
163
|
+
</xsl:for-each>
|
164
|
+
|
165
|
+
</xsl:for-each>
|
166
|
+
</xsl:otherwise>
|
167
|
+
</xsl:choose>
|
168
|
+
</xsl:variable>
|
169
|
+
|
170
|
+
<xsl:variable name="bookmark_in_fn">
|
171
|
+
<xsl:for-each select="//bipm:bookmark[ancestor::bipm:fn]">
|
172
|
+
<bookmark><xsl:value-of select="@id"/></bookmark>
|
173
|
+
</xsl:for-each>
|
174
|
+
</xsl:variable>
|
175
|
+
|
176
|
+
<xsl:variable name="dash" select="'–'"/>
|
177
|
+
|
93
178
|
<xsl:variable name="ids">
|
94
179
|
<xsl:for-each select="//*[@id]">
|
95
180
|
<id><xsl:value-of select="@id"/></id>
|
@@ -116,6 +201,10 @@
|
|
116
201
|
<xsl:apply-templates select="/*/bipm:annex" mode="contents"/>
|
117
202
|
<xsl:apply-templates select="/*/bipm:bibliography/bipm:references[not(@normative='true')]" mode="contents"/>
|
118
203
|
|
204
|
+
<!-- Index -->
|
205
|
+
<!-- <xsl:apply-templates select="//bipm:clause[@type = 'index']" mode="contents"/> -->
|
206
|
+
<xsl:apply-templates select="//bipm:indexsect" mode="contents"/>
|
207
|
+
|
119
208
|
</contents>
|
120
209
|
</xsl:template>
|
121
210
|
|
@@ -195,15 +284,6 @@
|
|
195
284
|
</fo:repeatable-page-master-alternatives>
|
196
285
|
</fo:page-sequence-master>
|
197
286
|
|
198
|
-
<!-- Independent Appendix pages -->
|
199
|
-
<!-- <fo:simple-page-master master-name="appendix" page-width="{$pageWidth}" page-height="{$pageHeight}">
|
200
|
-
<fo:region-body margin-top="25mm" margin-bottom="25mm" margin-left="25mm" margin-right="25mm"/>
|
201
|
-
<fo:region-before region-name="header-appendix" extent="25mm"/>
|
202
|
-
<fo:region-after region-name="footer-appendix" extent="25mm"/>
|
203
|
-
<fo:region-start region-name="left-region" extent="25mm"/>
|
204
|
-
<fo:region-end region-name="right-region" extent="25mm"/>
|
205
|
-
</fo:simple-page-master> -->
|
206
|
-
|
207
287
|
|
208
288
|
</fo:layout-master-set>
|
209
289
|
|
@@ -245,7 +325,7 @@
|
|
245
325
|
<xsl:variable name="lang" select="*[local-name()='bibdata']//*[local-name()='language'][@current = 'true']"/>
|
246
326
|
<xsl:variable name="num"><xsl:number level="any" count="bipm:bipm-standard"/></xsl:variable>
|
247
327
|
<!-- change id to prevent identical id in different documents in one container -->
|
248
|
-
<xsl:variable name="current_document">
|
328
|
+
<!-- <xsl:variable name="current_document">
|
249
329
|
<xsl:apply-templates select="." mode="change_id">
|
250
330
|
<xsl:with-param name="lang" select="$lang"/>
|
251
331
|
<xsl:with-param name="ignoreReferenceFrom" select="'true'"/>
|
@@ -254,6 +334,10 @@
|
|
254
334
|
|
255
335
|
<xsl:variable name="flatxml">
|
256
336
|
<xsl:apply-templates select="xalan:nodeset($current_document)" mode="flatxml"/>
|
337
|
+
</xsl:variable> -->
|
338
|
+
|
339
|
+
<xsl:variable name="flatxml">
|
340
|
+
<xsl:apply-templates select="." mode="flatxml"/>
|
257
341
|
</xsl:variable>
|
258
342
|
|
259
343
|
<!-- flatxml=<xsl:copy-of select="$flatxml"/> -->
|
@@ -269,7 +353,7 @@
|
|
269
353
|
<xsl:variable name="lang" select="*[local-name()='bibdata']//*[local-name()='language'][@current = 'true']"/>
|
270
354
|
<xsl:variable name="num"><xsl:number level="any" count="bipm:bipm-standard"/></xsl:variable>
|
271
355
|
<!-- change id to prevent identical id in different documents in one container -->
|
272
|
-
<xsl:variable name="current_document">
|
356
|
+
<!-- <xsl:variable name="current_document">
|
273
357
|
<xsl:apply-templates select="." mode="change_id">
|
274
358
|
<xsl:with-param name="lang" select="$lang"/>
|
275
359
|
</xsl:apply-templates>
|
@@ -277,6 +361,10 @@
|
|
277
361
|
|
278
362
|
<xsl:variable name="flatxml">
|
279
363
|
<xsl:apply-templates select="xalan:nodeset($current_document)" mode="flatxml"/>
|
364
|
+
</xsl:variable> -->
|
365
|
+
|
366
|
+
<xsl:variable name="flatxml">
|
367
|
+
<xsl:apply-templates select="." mode="flatxml"/>
|
280
368
|
</xsl:variable>
|
281
369
|
|
282
370
|
<xsl:apply-templates select="xalan:nodeset($flatxml)/bipm:bipm-standard" mode="bipm-standard">
|
@@ -296,6 +384,9 @@
|
|
296
384
|
</xsl:variable>
|
297
385
|
|
298
386
|
<!-- flatxml=<xsl:copy-of select="$flatxml"/> -->
|
387
|
+
|
388
|
+
<!-- indexes=<xsl:copy-of select="$indexes"/> -->
|
389
|
+
|
299
390
|
|
300
391
|
<xsl:apply-templates select="xalan:nodeset($flatxml)/bipm:bipm-standard" mode="bipm-standard">
|
301
392
|
<xsl:with-param name="curr_docnum" select="1"/>
|
@@ -586,7 +677,7 @@
|
|
586
677
|
|
587
678
|
<!-- copy 'ol' 'ul' properties to each 'li' -->
|
588
679
|
<!-- OBSOLETE: move note for list (list level note) into latest 'li' -->
|
589
|
-
<!-- move note for list (list level note) into first 'li' -->
|
680
|
+
<!-- NOW: move note for list (list level note) into first 'li' -->
|
590
681
|
<!-- move fn for list-item (list-item level footnote) into first 'li' -->
|
591
682
|
<xsl:template match="bipm:li" mode="flatxml_list">
|
592
683
|
<xsl:copy>
|
@@ -618,6 +709,15 @@
|
|
618
709
|
</xsl:otherwise>
|
619
710
|
</xsl:choose>
|
620
711
|
</xsl:for-each>
|
712
|
+
|
713
|
+
<!-- move note(s) after ul/ol into first 'li' -->
|
714
|
+
<xsl:if test="not(ancestor::bipm:quote)">
|
715
|
+
<xsl:variable name="list_id" select="generate-id(..)"/>
|
716
|
+
<xsl:for-each select="../following-sibling::bipm:note[generate-id(preceding-sibling::*[not(local-name()='note') and not(local-name()='quote')][1]) = $list_id]">
|
717
|
+
<xsl:call-template name="change_note_kind"/>
|
718
|
+
</xsl:for-each>
|
719
|
+
</xsl:if>
|
720
|
+
|
621
721
|
|
622
722
|
<xsl:if test="ancestor::bipm:quote or not(ancestor::bipm:table)">
|
623
723
|
|
@@ -738,6 +838,32 @@
|
|
738
838
|
</xsl:when>
|
739
839
|
</xsl:choose>
|
740
840
|
</xsl:template>
|
841
|
+
|
842
|
+
<!-- <xsl:template match="bipm:clause[@type = 'index']" mode="flatxml"/> -->
|
843
|
+
<xsl:template match="bipm:indexsect" mode="flatxml"/>
|
844
|
+
<!-- <xsl:template match="bipm:clause[@type = 'index']" mode="flatxml">
|
845
|
+
<xsl:copy>
|
846
|
+
<xsl:apply-templates select="@*" mode="flatxml_index"/>
|
847
|
+
<xsl:apply-templates mode="flatxml_index"/>
|
848
|
+
</xsl:copy>
|
849
|
+
</xsl:template>
|
850
|
+
|
851
|
+
<xsl:template match="@*|node()" mode="flatxml_index">
|
852
|
+
<xsl:copy>
|
853
|
+
<xsl:apply-templates select="@*|node()" mode="flatxml_index"/>
|
854
|
+
</xsl:copy>
|
855
|
+
</xsl:template>
|
856
|
+
|
857
|
+
<xsl:template match="bipm:xref" mode="flatxml_index">
|
858
|
+
<xsl:copy>
|
859
|
+
<xsl:apply-templates select="@*" mode="flatxml_index"/>
|
860
|
+
<xsl:attribute name="id">
|
861
|
+
<xsl:value-of select="generate-id(.)"/>
|
862
|
+
</xsl:attribute>
|
863
|
+
<xsl:apply-templates mode="flatxml_index"/>
|
864
|
+
</xsl:copy>
|
865
|
+
</xsl:template> -->
|
866
|
+
|
741
867
|
<!-- ================================= -->
|
742
868
|
<!-- END: Flattening xml for fit notes at page sides (margins) -->
|
743
869
|
<!-- ================================= -->
|
@@ -846,31 +972,33 @@
|
|
846
972
|
</fo:flow>
|
847
973
|
</fo:page-sequence>
|
848
974
|
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
<
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
975
|
+
|
976
|
+
<xsl:if test="bipm:preface/*">
|
977
|
+
<fo:page-sequence master-reference="document" force-page-count="no-force">
|
978
|
+
<xsl:call-template name="insertFootnoteSeparator"/>
|
979
|
+
|
980
|
+
<xsl:variable name="header-title">
|
981
|
+
<xsl:choose>
|
982
|
+
<xsl:when test="bipm:preface/*[1]/bipm:title[1]/*[local-name() = 'tab']">
|
983
|
+
<xsl:apply-templates select="bipm:preface/*[1]/bipm:title[1]/*[local-name() = 'tab'][1]/following-sibling::node()" mode="header"/>
|
984
|
+
</xsl:when>
|
985
|
+
<xsl:otherwise>
|
986
|
+
<xsl:apply-templates select="bipm:preface/*[1]/bipm:title[1]" mode="header"/>
|
987
|
+
</xsl:otherwise>
|
988
|
+
</xsl:choose>
|
989
|
+
</xsl:variable>
|
990
|
+
<xsl:call-template name="insertHeaderFooter">
|
991
|
+
<xsl:with-param name="header-title" select="$header-title"/>
|
992
|
+
</xsl:call-template>
|
993
|
+
|
994
|
+
<fo:flow flow-name="xsl-region-body">
|
995
|
+
<fo:block line-height="135%">
|
996
|
+
<!-- <xsl:apply-templates select="bipm:preface/bipm:abstract" /> -->
|
997
|
+
<xsl:apply-templates select="bipm:preface/*[1]"/>
|
998
|
+
</fo:block>
|
999
|
+
</fo:flow>
|
1000
|
+
</fo:page-sequence>
|
1001
|
+
</xsl:if>
|
874
1002
|
|
875
1003
|
|
876
1004
|
<xsl:variable name="docid">
|
@@ -917,7 +1045,7 @@
|
|
917
1045
|
<fo:table-column column-width="127mm"/>
|
918
1046
|
<fo:table-column column-width="12mm"/>
|
919
1047
|
<fo:table-body>
|
920
|
-
<xsl:for-each select="xalan:nodeset($contents)/doc[@id = $docid]//item[@display='true' and not(@type = 'annex') and not(@parent = 'annex')]">
|
1048
|
+
<xsl:for-each select="xalan:nodeset($contents)/doc[@id = $docid]//item[@display='true' and not(@type = 'annex') and not(@type = 'index') and not(@parent = 'annex')]">
|
921
1049
|
<xsl:call-template name="insertContentItem"/>
|
922
1050
|
</xsl:for-each>
|
923
1051
|
<xsl:if test="$doctype ='brochure'">
|
@@ -931,6 +1059,9 @@
|
|
931
1059
|
<xsl:for-each select="xalan:nodeset($contents)/doc[@id = $docid]//item[@display='true' and (@type = 'annex')]"> <!-- or (@level = 2 and @parent = 'annex') -->
|
932
1060
|
<xsl:call-template name="insertContentItem"/>
|
933
1061
|
</xsl:for-each>
|
1062
|
+
<xsl:for-each select="xalan:nodeset($contents)/doc[@id = $docid]//item[@display='true' and (@type = 'index')]">
|
1063
|
+
<xsl:call-template name="insertContentItem"/>
|
1064
|
+
</xsl:for-each>
|
934
1065
|
</fo:table-body>
|
935
1066
|
</fo:table>
|
936
1067
|
</xsl:if>
|
@@ -961,6 +1092,10 @@
|
|
961
1092
|
<!-- Bibliography -->
|
962
1093
|
<xsl:apply-templates select="bipm:bibliography/bipm:references[not(@normative='true')]" mode="sections"/>
|
963
1094
|
|
1095
|
+
<!-- Index -->
|
1096
|
+
<!-- <xsl:apply-templates select="xalan:nodeset($indexes)/doc[@id = $docid]//bipm:clause[@type = 'index']" mode="index" /> -->
|
1097
|
+
<xsl:apply-templates select="xalan:nodeset($indexes)/doc[@id = $docid]//bipm:indexsect" mode="index"/>
|
1098
|
+
|
964
1099
|
<!-- End Document Pages -->
|
965
1100
|
|
966
1101
|
|
@@ -971,32 +1106,10 @@
|
|
971
1106
|
</xsl:when>
|
972
1107
|
<xsl:otherwise> <!-- independentAppendix != '' -->
|
973
1108
|
|
974
|
-
|
975
|
-
|
976
|
-
<xsl:call-template name="
|
977
|
-
|
978
|
-
<fo:flow flow-name="xsl-region-body" font-family="Times New Roman">
|
979
|
-
<fo:block-container border-bottom="1.5pt solid rgb(79, 129, 189)" margin-bottom="36pt">
|
980
|
-
<fo:block font-family="Arial" font-size="24pt" font-weight="bold" color="rgb(23, 54, 93)">
|
981
|
-
<fo:block>
|
982
|
-
<xsl:choose>
|
983
|
-
<xsl:when test="$lang = 'fr'">Annexe </xsl:when>
|
984
|
-
<xsl:otherwise>Appendix </xsl:otherwise>
|
985
|
-
</xsl:choose>
|
986
|
-
<xsl:value-of select="/bipm:bipm-standard/bipm:bibdata/bipm:ext/bipm:structuredidentifier/bipm:appendix"/>
|
987
|
-
<xsl:text>. </xsl:text>
|
988
|
-
<xsl:value-of select="/bipm:bipm-standard/bipm:bibdata/bipm:title[@type = 'appendix' and @language = $lang]"/>
|
989
|
-
</fo:block>
|
990
|
-
</fo:block>
|
991
|
-
</fo:block-container>
|
992
|
-
|
993
|
-
<fo:block line-height="130%">
|
994
|
-
<xsl:apply-templates select="bipm:sections/*"/>
|
995
|
-
</fo:block>
|
996
|
-
|
997
|
-
<fo:block id="theLastPage"/>
|
998
|
-
</fo:flow>
|
999
|
-
</fo:page-sequence> -->
|
1109
|
+
|
1110
|
+
<xsl:variable name="docid">
|
1111
|
+
<xsl:call-template name="getDocumentId"/>
|
1112
|
+
</xsl:variable>
|
1000
1113
|
|
1001
1114
|
<fo:page-sequence master-reference="document" force-page-count="no-force">
|
1002
1115
|
|
@@ -1025,18 +1138,22 @@
|
|
1025
1138
|
<fo:block-container font-size="18pt" font-weight="bold" text-align="center">
|
1026
1139
|
<fo:block>
|
1027
1140
|
|
1028
|
-
<xsl:variable name="title">
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1141
|
+
<!-- <xsl:variable name="title"> -->
|
1142
|
+
<xsl:choose>
|
1143
|
+
<xsl:when test="$independentAppendix != ''">
|
1144
|
+
<xsl:apply-templates select="//bipm:bipm-standard/bipm:bibdata/bipm:title[@language = $curr_lang and @type='appendix']" mode="title"/>
|
1145
|
+
<fo:block>
|
1146
|
+
<xsl:apply-templates select="//bipm:bipm-standard/bipm:bibdata/bipm:title[@language = $curr_lang and @type='annex']" mode="title"/>
|
1147
|
+
</fo:block>
|
1148
|
+
</xsl:when>
|
1149
|
+
<xsl:otherwise> <!-- doctype = 'guide' -->
|
1150
|
+
<xsl:apply-templates select="//bipm:bipm-standard/bipm:bibdata/bipm:title[@language = $curr_lang and @type='main']" mode="title"/>
|
1151
|
+
</xsl:otherwise>
|
1152
|
+
</xsl:choose>
|
1153
|
+
<!-- </xsl:variable> -->
|
1038
1154
|
|
1039
|
-
|
1155
|
+
|
1156
|
+
<!-- <xsl:variable name="mep_text" select="'Mise en pratique'"/>
|
1040
1157
|
|
1041
1158
|
<xsl:choose>
|
1042
1159
|
<xsl:when test="$curr_lang = 'en' and contains($title, $mep_text)">
|
@@ -1047,7 +1164,7 @@
|
|
1047
1164
|
<xsl:otherwise>
|
1048
1165
|
<xsl:value-of select="$title"/>
|
1049
1166
|
</xsl:otherwise>
|
1050
|
-
</xsl:choose>
|
1167
|
+
</xsl:choose> -->
|
1051
1168
|
|
1052
1169
|
</fo:block>
|
1053
1170
|
|
@@ -1059,7 +1176,7 @@
|
|
1059
1176
|
<xsl:value-of select="java:replaceAll(java:java.lang.String.new($titles/title-part[@lang=$curr_lang]),'#',$part_num)"/>
|
1060
1177
|
</xsl:if>
|
1061
1178
|
<xsl:text>: </xsl:text>
|
1062
|
-
<xsl:
|
1179
|
+
<xsl:apply-templates select="/bipm:bipm-standard/bipm:bibdata/bipm:title[@language = $curr_lang and @type = 'part']" mode="title"/>
|
1063
1180
|
</fo:block>
|
1064
1181
|
</xsl:if>
|
1065
1182
|
<xsl:variable name="subpart_num" select="normalize-space(/bipm:bipm-standard/bipm:bibdata/bipm:ext/bipm:structuredidentifier/bipm:subpart)"/>
|
@@ -1069,7 +1186,7 @@
|
|
1069
1186
|
<xsl:value-of select="java:replaceAll(java:java.lang.String.new($titles/title-subpart[@lang=$curr_lang]),'#',$subpart_num)"/>
|
1070
1187
|
</xsl:if>
|
1071
1188
|
<xsl:text>: </xsl:text>
|
1072
|
-
<xsl:
|
1189
|
+
<xsl:apply-templates select="/bipm:bipm-standard/bipm:bibdata/bipm:title[@language = $curr_lang and @type = 'subpart']" mode="title"/>
|
1073
1190
|
</fo:block>
|
1074
1191
|
</xsl:if>
|
1075
1192
|
|
@@ -1140,6 +1257,9 @@
|
|
1140
1257
|
|
1141
1258
|
<xsl:apply-templates select="bipm:bibliography/bipm:references[not(@normative='true')]" mode="sections"/>
|
1142
1259
|
|
1260
|
+
<!-- Index -->
|
1261
|
+
<!-- <xsl:apply-templates select="xalan:nodeset($indexes)/doc[@id = $docid]//bipm:clause[@type = 'index']" mode="index" /> -->
|
1262
|
+
<xsl:apply-templates select="xalan:nodeset($indexes)/doc[@id = $docid]//bipm:indexsect" mode="index"/>
|
1143
1263
|
|
1144
1264
|
</xsl:otherwise>
|
1145
1265
|
</xsl:choose>
|
@@ -1250,71 +1370,130 @@
|
|
1250
1370
|
<fo:block font-size="14pt" font-weight="{$weight-bold}" margin-top="4mm"><xsl:value-of select="concat((//bipm:bipm-standard)[1]/bipm:bibdata/bipm:edition, ' ', $edition_str, ' ', $copyrightYear)"/></fo:block>
|
1251
1371
|
</fo:block-container>
|
1252
1372
|
|
1253
|
-
<fo:block-container height="98%" display-align="center">
|
1373
|
+
<!-- <fo:block-container height="98%" display-align="center"> -->
|
1374
|
+
<fo:block-container absolute-position="fixed" left="12.5mm" top="92mm" height="170mm" width="144mm" display-align="center">
|
1254
1375
|
<fo:block>
|
1376
|
+
|
1377
|
+
<xsl:variable name="title_appendix_fr">
|
1378
|
+
<xsl:apply-templates select="(//bipm:bipm-standard)[1]/bipm:bibdata/bipm:title[@language = 'fr' and @type = 'appendix']" mode="title"/>
|
1379
|
+
</xsl:variable>
|
1380
|
+
<xsl:variable name="title_appendix_en">
|
1381
|
+
<xsl:apply-templates select="(//bipm:bipm-standard)[1]/bipm:bibdata/bipm:title[@language = 'en' and @type = 'appendix']" mode="title"/>
|
1382
|
+
</xsl:variable>
|
1383
|
+
<xsl:variable name="title_annex_fr">
|
1384
|
+
<xsl:apply-templates select="(//bipm:bipm-standard)[1]/bipm:bibdata/bipm:title[@language = 'fr' and @type = 'annex']" mode="title"/>
|
1385
|
+
</xsl:variable>
|
1386
|
+
<xsl:variable name="title_annex_en">
|
1387
|
+
<xsl:apply-templates select="(//bipm:bipm-standard)[1]/bipm:bibdata/bipm:title[@language = 'en' and @type = 'annex']" mode="title"/>
|
1388
|
+
</xsl:variable>
|
1389
|
+
<xsl:variable name="title_part_fr">
|
1390
|
+
<xsl:apply-templates select="(//bipm:bipm-standard)[1]/bipm:bibdata/bipm:title[@language = 'fr' and @type = 'part']" mode="title"/>
|
1391
|
+
</xsl:variable>
|
1392
|
+
<xsl:variable name="title_part_en">
|
1393
|
+
<xsl:apply-templates select="(//bipm:bipm-standard)[1]/bipm:bibdata/bipm:title[@language = 'en' and @type = 'part']" mode="title"/>
|
1394
|
+
</xsl:variable>
|
1395
|
+
<xsl:variable name="title_subpart_fr">
|
1396
|
+
<xsl:apply-templates select="(//bipm:bipm-standard)[1]/bipm:bibdata/bipm:title[@language = 'fr' and @type = 'subpart']" mode="title"/>
|
1397
|
+
</xsl:variable>
|
1398
|
+
<xsl:variable name="title_subpart_en">
|
1399
|
+
<xsl:apply-templates select="(//bipm:bipm-standard)[1]/bipm:bibdata/bipm:title[@language = 'en' and @type = 'subpart']" mode="title"/>
|
1400
|
+
</xsl:variable>
|
1401
|
+
|
1402
|
+
<xsl:variable name="titles_length" select="string-length($title_appendix_fr) + string-length($title_appendix_en) + string-length($title_annex_fr) + string-length($title_annex_en) + string-length($title_part_fr) + string-length($title_part_en) + string-length($title_subpart_fr) + string-length($title_subpart_fr)"/>
|
1403
|
+
|
1404
|
+
<xsl:variable name="font-size-number-factor">
|
1405
|
+
<xsl:choose>
|
1406
|
+
<xsl:when test="$titles_length > 350">0.7</xsl:when>
|
1407
|
+
<xsl:when test="$titles_length > 250">0.85</xsl:when>
|
1408
|
+
<xsl:otherwise>1</xsl:otherwise>
|
1409
|
+
</xsl:choose>
|
1410
|
+
</xsl:variable>
|
1411
|
+
|
1412
|
+
<xsl:variable name="space-factor">
|
1413
|
+
<xsl:choose>
|
1414
|
+
<xsl:when test="$titles_length > 250">0.3</xsl:when>
|
1415
|
+
<xsl:otherwise>1</xsl:otherwise>
|
1416
|
+
</xsl:choose>
|
1417
|
+
</xsl:variable>
|
1418
|
+
|
1419
|
+
<xsl:variable name="font-size-factor">
|
1420
|
+
<xsl:choose>
|
1421
|
+
<xsl:when test="$titles_length > 350">0.5</xsl:when>
|
1422
|
+
<xsl:when test="$titles_length > 250">0.65</xsl:when>
|
1423
|
+
<xsl:otherwise>1</xsl:otherwise>
|
1424
|
+
</xsl:choose>
|
1425
|
+
</xsl:variable>
|
1426
|
+
|
1255
1427
|
<!-- Appendix titles processing -->
|
1256
1428
|
<xsl:variable name="appendix_num" select="normalize-space((//bipm:bipm-standard)[1]/bipm:bibdata/bipm:ext/bipm:structuredidentifier/bipm:appendix)"/>
|
1257
1429
|
<xsl:if test="$appendix_num != ''">
|
1258
|
-
<fo:block font-size="
|
1259
|
-
<fo:block font-size="
|
1430
|
+
<fo:block font-size="{$font-size-number-factor * 17}pt" font-weight="{$weight-normal}">Annexe <xsl:value-of select="$appendix_num"/></fo:block>
|
1431
|
+
<fo:block font-size="{$font-size-number-factor * 17}pt" font-weight="{$weight-bold}">Appendix <xsl:value-of select="$appendix_num"/></fo:block>
|
1260
1432
|
</xsl:if>
|
1261
|
-
|
1433
|
+
|
1434
|
+
|
1262
1435
|
<xsl:if test="(//bipm:bipm-standard)[1]/bipm:bibdata/bipm:title[@type = 'appendix']">
|
1263
|
-
<fo:block font-size="30.
|
1264
|
-
<fo:block> </fo:block>
|
1265
|
-
<fo:block font-weight="{$weight-normal}"><xsl:
|
1266
|
-
<fo:block> </fo:block>
|
1436
|
+
<fo:block font-size="{$font-size-factor * 30.4}pt">
|
1437
|
+
<fo:block font-size="{$space-factor * 30.4}pt"> </fo:block>
|
1438
|
+
<fo:block font-weight="{$weight-normal}"><xsl:copy-of select="$title_appendix_fr"/></fo:block>
|
1439
|
+
<fo:block font-size="{$space-factor * 30.4}pt"> </fo:block>
|
1267
1440
|
<fo:block font-weight="{$weight-bold}">
|
1268
|
-
<xsl:
|
1269
|
-
<xsl:variable name="mep_text" select="'Mise en pratique'"/>
|
1270
|
-
<xsl:choose>
|
1271
|
-
<xsl:when test="contains($title_en, $mep_text)">
|
1272
|
-
<xsl:value-of select="substring-before($title_en, $mep_text)"/>
|
1273
|
-
<xsl:text> </xsl:text><fo:inline font-style="italic"><xsl:value-of select="$mep_text"/></fo:inline><xsl:text> </xsl:text>
|
1274
|
-
<xsl:value-of select="substring-after($title_en, $mep_text)"/>
|
1275
|
-
</xsl:when>
|
1276
|
-
<xsl:otherwise>
|
1277
|
-
<xsl:value-of select="$title_en"/>
|
1278
|
-
</xsl:otherwise>
|
1279
|
-
</xsl:choose>
|
1441
|
+
<xsl:copy-of select="$title_appendix_en"/>
|
1280
1442
|
</fo:block>
|
1281
1443
|
</fo:block>
|
1282
1444
|
</xsl:if>
|
1283
1445
|
<!-- End Appendix titles processing -->
|
1284
1446
|
|
1447
|
+
<!-- Annex title processing -->
|
1448
|
+
<xsl:if test="(//bipm:bipm-standard)[1]/bipm:bibdata/bipm:title[@type = 'annex']">
|
1449
|
+
<xsl:variable name="annex_num" select="normalize-space((//bipm:bipm-standard)[1]/bipm:bibdata/bipm:ext/bipm:structuredidentifier/bipm:annexid)"/>
|
1450
|
+
<xsl:if test="$annex_num != ''">
|
1451
|
+
<fo:block font-size="{$space-factor * 30.4}pt"> </fo:block>
|
1452
|
+
<!-- Annexe -->
|
1453
|
+
<fo:block font-size="{$font-size-number-factor * 17}pt" font-weight="{$weight-normal}">Annexe <xsl:value-of select="$annex_num"/></fo:block>
|
1454
|
+
<!-- Annex -->
|
1455
|
+
<fo:block font-size="{$font-size-number-factor * 17}pt" font-weight="{$weight-bold}">Annex <xsl:value-of select="$annex_num"/></fo:block>
|
1456
|
+
</xsl:if>
|
1285
1457
|
|
1286
|
-
|
1458
|
+
<fo:block font-size="{$font-size-factor * 30.4}pt">
|
1459
|
+
|
1460
|
+
<xsl:if test="normalize-space($title_annex_fr) != ''">
|
1461
|
+
<fo:block font-size="{$space-factor * 30.4}pt"> </fo:block>
|
1462
|
+
<fo:block font-weight="{$weight-normal}"><xsl:copy-of select="$title_annex_fr"/></fo:block>
|
1463
|
+
</xsl:if>
|
1464
|
+
|
1465
|
+
<xsl:if test="normalize-space($title_annex_en) != ''">
|
1466
|
+
<fo:block font-size="{$space-factor * 30.4}pt"> </fo:block>
|
1467
|
+
<fo:block font-weight="{$weight-bold}">
|
1468
|
+
<xsl:copy-of select="$title_annex_en"/>
|
1469
|
+
</fo:block>
|
1470
|
+
</xsl:if>
|
1471
|
+
</fo:block>
|
1472
|
+
</xsl:if>
|
1473
|
+
<!-- End Annex titles processing -->
|
1474
|
+
|
1475
|
+
<!-- Part titles processing -->
|
1287
1476
|
<xsl:if test="(//bipm:bipm-standard)[1]/bipm:bibdata/bipm:title[@type = 'part']">
|
1288
1477
|
<xsl:variable name="part_num" select="normalize-space((//bipm:bipm-standard)[1]/bipm:bibdata/bipm:ext/bipm:structuredidentifier/bipm:part)"/>
|
1289
1478
|
<xsl:if test="$part_num != ''">
|
1479
|
+
<fo:block font-size="{$space-factor * 30.4}pt"> </fo:block>
|
1290
1480
|
<!-- Part -->
|
1291
|
-
<fo:block font-size="
|
1481
|
+
<fo:block font-size="{$font-size-number-factor * 17}pt" font-weight="{$weight-normal}"><xsl:value-of select="java:replaceAll(java:java.lang.String.new($titles/title-part[@lang='fr']),'#',$part_num)"/></fo:block>
|
1292
1482
|
<!-- Partie -->
|
1293
|
-
<fo:block font-size="
|
1483
|
+
<fo:block font-size="{$font-size-number-factor * 17}pt" font-weight="{$weight-bold}"><xsl:value-of select="java:replaceAll(java:java.lang.String.new($titles/title-part[@lang='en']),'#',$part_num)"/></fo:block>
|
1294
1484
|
</xsl:if>
|
1295
1485
|
|
1296
|
-
<fo:block font-size="30.
|
1486
|
+
<fo:block font-size="{$font-size-factor * 30.4}pt">
|
1297
1487
|
|
1298
|
-
<xsl:if test="(
|
1299
|
-
<fo:block> </fo:block>
|
1300
|
-
<fo:block font-weight="{$weight-normal}"><xsl:
|
1488
|
+
<xsl:if test="normalize-space($title_part_fr) != ''">
|
1489
|
+
<fo:block font-size="{$space-factor * 30.4}pt"> </fo:block>
|
1490
|
+
<fo:block font-weight="{$weight-normal}"><xsl:copy-of select="$title_part_fr"/></fo:block>
|
1301
1491
|
</xsl:if>
|
1302
1492
|
|
1303
|
-
<xsl:if test="(
|
1304
|
-
<fo:block> </fo:block>
|
1493
|
+
<xsl:if test="normalize-space($title_part_en) != ''">
|
1494
|
+
<fo:block font-size="{$space-factor * 30.4}pt"> </fo:block>
|
1305
1495
|
<fo:block font-weight="{$weight-bold}">
|
1306
|
-
<xsl:
|
1307
|
-
<xsl:variable name="mep_text" select="'Mise en pratique'"/>
|
1308
|
-
<xsl:choose>
|
1309
|
-
<xsl:when test="contains($title_en, $mep_text)">
|
1310
|
-
<xsl:value-of select="substring-before($title_en, $mep_text)"/>
|
1311
|
-
<xsl:text> </xsl:text><fo:inline font-style="italic"><xsl:value-of select="$mep_text"/></fo:inline><xsl:text> </xsl:text>
|
1312
|
-
<xsl:value-of select="substring-after($title_en, $mep_text)"/>
|
1313
|
-
</xsl:when>
|
1314
|
-
<xsl:otherwise>
|
1315
|
-
<xsl:value-of select="$title_en"/>
|
1316
|
-
</xsl:otherwise>
|
1317
|
-
</xsl:choose>
|
1496
|
+
<xsl:copy-of select="$title_part_en"/>
|
1318
1497
|
</fo:block>
|
1319
1498
|
</xsl:if>
|
1320
1499
|
</fo:block>
|
@@ -1325,34 +1504,25 @@
|
|
1325
1504
|
<xsl:if test="(//bipm:bipm-standard)[1]/bipm:bibdata/bipm:title[@type = 'subpart']">
|
1326
1505
|
<xsl:variable name="subpart_num" select="normalize-space((//bipm:bipm-standard)[1]/bipm:bibdata/bipm:ext/bipm:structuredidentifier/bipm:subpart)"/>
|
1327
1506
|
<xsl:if test="$subpart_num != ''">
|
1507
|
+
<fo:block font-size="{$space-factor * 30.4}pt"> </fo:block>
|
1328
1508
|
<!-- Sub-part -->
|
1329
|
-
<fo:block font-size="
|
1509
|
+
<fo:block font-size="{$font-size-number-factor * 17}pt" font-weight="{$weight-normal}"><xsl:value-of select="java:replaceAll(java:java.lang.String.new($titles/title-subpart[@lang='fr']),'#',$subpart_num)"/> <xsl:value-of select="$subpart_num"/></fo:block>
|
1330
1510
|
<!-- Partie de sub -->
|
1331
|
-
<fo:block font-size="
|
1511
|
+
<fo:block font-size="{$font-size-number-factor * 17}pt" font-weight="{$weight-bold}"><xsl:value-of select="java:replaceAll(java:java.lang.String.new($titles/title-subpart[@lang='en']),'#',$subpart_num)"/> <xsl:value-of select="$subpart_num"/></fo:block>
|
1332
1512
|
</xsl:if>
|
1333
1513
|
|
1334
|
-
<fo:block font-size="30.
|
1514
|
+
<fo:block font-size="{$font-size-factor * 30.4}pt">
|
1335
1515
|
|
1336
|
-
<xsl:if test="(
|
1337
|
-
<fo:block> </fo:block>
|
1338
|
-
<fo:block font-weight="{$weight-normal}"><xsl:
|
1516
|
+
<xsl:if test="normalize-space($title_subpart_fr) != ''">
|
1517
|
+
<fo:block font-size="{$space-factor * 30.4}pt"> </fo:block>
|
1518
|
+
<fo:block font-weight="{$weight-normal}"><xsl:copy-of select="$title_subpart_fr"/></fo:block>
|
1339
1519
|
</xsl:if>
|
1340
1520
|
|
1341
|
-
<xsl:if test="(
|
1342
|
-
<fo:block> </fo:block>
|
1521
|
+
<xsl:if test="normalize-space($title_subpart_en) != ''">
|
1522
|
+
<fo:block font-size="{$space-factor * 30.4}pt"> </fo:block>
|
1343
1523
|
<fo:block font-weight="{$weight-bold}">
|
1344
|
-
<xsl:
|
1345
|
-
|
1346
|
-
<xsl:choose>
|
1347
|
-
<xsl:when test="contains($title_en, $mep_text)">
|
1348
|
-
<xsl:value-of select="substring-before($title_en, $mep_text)"/>
|
1349
|
-
<xsl:text> </xsl:text><fo:inline font-style="italic"><xsl:value-of select="$mep_text"/></fo:inline><xsl:text> </xsl:text>
|
1350
|
-
<xsl:value-of select="substring-after($title_en, $mep_text)"/>
|
1351
|
-
</xsl:when>
|
1352
|
-
<xsl:otherwise>
|
1353
|
-
<xsl:value-of select="$title_en"/>
|
1354
|
-
</xsl:otherwise>
|
1355
|
-
</xsl:choose>
|
1524
|
+
<xsl:copy-of select="$title_subpart_en"/>
|
1525
|
+
|
1356
1526
|
</fo:block>
|
1357
1527
|
</xsl:if>
|
1358
1528
|
</fo:block>
|
@@ -1444,74 +1614,95 @@
|
|
1444
1614
|
</xsl:template>
|
1445
1615
|
|
1446
1616
|
<xsl:template name="insertInnerCoverPage">
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
|
1451
|
-
<xsl:variable name="languages">
|
1452
|
-
<xsl:call-template name="getLanguages"/>
|
1453
|
-
</xsl:variable>
|
1454
|
-
|
1455
|
-
<xsl:variable name="titles">
|
1456
|
-
<xsl:for-each select="(//bipm:bipm-standard)[1]/bipm:bibdata/bipm:title">
|
1457
|
-
<xsl:copy-of select="."/>
|
1458
|
-
</xsl:for-each>
|
1459
|
-
</xsl:variable>
|
1460
|
-
|
1461
|
-
<xsl:for-each select="xalan:nodeset($languages)/lang">
|
1462
|
-
<xsl:variable name="curr_lang" select="."/>
|
1463
|
-
<xsl:variable name="title" select="xalan:nodeset($titles)//bipm:title[@language = $curr_lang and @type='cover']"/>
|
1464
|
-
<xsl:choose>
|
1465
|
-
<xsl:when test="position() = 1">
|
1466
|
-
<fo:block-container font-size="12pt" font-weight="bold" width="55mm">
|
1467
|
-
<fo:block>
|
1468
|
-
<xsl:call-template name="add-letter-spacing">
|
1469
|
-
<xsl:with-param name="text" select="$title"/>
|
1470
|
-
<xsl:with-param name="letter-spacing" select="0.09"/>
|
1471
|
-
</xsl:call-template>
|
1472
|
-
</fo:block>
|
1473
|
-
<fo:block font-size="10pt">
|
1474
|
-
<fo:block margin-bottom="6pt"> </fo:block>
|
1475
|
-
<fo:block margin-bottom="6pt"> </fo:block>
|
1476
|
-
<fo:block margin-bottom="6pt"> </fo:block>
|
1477
|
-
<fo:block margin-bottom="6pt" line-height="2.4"> </fo:block>
|
1478
|
-
</fo:block>
|
1479
|
-
</fo:block-container>
|
1480
|
-
</xsl:when>
|
1481
|
-
<xsl:otherwise>
|
1482
|
-
<fo:block font-size="10pt" margin-bottom="3pt">
|
1483
|
-
<xsl:variable name="lang_version">
|
1484
|
-
<xsl:call-template name="getLangVersion">
|
1485
|
-
<xsl:with-param name="lang" select="$curr_lang"/>
|
1486
|
-
</xsl:call-template>
|
1487
|
-
</xsl:variable>
|
1488
|
-
<xsl:call-template name="add-letter-spacing">
|
1489
|
-
<xsl:with-param name="text" select="normalize-space($lang_version)"/>
|
1490
|
-
<xsl:with-param name="letter-spacing" select="0.09"/>
|
1491
|
-
</xsl:call-template>
|
1492
|
-
</fo:block>
|
1493
|
-
<fo:block-container font-size="12pt" font-weight="bold" border-top="0.5pt solid black" padding-top="2mm" width="45mm">
|
1494
|
-
<fo:block>
|
1495
|
-
<xsl:call-template name="add-letter-spacing">
|
1496
|
-
<xsl:with-param name="text" select="$title"/>
|
1497
|
-
<xsl:with-param name="letter-spacing" select="0.09"/>
|
1498
|
-
</xsl:call-template>
|
1499
|
-
</fo:block>
|
1500
|
-
</fo:block-container>
|
1501
|
-
</xsl:otherwise>
|
1502
|
-
|
1503
|
-
</xsl:choose>
|
1504
|
-
</xsl:for-each>
|
1617
|
+
|
1618
|
+
<xsl:if test="(//bipm:bipm-standard)[1]/bipm:bibdata/bipm:title[@type='cover']">
|
1619
|
+
|
1620
|
+
<fo:page-sequence master-reference="title-page" format="1" initial-page-number="1" force-page-count="even">
|
1505
1621
|
|
1622
|
+
<fo:flow flow-name="xsl-region-body" font-family="Arial">
|
1506
1623
|
|
1624
|
+
<xsl:variable name="languages">
|
1625
|
+
<xsl:call-template name="getLanguages"/>
|
1626
|
+
</xsl:variable>
|
1507
1627
|
|
1628
|
+
<xsl:variable name="titles">
|
1629
|
+
<xsl:for-each select="(//bipm:bipm-standard)[1]/bipm:bibdata/bipm:title">
|
1630
|
+
<xsl:copy-of select="."/>
|
1631
|
+
</xsl:for-each>
|
1632
|
+
</xsl:variable>
|
1508
1633
|
|
1509
|
-
|
1510
|
-
|
1511
|
-
|
1634
|
+
<xsl:for-each select="xalan:nodeset($languages)/lang">
|
1635
|
+
<xsl:variable name="curr_lang" select="."/>
|
1636
|
+
<xsl:variable name="title" select="xalan:nodeset($titles)//bipm:title[@language = $curr_lang and @type='cover']"/>
|
1637
|
+
<xsl:choose>
|
1638
|
+
<xsl:when test="position() = 1">
|
1639
|
+
<fo:block-container font-size="12pt" font-weight="bold" width="55mm">
|
1640
|
+
<fo:block>
|
1641
|
+
<xsl:call-template name="add-letter-spacing">
|
1642
|
+
<xsl:with-param name="text" select="$title"/>
|
1643
|
+
<xsl:with-param name="letter-spacing" select="0.09"/>
|
1644
|
+
</xsl:call-template>
|
1645
|
+
</fo:block>
|
1646
|
+
<fo:block font-size="10pt">
|
1647
|
+
<fo:block margin-bottom="6pt"> </fo:block>
|
1648
|
+
<fo:block margin-bottom="6pt"> </fo:block>
|
1649
|
+
<fo:block margin-bottom="6pt"> </fo:block>
|
1650
|
+
<fo:block margin-bottom="6pt" line-height="2.4"> </fo:block>
|
1651
|
+
</fo:block>
|
1652
|
+
</fo:block-container>
|
1653
|
+
</xsl:when>
|
1654
|
+
<xsl:otherwise>
|
1655
|
+
<fo:block font-size="10pt" margin-bottom="3pt">
|
1656
|
+
<xsl:variable name="lang_version">
|
1657
|
+
<xsl:call-template name="getLangVersion">
|
1658
|
+
<xsl:with-param name="lang" select="$curr_lang"/>
|
1659
|
+
</xsl:call-template>
|
1660
|
+
</xsl:variable>
|
1661
|
+
<xsl:call-template name="add-letter-spacing">
|
1662
|
+
<xsl:with-param name="text" select="normalize-space($lang_version)"/>
|
1663
|
+
<xsl:with-param name="letter-spacing" select="0.09"/>
|
1664
|
+
</xsl:call-template>
|
1665
|
+
</fo:block>
|
1666
|
+
<fo:block-container font-size="12pt" font-weight="bold" border-top="0.5pt solid black" padding-top="2mm" width="45mm">
|
1667
|
+
<fo:block>
|
1668
|
+
<xsl:call-template name="add-letter-spacing">
|
1669
|
+
<xsl:with-param name="text" select="$title"/>
|
1670
|
+
<xsl:with-param name="letter-spacing" select="0.09"/>
|
1671
|
+
</xsl:call-template>
|
1672
|
+
</fo:block>
|
1673
|
+
</fo:block-container>
|
1674
|
+
</xsl:otherwise>
|
1675
|
+
|
1676
|
+
</xsl:choose>
|
1677
|
+
</xsl:for-each>
|
1678
|
+
|
1679
|
+
|
1680
|
+
|
1681
|
+
|
1682
|
+
</fo:flow>
|
1683
|
+
</fo:page-sequence>
|
1684
|
+
</xsl:if>
|
1512
1685
|
</xsl:template>
|
1513
1686
|
<!-- End Cover Pages -->
|
1514
1687
|
|
1688
|
+
|
1689
|
+
<xsl:template match="bipm:bipm-standard/bipm:bibdata/bipm:title[@language = 'en']/text()" priority="3">
|
1690
|
+
<xsl:variable name="mep_text" select="'Mise en pratique'"/>
|
1691
|
+
<xsl:choose>
|
1692
|
+
<xsl:when test="contains(., $mep_text)">
|
1693
|
+
<xsl:value-of select="substring-before(., $mep_text)"/>
|
1694
|
+
<xsl:text> </xsl:text><fo:inline font-style="italic"><xsl:value-of select="$mep_text"/></fo:inline><xsl:text> </xsl:text>
|
1695
|
+
<xsl:value-of select="substring-after(., $mep_text)"/>
|
1696
|
+
</xsl:when>
|
1697
|
+
<xsl:otherwise>
|
1698
|
+
<xsl:value-of select="."/>
|
1699
|
+
</xsl:otherwise>
|
1700
|
+
</xsl:choose>
|
1701
|
+
</xsl:template>
|
1702
|
+
|
1703
|
+
|
1704
|
+
|
1705
|
+
|
1515
1706
|
<xsl:template name="insertSeparatorPage">
|
1516
1707
|
<!-- 3 Pages with BIPM Metro logo -->
|
1517
1708
|
<fo:page-sequence master-reference="document" force-page-count="no-force">
|
@@ -1608,7 +1799,12 @@
|
|
1608
1799
|
<xsl:attribute name="margin-left">25mm</xsl:attribute>
|
1609
1800
|
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
1610
1801
|
</xsl:if>
|
1611
|
-
|
1802
|
+
<xsl:if test="@type = 'index'">
|
1803
|
+
<xsl:attribute name="font-family">Arial</xsl:attribute>
|
1804
|
+
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
1805
|
+
<xsl:attribute name="font-weight">bold</xsl:attribute>
|
1806
|
+
<xsl:attribute name="space-before">14pt</xsl:attribute>
|
1807
|
+
</xsl:if>
|
1612
1808
|
<!-- <xsl:if test="@level = 2 and not(following-sibling::item[@display='true']) and not(item[@display='true'])">
|
1613
1809
|
<xsl:attribute name="space-after">12pt</xsl:attribute>
|
1614
1810
|
</xsl:if>
|
@@ -1647,11 +1843,12 @@
|
|
1647
1843
|
<xsl:if test="@level >= 3">
|
1648
1844
|
<fo:inline padding-right="2mm"><xsl:value-of select="@section"/></fo:inline>
|
1649
1845
|
</xsl:if>
|
1650
|
-
<xsl:variable name="sectionTitle">
|
1846
|
+
<!-- <xsl:variable name="sectionTitle">
|
1651
1847
|
<xsl:apply-templates select="title"/>
|
1652
|
-
</xsl:variable>
|
1848
|
+
</xsl:variable> -->
|
1653
1849
|
<fo:inline>
|
1654
|
-
<xsl:value-of select="$sectionTitle"/>
|
1850
|
+
<!-- <xsl:value-of select="$sectionTitle"/> -->
|
1851
|
+
<xsl:apply-templates select="title"/>
|
1655
1852
|
</fo:inline>
|
1656
1853
|
<!-- <xsl:text> </xsl:text> -->
|
1657
1854
|
<!-- keep-together.within-line="always" -->
|
@@ -1674,7 +1871,9 @@
|
|
1674
1871
|
<xsl:attribute name="padding-bottom"><xsl:value-of select="normalize-space($space-after)"/></xsl:attribute>
|
1675
1872
|
</xsl:if>
|
1676
1873
|
<fo:block>
|
1677
|
-
<fo:
|
1874
|
+
<fo:basic-link internal-destination="{@id}" fox:alt-text="{title}">
|
1875
|
+
<fo:inline font-family="Arial" font-weight="bold" font-size="10pt"><fo:page-number-citation ref-id="{@id}"/></fo:inline>
|
1876
|
+
</fo:basic-link>
|
1678
1877
|
</fo:block>
|
1679
1878
|
</fo:table-cell>
|
1680
1879
|
</fo:table-row>
|
@@ -1725,7 +1924,11 @@
|
|
1725
1924
|
</xsl:variable>
|
1726
1925
|
|
1727
1926
|
<xsl:variable name="type">
|
1728
|
-
<xsl:
|
1927
|
+
<xsl:choose>
|
1928
|
+
<xsl:when test="@type = 'index'">index</xsl:when>
|
1929
|
+
<xsl:when test="local-name() = 'indexsect'">index</xsl:when>
|
1930
|
+
<xsl:otherwise><xsl:value-of select="local-name()"/></xsl:otherwise>
|
1931
|
+
</xsl:choose>
|
1729
1932
|
</xsl:variable>
|
1730
1933
|
|
1731
1934
|
<item id="{@id}" level="{$level}" section="{$section}" type="{$type}" display="{$display}">
|
@@ -1735,11 +1938,19 @@
|
|
1735
1938
|
<title>
|
1736
1939
|
<xsl:apply-templates select="xalan:nodeset($title)" mode="contents_item"/>
|
1737
1940
|
</title>
|
1738
|
-
<xsl:
|
1941
|
+
<xsl:if test="$type != 'index'">
|
1942
|
+
<xsl:apply-templates mode="contents"/>
|
1943
|
+
</xsl:if>
|
1739
1944
|
</item>
|
1740
1945
|
</xsl:if>
|
1741
1946
|
</xsl:template>
|
1742
1947
|
|
1948
|
+
<xsl:template match="*[local-name() = 'strong']" mode="contents_item" priority="2">
|
1949
|
+
<!-- <xsl:copy> -->
|
1950
|
+
<xsl:apply-templates mode="contents_item"/>
|
1951
|
+
<!-- </xsl:copy> -->
|
1952
|
+
</xsl:template>
|
1953
|
+
|
1743
1954
|
<!-- ============================= -->
|
1744
1955
|
<!-- ============================= -->
|
1745
1956
|
|
@@ -2966,29 +3177,38 @@
|
|
2966
3177
|
<xsl:choose>
|
2967
3178
|
<xsl:when test="@pagenumber='true'"><!-- ToC in Appendix, and page in references like this: « Le BIPM et la Convention du Mètre » (page 5). -->
|
2968
3179
|
<fo:inline> <!-- font-weight="bold" -->
|
3180
|
+
<!-- DEBUG -->
|
3181
|
+
<xsl:if test="@id">
|
3182
|
+
<!-- <xsl:value-of select="concat('[', @id,']')"/> -->
|
3183
|
+
<xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
|
3184
|
+
</xsl:if>
|
2969
3185
|
<fo:page-number-citation ref-id="{@target}"/>
|
3186
|
+
<!-- <xsl:if test="@to">–<fo:page-number-citation ref-id="{@to}"/></xsl:if> -->
|
2970
3187
|
</fo:inline>
|
2971
3188
|
</xsl:when>
|
2972
3189
|
<xsl:when test="starts-with(normalize-space(following-sibling::node()[1]), ')')">
|
2973
3190
|
<!-- add , see p. N -->
|
2974
3191
|
<!-- add , voir p. N -->
|
2975
|
-
<xsl:apply-templates/>
|
2976
|
-
<xsl:text>, </xsl:text>
|
3192
|
+
<xsl:apply-templates/>
|
2977
3193
|
|
2978
|
-
<xsl:variable name="
|
2979
|
-
<xsl:if test="$nosee != 'true'">
|
2980
|
-
<xsl:variable name="curr_lang" select="ancestor::bipm:bipm-standard/bipm:bibdata/bipm:language[@current = 'true']"/>
|
2981
|
-
<fo:inline>
|
2982
|
-
<xsl:if test="ancestor::bipm:note_side">
|
2983
|
-
<xsl:attribute name="font-style">italic</xsl:attribute>
|
2984
|
-
</xsl:if>
|
2985
|
-
<xsl:value-of select="ancestor::bipm:bipm-standard/bipm:localized-strings/bipm:localized-string[@key='see' and @language=$curr_lang]"/>
|
2986
|
-
</fo:inline>
|
2987
|
-
<xsl:text> </xsl:text>
|
2988
|
-
</xsl:if>
|
3194
|
+
<xsl:variable name="nopage" select="normalize-space(@nopage)"/>
|
2989
3195
|
|
2990
|
-
<xsl:
|
2991
|
-
|
3196
|
+
<xsl:if test="$nopage != 'true'">
|
3197
|
+
<xsl:text>, </xsl:text>
|
3198
|
+
<xsl:variable name="nosee" select="normalize-space(@nosee)"/>
|
3199
|
+
<xsl:if test="$nosee != 'true'">
|
3200
|
+
<xsl:variable name="curr_lang" select="ancestor::bipm:bipm-standard/bipm:bibdata/bipm:language[@current = 'true']"/>
|
3201
|
+
<fo:inline>
|
3202
|
+
<xsl:if test="ancestor::bipm:note_side">
|
3203
|
+
<xsl:attribute name="font-style">italic</xsl:attribute>
|
3204
|
+
</xsl:if>
|
3205
|
+
<xsl:value-of select="ancestor::bipm:bipm-standard/bipm:localized-strings/bipm:localized-string[@key='see' and @language=$curr_lang]"/>
|
3206
|
+
</fo:inline>
|
3207
|
+
<xsl:text> </xsl:text>
|
3208
|
+
</xsl:if>
|
3209
|
+
<xsl:text>p. </xsl:text>
|
3210
|
+
<fo:page-number-citation ref-id="{@target}"/>
|
3211
|
+
</xsl:if>
|
2992
3212
|
</xsl:when>
|
2993
3213
|
<xsl:otherwise>
|
2994
3214
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
@@ -3045,6 +3265,9 @@
|
|
3045
3265
|
</fo:inline>
|
3046
3266
|
</xsl:template>
|
3047
3267
|
|
3268
|
+
<!-- DEBUG -->
|
3269
|
+
<!-- <xsl:template match="mathml:math" priority="10"/> -->
|
3270
|
+
|
3048
3271
|
<!-- for chemical expressions, when prefix superscripted -->
|
3049
3272
|
<xsl:template match="mathml:msup[count(*) = 2 and count(mathml:mrow) = 2]/mathml:mrow[1][count(*) = 1 and mathml:mtext and (mathml:mtext/text() = '' or not(mathml:mtext/text()))]/mathml:mtext" mode="mathml" priority="2">
|
3050
3273
|
<mathml:mspace height="1ex"/>
|
@@ -3073,6 +3296,48 @@
|
|
3073
3296
|
</xsl:copy>
|
3074
3297
|
</xsl:template>
|
3075
3298
|
|
3299
|
+
<!-- issue 'over bar above equation with sub' fixing -->
|
3300
|
+
<xsl:template match="mathml:msub/mathml:mrow[1][mathml:mover and count(following-sibling::*) = 1 and following-sibling::mathml:mrow]" mode="mathml" priority="2">
|
3301
|
+
<mathml:mstyle>
|
3302
|
+
<xsl:copy-of select="."/>
|
3303
|
+
</mathml:mstyle>
|
3304
|
+
</xsl:template>
|
3305
|
+
|
3306
|
+
<!-- Decrease space between ()
|
3307
|
+
from:
|
3308
|
+
<mfenced open="(" close=")">
|
3309
|
+
<mrow>
|
3310
|
+
<mtext>Cu</mtext>
|
3311
|
+
</mrow>
|
3312
|
+
</mfenced>
|
3313
|
+
to:
|
3314
|
+
<mrow>
|
3315
|
+
<mtext>(Cu)</mtext>
|
3316
|
+
</mrow> -->
|
3317
|
+
<xsl:template match="mathml:mfenced[count(*) = 1 and *[count(*) = 1] and */*[count(*) = 0]] | mathml:mfenced[count(*) = 1 and *[count(*) = 1] and */*[count(*) = 1] and */*/*[count(*) = 0]]" mode="mathml" priority="2">
|
3318
|
+
<xsl:apply-templates mode="mathml"/>
|
3319
|
+
</xsl:template>
|
3320
|
+
|
3321
|
+
<xsl:template match="mathml:mfenced[count(*) = 1]/*[count(*) = 1]/*[count(*) = 0] | mathml:mfenced[count(*) = 1]/*[count(*) = 1]/*[count(*) = 1]/*[count(*) = 0]" mode="mathml" priority="2"> <!-- [not(following-sibling::*) and not(preceding-sibling::*)] -->
|
3322
|
+
<xsl:copy>
|
3323
|
+
<xsl:apply-templates select="@*" mode="mathml"/>
|
3324
|
+
<xsl:value-of select="ancestor::mathml:mfenced/@open"/>
|
3325
|
+
<xsl:value-of select="."/>
|
3326
|
+
<xsl:value-of select="ancestor::mathml:mfenced/@close"/>
|
3327
|
+
</xsl:copy>
|
3328
|
+
</xsl:template>
|
3329
|
+
|
3330
|
+
<!-- Decrease height of / and | -->
|
3331
|
+
<xsl:template match="mathml:mo[normalize-space(text()) = '/' or normalize-space(text()) = '|']" mode="mathml">
|
3332
|
+
<xsl:copy>
|
3333
|
+
<xsl:apply-templates select="@*" mode="mathml"/>
|
3334
|
+
<xsl:if test="not(@stretchy)">
|
3335
|
+
<xsl:attribute name="stretchy">false</xsl:attribute>
|
3336
|
+
</xsl:if>
|
3337
|
+
<xsl:apply-templates mode="mathml"/>
|
3338
|
+
</xsl:copy>
|
3339
|
+
</xsl:template>
|
3340
|
+
|
3076
3341
|
<xsl:template name="insertHeaderFooter">
|
3077
3342
|
<xsl:param name="header-title"/>
|
3078
3343
|
<fo:static-content flow-name="header-odd">
|
@@ -3199,7 +3464,12 @@
|
|
3199
3464
|
<xsl:value-of select="concat($day, ' ', $monthStr, ' ', $year)"/>
|
3200
3465
|
</xsl:when>
|
3201
3466
|
<xsl:otherwise>
|
3202
|
-
<xsl:value-of select="concat($monthStr, ' ', $day, ', ', $year)"/>
|
3467
|
+
<!-- <xsl:value-of select="concat($monthStr, ' ', $day, ', ', $year)"/> -->
|
3468
|
+
<xsl:value-of select="$monthStr"/>
|
3469
|
+
<xsl:text> </xsl:text>
|
3470
|
+
<xsl:value-of select="$day"/>
|
3471
|
+
<xsl:if test="$day != '' and $year != ''"><xsl:text>, </xsl:text></xsl:if>
|
3472
|
+
<xsl:value-of select="$year"/>
|
3203
3473
|
</xsl:otherwise>
|
3204
3474
|
</xsl:choose>
|
3205
3475
|
|
@@ -3238,7 +3508,257 @@
|
|
3238
3508
|
</fo:page-sequence>
|
3239
3509
|
</xsl:template>
|
3240
3510
|
-->
|
3241
|
-
|
3511
|
+
|
3512
|
+
|
3513
|
+
<!-- =================== -->
|
3514
|
+
<!-- Index processing -->
|
3515
|
+
<!-- =================== -->
|
3516
|
+
|
3517
|
+
<xsl:template match="@*|node()" mode="index_add_id">
|
3518
|
+
<xsl:copy>
|
3519
|
+
<xsl:apply-templates select="@*|node()" mode="index_add_id"/>
|
3520
|
+
</xsl:copy>
|
3521
|
+
</xsl:template>
|
3522
|
+
|
3523
|
+
<xsl:template match="bipm:xref" mode="index_add_id">
|
3524
|
+
<xsl:variable name="id">
|
3525
|
+
<xsl:call-template name="generateIndexXrefId"/>
|
3526
|
+
</xsl:variable>
|
3527
|
+
<xsl:copy> <!-- add id to xref -->
|
3528
|
+
<xsl:apply-templates select="@*" mode="index_add_id"/>
|
3529
|
+
<xsl:attribute name="id">
|
3530
|
+
<xsl:value-of select="$id"/>
|
3531
|
+
</xsl:attribute>
|
3532
|
+
<xsl:apply-templates mode="index_add_id"/>
|
3533
|
+
</xsl:copy>
|
3534
|
+
<!-- split <xref target="bm1" to="End" pagenumber="true"> to two xref:
|
3535
|
+
<xref target="bm1" pagenumber="true"> and <xref target="End" pagenumber="true"> -->
|
3536
|
+
<xsl:if test="@to">
|
3537
|
+
<xsl:value-of select="$dash"/>
|
3538
|
+
<xsl:copy>
|
3539
|
+
<xsl:copy-of select="@*"/>
|
3540
|
+
<xsl:attribute name="target"><xsl:value-of select="@to"/></xsl:attribute>
|
3541
|
+
<xsl:attribute name="id">
|
3542
|
+
<xsl:value-of select="$id"/><xsl:text>_to</xsl:text>
|
3543
|
+
</xsl:attribute>
|
3544
|
+
<xsl:apply-templates mode="index_add_id"/>
|
3545
|
+
</xsl:copy>
|
3546
|
+
</xsl:if>
|
3547
|
+
</xsl:template>
|
3548
|
+
|
3549
|
+
<xsl:template match="@*|node()" mode="index_update">
|
3550
|
+
<xsl:copy>
|
3551
|
+
<xsl:apply-templates select="@*|node()" mode="index_update"/>
|
3552
|
+
</xsl:copy>
|
3553
|
+
</xsl:template>
|
3554
|
+
|
3555
|
+
<!-- <xsl:template match="bipm:clause[@type = 'index']//bipm:li" mode="index_update"> -->
|
3556
|
+
<xsl:template match="bipm:indexsect//bipm:li" mode="index_update">
|
3557
|
+
<xsl:copy>
|
3558
|
+
<xsl:apply-templates select="@*" mode="index_update"/>
|
3559
|
+
<xsl:apply-templates select="node()[1]" mode="process_li_element"/>
|
3560
|
+
</xsl:copy>
|
3561
|
+
</xsl:template>
|
3562
|
+
|
3563
|
+
<!-- <xsl:template match="bipm:clause[@type = 'index']//bipm:li/node()" mode="process_li_element" priority="2"> -->
|
3564
|
+
<xsl:template match="bipm:indexsect//bipm:li/node()" mode="process_li_element" priority="2">
|
3565
|
+
<xsl:param name="element"/>
|
3566
|
+
<xsl:param name="remove" select="'false'"/>
|
3567
|
+
<xsl:param name="target"/>
|
3568
|
+
<!-- <node></node> -->
|
3569
|
+
<xsl:choose>
|
3570
|
+
<xsl:when test="self::text() and (normalize-space(.) = ',' or normalize-space(.) = $dash) and $remove = 'true'">
|
3571
|
+
<!-- skip text (i.e. remove it) and process next element -->
|
3572
|
+
<!-- [removed_<xsl:value-of select="."/>] -->
|
3573
|
+
<xsl:apply-templates select="following-sibling::node()[1]" mode="process_li_element">
|
3574
|
+
<xsl:with-param name="target"><xsl:value-of select="$target"/></xsl:with-param>
|
3575
|
+
</xsl:apply-templates>
|
3576
|
+
</xsl:when>
|
3577
|
+
<xsl:when test="self::text()">
|
3578
|
+
<xsl:value-of select="."/>
|
3579
|
+
<xsl:apply-templates select="following-sibling::node()[1]" mode="process_li_element"/>
|
3580
|
+
</xsl:when>
|
3581
|
+
<xsl:when test="self::* and local-name(.) = 'xref'">
|
3582
|
+
<xsl:variable name="id" select="@id"/>
|
3583
|
+
<xsl:variable name="page" select="$index//item[@id = $id]"/>
|
3584
|
+
<xsl:variable name="id_next" select="following-sibling::bipm:xref[1]/@id"/>
|
3585
|
+
<xsl:variable name="page_next" select="$index//item[@id = $id_next]"/>
|
3586
|
+
|
3587
|
+
<xsl:variable name="id_prev" select="preceding-sibling::bipm:xref[1]/@id"/>
|
3588
|
+
<xsl:variable name="page_prev" select="$index//item[@id = $id_prev]"/>
|
3589
|
+
|
3590
|
+
<xsl:choose>
|
3591
|
+
<!-- 2nd pass -->
|
3592
|
+
<!-- if page is equal to page for next and page is not the end of range -->
|
3593
|
+
<xsl:when test="$page != '' and $page_next != '' and $page = $page_next and not(contains($page, '_to'))"> <!-- case: 12, 12-14 -->
|
3594
|
+
<!-- skip element (i.e. remove it) and remove next text ',' -->
|
3595
|
+
<!-- [removed_xref] -->
|
3596
|
+
|
3597
|
+
<xsl:apply-templates select="following-sibling::node()[1]" mode="process_li_element">
|
3598
|
+
<xsl:with-param name="remove">true</xsl:with-param>
|
3599
|
+
<xsl:with-param name="target">
|
3600
|
+
<xsl:choose>
|
3601
|
+
<xsl:when test="$target != ''"><xsl:value-of select="$target"/></xsl:when>
|
3602
|
+
<xsl:otherwise><xsl:value-of select="@target"/></xsl:otherwise>
|
3603
|
+
</xsl:choose>
|
3604
|
+
</xsl:with-param>
|
3605
|
+
</xsl:apply-templates>
|
3606
|
+
</xsl:when>
|
3607
|
+
|
3608
|
+
<xsl:when test="$page != '' and $page_prev != '' and $page = $page_prev and contains($page_prev, '_to')"> <!-- case: 12-14, 14, ... -->
|
3609
|
+
<!-- remove xref -->
|
3610
|
+
<xsl:apply-templates select="following-sibling::node()[1]" mode="process_li_element">
|
3611
|
+
<xsl:with-param name="remove">true</xsl:with-param>
|
3612
|
+
</xsl:apply-templates>
|
3613
|
+
</xsl:when>
|
3614
|
+
|
3615
|
+
<xsl:otherwise>
|
3616
|
+
<xsl:apply-templates select="." mode="xref_copy">
|
3617
|
+
<xsl:with-param name="target" select="$target"/>
|
3618
|
+
</xsl:apply-templates>
|
3619
|
+
<xsl:apply-templates select="following-sibling::node()[1]" mode="process_li_element"/>
|
3620
|
+
</xsl:otherwise>
|
3621
|
+
</xsl:choose>
|
3622
|
+
</xsl:when>
|
3623
|
+
<xsl:when test="self::* and local-name(.) = 'ul'">
|
3624
|
+
<!-- ul -->
|
3625
|
+
<xsl:apply-templates select="." mode="index_update"/>
|
3626
|
+
</xsl:when>
|
3627
|
+
<xsl:otherwise>
|
3628
|
+
<xsl:apply-templates select="." mode="xref_copy">
|
3629
|
+
<xsl:with-param name="target" select="$target"/>
|
3630
|
+
</xsl:apply-templates>
|
3631
|
+
<xsl:apply-templates select="following-sibling::node()[1]" mode="process_li_element"/>
|
3632
|
+
</xsl:otherwise>
|
3633
|
+
</xsl:choose>
|
3634
|
+
</xsl:template>
|
3635
|
+
|
3636
|
+
<xsl:template match="@*|node()" mode="xref_copy">
|
3637
|
+
<xsl:param name="target"/>
|
3638
|
+
<xsl:copy>
|
3639
|
+
<xsl:apply-templates select="@*" mode="xref_copy"/>
|
3640
|
+
<xsl:if test="$target != '' and not(xalan:nodeset($bookmark_in_fn)//bookmark[. = $target])">
|
3641
|
+
<xsl:attribute name="target"><xsl:value-of select="$target"/></xsl:attribute>
|
3642
|
+
</xsl:if>
|
3643
|
+
<xsl:apply-templates select="node()" mode="xref_copy"/>
|
3644
|
+
</xsl:copy>
|
3645
|
+
</xsl:template>
|
3646
|
+
|
3647
|
+
|
3648
|
+
<xsl:template name="generateIndexXrefId">
|
3649
|
+
<xsl:variable name="level" select="count(ancestor::bipm:ul)"/>
|
3650
|
+
<!-- <xsl:variable name="parent_ul_id" select="generate-id(ancestor::bipm:ul[1])"/>
|
3651
|
+
<xsl:variable name="item_number" select="count(ancestor::bipm:li[ancestor::bipm:ul[generate-id() = $parent_ul_id]])"/> -->
|
3652
|
+
<xsl:variable name="docid">
|
3653
|
+
<xsl:call-template name="getDocumentId"/>
|
3654
|
+
</xsl:variable>
|
3655
|
+
<xsl:variable name="item_number">
|
3656
|
+
<!-- <xsl:number count="bipm:li[ancestor::bipm:clause[@type = 'index']]" level="any" /> -->
|
3657
|
+
<xsl:number count="bipm:li[ancestor::bipm:indexsect]" level="any"/>
|
3658
|
+
</xsl:variable>
|
3659
|
+
<xsl:variable name="xref_number"><xsl:number count="bipm:xref"/></xsl:variable>
|
3660
|
+
<xsl:value-of select="concat($docid, '_', $item_number, '_', $xref_number)"/> <!-- $level, '_', -->
|
3661
|
+
</xsl:template>
|
3662
|
+
|
3663
|
+
<!-- <xsl:template match="bipm:clause[@type = 'index']" /> -->
|
3664
|
+
<!-- <xsl:template match="bipm:clause[@type = 'index']" mode="index"> -->
|
3665
|
+
<xsl:template match="bipm:indexsect"/>
|
3666
|
+
<xsl:template match="bipm:indexsect" mode="index">
|
3667
|
+
|
3668
|
+
<fo:page-sequence master-reference="index" force-page-count="no-force">
|
3669
|
+
<xsl:variable name="header-title">
|
3670
|
+
<xsl:choose>
|
3671
|
+
<xsl:when test="./bipm:title[1]/*[local-name() = 'tab']">
|
3672
|
+
<xsl:apply-templates select="./bipm:title[1]/*[local-name() = 'tab'][1]/following-sibling::node()" mode="header"/>
|
3673
|
+
</xsl:when>
|
3674
|
+
<xsl:otherwise>
|
3675
|
+
<xsl:apply-templates select="./bipm:title[1]" mode="header"/>
|
3676
|
+
</xsl:otherwise>
|
3677
|
+
</xsl:choose>
|
3678
|
+
</xsl:variable>
|
3679
|
+
<xsl:call-template name="insertHeaderFooter">
|
3680
|
+
<xsl:with-param name="header-title" select="$header-title"/>
|
3681
|
+
</xsl:call-template>
|
3682
|
+
|
3683
|
+
<fo:flow flow-name="xsl-region-body">
|
3684
|
+
<fo:block id="{@id}" span="all">
|
3685
|
+
<xsl:apply-templates select="bipm:title"/>
|
3686
|
+
</fo:block>
|
3687
|
+
<fo:block>
|
3688
|
+
<xsl:apply-templates select="*[not(local-name() = 'title')]"/>
|
3689
|
+
|
3690
|
+
<!-- TEST <xsl:variable name="alphabet" select="'ABCDEFGHIJKLMNOPQRSTUVWXYZ'"/>
|
3691
|
+
<xsl:for-each select="(document('')//node())[position() < 26]">
|
3692
|
+
<xsl:variable name="letter" select="substring($alphabet, position(), 1)"/>
|
3693
|
+
<xsl:if test="position() <= 3">
|
3694
|
+
<fo:block font-size="10pt" font-weight="bold" margin-bottom="3pt" keep-with-next="always"><xsl:value-of select="$letter"/>, DEBUG</fo:block>
|
3695
|
+
|
3696
|
+
<fo:block>accélération due à la pesanteur (gn), 33</fo:block>
|
3697
|
+
<fo:block>activité d’un radionucléide, 26, 27</fo:block>
|
3698
|
+
<fo:block>ampère (A), 13, 16, 18, 20, 28, 44, 49, 51, 52, 54, 55, 71, 81, 83-86, 89, 91-94, 97, 99, 100, 101, 103-104</fo:block>
|
3699
|
+
<fo:block>angle, 25, 26, 33, 37 38, 40, 48, 55, 65</fo:block>
|
3700
|
+
<fo:block>atmosphère normale, 52</fo:block>
|
3701
|
+
<fo:block>atome gramme, 104</fo:block>
|
3702
|
+
<fo:block>atome de césium, niveaux hyperfins, 15, 17, 18, 56, 58, 83, 85, 92, 94, 97, 98, 102</fo:block>
|
3703
|
+
<xsl:if test="position() != last()"><fo:block> </fo:block></xsl:if>
|
3704
|
+
</xsl:if>
|
3705
|
+
</xsl:for-each> -->
|
3706
|
+
</fo:block>
|
3707
|
+
</fo:flow>
|
3708
|
+
</fo:page-sequence>
|
3709
|
+
</xsl:template>
|
3710
|
+
|
3711
|
+
<!-- <xsl:template match="bipm:clause[@type = 'index']/bipm:title" priority="4"> -->
|
3712
|
+
<xsl:template match="bipm:indexsect/bipm:title" priority="4">
|
3713
|
+
<fo:block font-size="16pt" font-weight="bold" margin-bottom="84pt" margin-left="-18mm">
|
3714
|
+
<!-- Index -->
|
3715
|
+
<xsl:apply-templates/>
|
3716
|
+
</fo:block>
|
3717
|
+
</xsl:template>
|
3718
|
+
|
3719
|
+
<!-- <xsl:template match="bipm:clause[@type = 'index']/bipm:clause" priority="4"> -->
|
3720
|
+
<xsl:template match="bipm:indexsect/bipm:clause" priority="4">
|
3721
|
+
<xsl:apply-templates/>
|
3722
|
+
<fo:block>
|
3723
|
+
<xsl:if test="following-sibling::bipm:clause">
|
3724
|
+
<fo:block> </fo:block>
|
3725
|
+
</xsl:if>
|
3726
|
+
</fo:block>
|
3727
|
+
</xsl:template>
|
3728
|
+
|
3729
|
+
<!-- <xsl:template match="bipm:clause[@type = 'index']/bipm:clause/bipm:title" priority="4"> -->
|
3730
|
+
<xsl:template match="bipm:indexsect/bipm:clause/bipm:title" priority="4">
|
3731
|
+
<!-- Letter A, B, C, ... -->
|
3732
|
+
<fo:block font-size="10pt" font-weight="bold" margin-bottom="3pt" keep-with-next="always">
|
3733
|
+
<xsl:apply-templates/>
|
3734
|
+
</fo:block>
|
3735
|
+
</xsl:template>
|
3736
|
+
|
3737
|
+
<!-- <xsl:template match="bipm:clause[@type = 'index']//bipm:ul" priority="4"> -->
|
3738
|
+
<xsl:template match="bipm:indexsect//bipm:ul" priority="4">
|
3739
|
+
<xsl:apply-templates/>
|
3740
|
+
</xsl:template>
|
3741
|
+
|
3742
|
+
<!-- <xsl:template match="bipm:clause[@type = 'index']//bipm:li" priority="4"> -->
|
3743
|
+
<xsl:template match="bipm:indexsect//bipm:li" priority="4">
|
3744
|
+
<xsl:variable name="level" select="count(ancestor::bipm:ul)"/>
|
3745
|
+
<fo:block start-indent="{5 * $level}mm" text-indent="-5mm">
|
3746
|
+
<xsl:apply-templates/>
|
3747
|
+
</fo:block>
|
3748
|
+
</xsl:template>
|
3749
|
+
|
3750
|
+
<xsl:template match="bipm:bookmark">
|
3751
|
+
<fo:inline id="{@id}"/>
|
3752
|
+
</xsl:template>
|
3753
|
+
|
3754
|
+
<xsl:template match="*[local-name() = 'stem']/text()">
|
3755
|
+
<xsl:value-of select="normalize-space()"/>
|
3756
|
+
</xsl:template>
|
3757
|
+
|
3758
|
+
<!-- =================== -->
|
3759
|
+
<!-- End of Index processing -->
|
3760
|
+
<!-- =================== -->
|
3761
|
+
|
3242
3762
|
<xsl:variable name="Image-Logo-BIPM">
|
3243
3763
|
<xsl:text>iVBORw0KGgoAAAANSUhEUgAAAaIAAADRCAYAAACOyra0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2dpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE0IDc5LjE1Njc5NywgMjAxNC8wOC8yMC0wOTo1MzowMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpGOTdGMTE3NDA3MjA2ODExODIyQUJFNEQ3OTI1MkI2OSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpCMTdGMTkxM0YzNEIxMUVBOEZCREQ0ODFDQjY0Qz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ODuMdqUOaLqzA3q5nkaqiicu5HST1hexa7nxaMxtbW1zBsT0H3fopkjw0AmbNLfT9BkMhnWAsYHC25FlWlyerZHUlqWR0lZpSWjLoXcva19Upvm1hnQ5pvJZLx0vbSMnKLWd9KyOtx9+LQD9ZmHY4skT6eWSa/SK6e8im+c9iTP+X5GbvtHOYVtmQyGGNKSLUwMizs4tbzr3q75XTMjgyZjeEEPGblFra/fTe8qlkhZFHe6t7FPatfK9hGSN/lVzo/G0D09M69t8uOcDpCBiohV1NW97XWosoBbhGMiwsDAwMDAeCXgZAUMDAwMDExEGBgYGBiYiDAwMDAwMN4J/i/AACGmCZ5CpEpCAAAAAElFTkSuQmCC</xsl:text>
|
3244
3764
|
</xsl:variable>
|
@@ -3571,7 +4091,7 @@
|
|
3571
4091
|
</xsl:if>
|
3572
4092
|
</xsl:template>
|
3573
4093
|
|
3574
|
-
<xsl:template match="node()" mode="change_id">
|
4094
|
+
<!-- <xsl:template match="node()" mode="change_id">
|
3575
4095
|
<xsl:param name="lang"/>
|
3576
4096
|
<xsl:param name="ignoreReferenceFrom"/>
|
3577
4097
|
<xsl:copy>
|
@@ -3606,13 +4126,15 @@
|
|
3606
4126
|
<xsl:value-of select="."/>
|
3607
4127
|
</xsl:attribute>
|
3608
4128
|
</xsl:when>
|
3609
|
-
<xsl:when test="local-name() = 'id' or
|
4129
|
+
<xsl:when test="local-name() = 'id' or
|
4130
|
+
local-name() = 'bibitemid' or
|
4131
|
+
(local-name() = 'target' and local-name(..) = 'xref')">
|
3610
4132
|
<xsl:attribute name="{local-name()}">
|
3611
4133
|
<xsl:value-of select="."/>_<xsl:value-of select="$lang"/><xsl:if test="$doctype = 'guide'">_<xsl:number count="bipm:bipm-standard" level="any"/></xsl:if>
|
3612
4134
|
</xsl:attribute>
|
3613
4135
|
</xsl:when>
|
3614
4136
|
<xsl:otherwise>
|
3615
|
-
|
4137
|
+
no change
|
3616
4138
|
<xsl:copy>
|
3617
4139
|
<xsl:apply-templates select="@*" mode="change_id">
|
3618
4140
|
<xsl:with-param name="lang" select="$lang"/>
|
@@ -3621,7 +4143,7 @@
|
|
3621
4143
|
</xsl:copy>
|
3622
4144
|
</xsl:otherwise>
|
3623
4145
|
</xsl:choose>
|
3624
|
-
</xsl:template>
|
4146
|
+
</xsl:template> -->
|
3625
4147
|
|
3626
4148
|
|
3627
4149
|
|
@@ -3991,6 +4513,9 @@
|
|
3991
4513
|
|
3992
4514
|
</xsl:attribute-set><xsl:attribute-set name="termnote-name-style">
|
3993
4515
|
|
4516
|
+
|
4517
|
+
<xsl:attribute name="padding-right">1mm</xsl:attribute>
|
4518
|
+
|
3994
4519
|
</xsl:attribute-set><xsl:attribute-set name="quote-style">
|
3995
4520
|
|
3996
4521
|
|
@@ -3998,6 +4523,7 @@
|
|
3998
4523
|
|
3999
4524
|
|
4000
4525
|
|
4526
|
+
|
4001
4527
|
</xsl:attribute-set><xsl:attribute-set name="quote-source-style">
|
4002
4528
|
|
4003
4529
|
|
@@ -4124,209 +4650,242 @@
|
|
4124
4650
|
</xsl:template><xsl:template match="*[local-name()='td']//text() | *[local-name()='th']//text() | *[local-name()='dt']//text() | *[local-name()='dd']//text()" priority="1">
|
4125
4651
|
<!-- <xsl:call-template name="add-zero-spaces"/> -->
|
4126
4652
|
<xsl:call-template name="add-zero-spaces-java"/>
|
4127
|
-
</xsl:template><xsl:template match="*[local-name()='table']">
|
4653
|
+
</xsl:template><xsl:template match="*[local-name()='table']" name="table">
|
4128
4654
|
|
4129
|
-
<xsl:variable name="
|
4130
|
-
<xsl:call-template name="getSimpleTable"/>
|
4131
|
-
</xsl:variable>
|
4655
|
+
<xsl:variable name="table">
|
4132
4656
|
|
4133
|
-
|
4134
|
-
|
4135
|
-
|
4136
|
-
|
4137
|
-
<!-- <xsl:if test="$namespace = 'bipm'">
|
4138
|
-
<fo:block> </fo:block>
|
4139
|
-
</xsl:if> -->
|
4140
|
-
|
4141
|
-
<!-- $namespace = 'iso' or -->
|
4142
|
-
|
4143
|
-
<xsl:apply-templates select="*[local-name()='name']" mode="presentation"/>
|
4144
|
-
|
4145
|
-
|
4146
|
-
|
4147
|
-
<xsl:call-template name="fn_name_display"/>
|
4657
|
+
<xsl:variable name="simple-table">
|
4658
|
+
<xsl:call-template name="getSimpleTable"/>
|
4659
|
+
</xsl:variable>
|
4148
4660
|
|
4149
4661
|
|
4150
|
-
|
4151
|
-
<xsl:variable name="cols-count" select="count(xalan:nodeset($simple-table)//tr[1]/td)"/>
|
4152
|
-
|
4153
|
-
<!-- <xsl:variable name="cols-count">
|
4154
|
-
<xsl:choose>
|
4155
|
-
<xsl:when test="*[local-name()='thead']">
|
4156
|
-
<xsl:call-template name="calculate-columns-numbers">
|
4157
|
-
<xsl:with-param name="table-row" select="*[local-name()='thead']/*[local-name()='tr'][1]"/>
|
4158
|
-
</xsl:call-template>
|
4159
|
-
</xsl:when>
|
4160
|
-
<xsl:otherwise>
|
4161
|
-
<xsl:call-template name="calculate-columns-numbers">
|
4162
|
-
<xsl:with-param name="table-row" select="*[local-name()='tbody']/*[local-name()='tr'][1]"/>
|
4163
|
-
</xsl:call-template>
|
4164
|
-
</xsl:otherwise>
|
4165
|
-
</xsl:choose>
|
4166
|
-
</xsl:variable> -->
|
4167
|
-
<!-- cols-count=<xsl:copy-of select="$cols-count"/> -->
|
4168
|
-
<!-- cols-count2=<xsl:copy-of select="$cols-count2"/> -->
|
4169
|
-
|
4170
|
-
|
4171
|
-
|
4172
|
-
<xsl:variable name="colwidths">
|
4173
|
-
<xsl:if test="not(*[local-name()='colgroup']/*[local-name()='col'])">
|
4174
|
-
<xsl:call-template name="calculate-column-widths">
|
4175
|
-
<xsl:with-param name="cols-count" select="$cols-count"/>
|
4176
|
-
<xsl:with-param name="table" select="$simple-table"/>
|
4177
|
-
</xsl:call-template>
|
4178
|
-
</xsl:if>
|
4179
|
-
</xsl:variable>
|
4180
|
-
<!-- colwidths=<xsl:copy-of select="$colwidths"/> -->
|
4181
|
-
|
4182
|
-
<!-- <xsl:variable name="colwidths2">
|
4183
|
-
<xsl:call-template name="calculate-column-widths">
|
4184
|
-
<xsl:with-param name="cols-count" select="$cols-count"/>
|
4185
|
-
</xsl:call-template>
|
4186
|
-
</xsl:variable> -->
|
4187
|
-
|
4188
|
-
<!-- cols-count=<xsl:copy-of select="$cols-count"/>
|
4189
|
-
colwidthsNew=<xsl:copy-of select="$colwidths"/>
|
4190
|
-
colwidthsOld=<xsl:copy-of select="$colwidths2"/>z -->
|
4191
|
-
|
4192
|
-
<xsl:variable name="margin-left">
|
4193
|
-
<xsl:choose>
|
4194
|
-
<xsl:when test="sum(xalan:nodeset($colwidths)//column) > 75">15</xsl:when>
|
4195
|
-
<xsl:otherwise>0</xsl:otherwise>
|
4196
|
-
</xsl:choose>
|
4197
|
-
</xsl:variable>
|
4198
|
-
|
4199
|
-
<fo:block-container margin-left="-{$margin-left}mm" margin-right="-{$margin-left}mm">
|
4200
4662
|
|
4201
4663
|
|
4202
|
-
|
4203
|
-
|
4204
|
-
|
4205
4664
|
|
4665
|
+
<!-- <xsl:if test="$namespace = 'bipm'">
|
4666
|
+
<fo:block> </fo:block>
|
4667
|
+
</xsl:if> -->
|
4206
4668
|
|
4207
|
-
|
4669
|
+
<!-- $namespace = 'iso' or -->
|
4208
4670
|
|
4671
|
+
<xsl:apply-templates select="*[local-name()='name']" mode="presentation"/>
|
4209
4672
|
|
4673
|
+
|
4210
4674
|
|
4675
|
+
<xsl:call-template name="fn_name_display"/>
|
4211
4676
|
|
4677
|
+
|
4212
4678
|
|
4213
|
-
|
4214
|
-
|
4215
|
-
|
4216
|
-
<xsl:
|
4217
|
-
<xsl:
|
4218
|
-
|
4219
|
-
|
4220
|
-
|
4221
|
-
|
4222
|
-
<xsl:
|
4679
|
+
<xsl:variable name="cols-count" select="count(xalan:nodeset($simple-table)//tr[1]/td)"/>
|
4680
|
+
|
4681
|
+
<!-- <xsl:variable name="cols-count">
|
4682
|
+
<xsl:choose>
|
4683
|
+
<xsl:when test="*[local-name()='thead']">
|
4684
|
+
<xsl:call-template name="calculate-columns-numbers">
|
4685
|
+
<xsl:with-param name="table-row" select="*[local-name()='thead']/*[local-name()='tr'][1]"/>
|
4686
|
+
</xsl:call-template>
|
4687
|
+
</xsl:when>
|
4688
|
+
<xsl:otherwise>
|
4689
|
+
<xsl:call-template name="calculate-columns-numbers">
|
4690
|
+
<xsl:with-param name="table-row" select="*[local-name()='tbody']/*[local-name()='tr'][1]"/>
|
4691
|
+
</xsl:call-template>
|
4692
|
+
</xsl:otherwise>
|
4693
|
+
</xsl:choose>
|
4694
|
+
</xsl:variable> -->
|
4695
|
+
<!-- cols-count=<xsl:copy-of select="$cols-count"/> -->
|
4696
|
+
<!-- cols-count2=<xsl:copy-of select="$cols-count2"/> -->
|
4697
|
+
|
4698
|
+
|
4699
|
+
|
4700
|
+
<xsl:variable name="colwidths">
|
4701
|
+
<xsl:if test="not(*[local-name()='colgroup']/*[local-name()='col'])">
|
4702
|
+
<xsl:call-template name="calculate-column-widths">
|
4703
|
+
<xsl:with-param name="cols-count" select="$cols-count"/>
|
4704
|
+
<xsl:with-param name="table" select="$simple-table"/>
|
4705
|
+
</xsl:call-template>
|
4223
4706
|
</xsl:if>
|
4707
|
+
</xsl:variable>
|
4708
|
+
<!-- colwidths=<xsl:copy-of select="$colwidths"/> -->
|
4709
|
+
|
4710
|
+
<!-- <xsl:variable name="colwidths2">
|
4711
|
+
<xsl:call-template name="calculate-column-widths">
|
4712
|
+
<xsl:with-param name="cols-count" select="$cols-count"/>
|
4713
|
+
</xsl:call-template>
|
4714
|
+
</xsl:variable> -->
|
4224
4715
|
|
4716
|
+
<!-- cols-count=<xsl:copy-of select="$cols-count"/>
|
4717
|
+
colwidthsNew=<xsl:copy-of select="$colwidths"/>
|
4718
|
+
colwidthsOld=<xsl:copy-of select="$colwidths2"/>z -->
|
4225
4719
|
|
4720
|
+
<xsl:variable name="margin-left">
|
4721
|
+
<xsl:choose>
|
4722
|
+
<xsl:when test="sum(xalan:nodeset($colwidths)//column) > 75">15</xsl:when>
|
4723
|
+
<xsl:otherwise>0</xsl:otherwise>
|
4724
|
+
</xsl:choose>
|
4725
|
+
</xsl:variable>
|
4226
4726
|
|
4227
|
-
<
|
4228
|
-
|
4229
|
-
|
4230
|
-
|
4231
|
-
|
4727
|
+
<fo:block-container margin-left="-{$margin-left}mm" margin-right="-{$margin-left}mm">
|
4728
|
+
|
4729
|
+
|
4730
|
+
|
4731
|
+
|
4732
|
+
|
4733
|
+
|
4734
|
+
|
4735
|
+
|
4736
|
+
|
4737
|
+
|
4738
|
+
|
4739
|
+
|
4740
|
+
|
4741
|
+
<xsl:attribute name="space-after">12pt</xsl:attribute>
|
4742
|
+
<xsl:attribute name="margin-left">0mm</xsl:attribute>
|
4743
|
+
<xsl:attribute name="margin-right">0mm</xsl:attribute>
|
4744
|
+
<xsl:if test="not(ancestor::*[local-name()='note_side'])">
|
4745
|
+
<xsl:attribute name="font-size">10pt</xsl:attribute>
|
4746
|
+
</xsl:if>
|
4747
|
+
<xsl:attribute name="margin-bottom">12pt</xsl:attribute>
|
4748
|
+
<xsl:if test="@parent-type = 'quote'">
|
4749
|
+
<xsl:attribute name="font-family">Arial</xsl:attribute>
|
4750
|
+
<xsl:attribute name="font-size">9pt</xsl:attribute>
|
4751
|
+
</xsl:if>
|
4752
|
+
|
4753
|
+
|
4754
|
+
<xsl:variable name="table_width">
|
4755
|
+
<!-- for centered table always 100% (@width will be set for middle/second cell of outer table) -->
|
4756
|
+
|
4757
|
+
|
4758
|
+
|
4759
|
+
<xsl:choose>
|
4760
|
+
<xsl:when test="@width"><xsl:value-of select="@width"/></xsl:when>
|
4761
|
+
<xsl:otherwise>100%</xsl:otherwise>
|
4762
|
+
</xsl:choose>
|
4763
|
+
|
4764
|
+
</xsl:variable>
|
4765
|
+
|
4766
|
+
<xsl:variable name="table_attributes">
|
4767
|
+
<attribute name="table-layout">fixed</attribute>
|
4768
|
+
<attribute name="width"><xsl:value-of select="normalize-space($table_width)"/></attribute>
|
4769
|
+
<attribute name="margin-left"><xsl:value-of select="$margin-left"/>mm</attribute>
|
4770
|
+
<attribute name="margin-right"><xsl:value-of select="$margin-left"/>mm</attribute>
|
4771
|
+
|
4772
|
+
|
4773
|
+
|
4774
|
+
|
4775
|
+
|
4776
|
+
|
4777
|
+
|
4778
|
+
|
4779
|
+
|
4780
|
+
|
4781
|
+
<xsl:if test="not(ancestor::*[local-name()='preface']) and not(ancestor::*[local-name()='note_side']) and not(ancestor::*[local-name() = 'annex'] and .//*[local-name() = 'xref'][@pagenumber])">
|
4782
|
+
<attribute name="border-top">0.5pt solid black</attribute>
|
4783
|
+
<attribute name="border-bottom">0.5pt solid black</attribute>
|
4784
|
+
</xsl:if>
|
4785
|
+
<attribute name="margin-left">0mm</attribute>
|
4786
|
+
<attribute name="margin-right">0mm</attribute>
|
4787
|
+
|
4788
|
+
</xsl:variable>
|
4232
4789
|
|
4233
4790
|
|
4791
|
+
<fo:table id="{@id}" table-omit-footer-at-break="true">
|
4792
|
+
|
4793
|
+
<xsl:for-each select="xalan:nodeset($table_attributes)/attribute">
|
4794
|
+
<xsl:attribute name="{@name}">
|
4795
|
+
<xsl:value-of select="."/>
|
4796
|
+
</xsl:attribute>
|
4797
|
+
</xsl:for-each>
|
4798
|
+
|
4799
|
+
<xsl:variable name="isNoteOrFnExist" select="./*[local-name()='note'] or .//*[local-name()='fn'][local-name(..) != 'name']"/>
|
4800
|
+
<xsl:if test="$isNoteOrFnExist = 'true'">
|
4801
|
+
<xsl:attribute name="border-bottom">0pt solid black</xsl:attribute> <!-- set 0pt border, because there is a separete table below for footer -->
|
4802
|
+
</xsl:if>
|
4803
|
+
|
4804
|
+
<xsl:choose>
|
4805
|
+
<xsl:when test="*[local-name()='colgroup']/*[local-name()='col']">
|
4806
|
+
<xsl:for-each select="*[local-name()='colgroup']/*[local-name()='col']">
|
4807
|
+
<fo:table-column column-width="{@width}"/>
|
4808
|
+
</xsl:for-each>
|
4809
|
+
</xsl:when>
|
4810
|
+
<xsl:otherwise>
|
4811
|
+
<xsl:for-each select="xalan:nodeset($colwidths)//column">
|
4812
|
+
<xsl:choose>
|
4813
|
+
<xsl:when test=". = 1 or . = 0">
|
4814
|
+
<fo:table-column column-width="proportional-column-width(2)"/>
|
4815
|
+
</xsl:when>
|
4816
|
+
<xsl:otherwise>
|
4817
|
+
<fo:table-column column-width="proportional-column-width({.})"/>
|
4818
|
+
</xsl:otherwise>
|
4819
|
+
</xsl:choose>
|
4820
|
+
</xsl:for-each>
|
4821
|
+
</xsl:otherwise>
|
4822
|
+
</xsl:choose>
|
4823
|
+
|
4824
|
+
<xsl:choose>
|
4825
|
+
<xsl:when test="not(*[local-name()='tbody']) and *[local-name()='thead']">
|
4826
|
+
<xsl:apply-templates select="*[local-name()='thead']" mode="process_tbody"/>
|
4827
|
+
</xsl:when>
|
4828
|
+
<xsl:otherwise>
|
4829
|
+
<xsl:apply-templates/>
|
4830
|
+
</xsl:otherwise>
|
4831
|
+
</xsl:choose>
|
4832
|
+
|
4833
|
+
</fo:table>
|
4234
4834
|
|
4835
|
+
<xsl:variable name="colgroup" select="*[local-name()='colgroup']"/>
|
4836
|
+
<xsl:for-each select="*[local-name()='tbody']"><!-- select context to tbody -->
|
4837
|
+
<xsl:call-template name="insertTableFooterInSeparateTable">
|
4838
|
+
<xsl:with-param name="table_attributes" select="$table_attributes"/>
|
4839
|
+
<xsl:with-param name="colwidths" select="$colwidths"/>
|
4840
|
+
<xsl:with-param name="colgroup" select="$colgroup"/>
|
4841
|
+
</xsl:call-template>
|
4842
|
+
</xsl:for-each>
|
4235
4843
|
|
4236
|
-
|
4237
|
-
|
4238
|
-
|
4844
|
+
<!-- insert footer as table -->
|
4845
|
+
<!-- <fo:table>
|
4846
|
+
<xsl:for-each select="xalan::nodeset($table_attributes)/attribute">
|
4847
|
+
<xsl:attribute name="{@name}">
|
4848
|
+
<xsl:value-of select="."/>
|
4849
|
+
</xsl:attribute>
|
4850
|
+
</xsl:for-each>
|
4851
|
+
|
4852
|
+
<xsl:for-each select="xalan:nodeset($colwidths)//column">
|
4853
|
+
<xsl:choose>
|
4854
|
+
<xsl:when test=". = 1 or . = 0">
|
4855
|
+
<fo:table-column column-width="proportional-column-width(2)"/>
|
4856
|
+
</xsl:when>
|
4857
|
+
<xsl:otherwise>
|
4858
|
+
<fo:table-column column-width="proportional-column-width({.})"/>
|
4859
|
+
</xsl:otherwise>
|
4860
|
+
</xsl:choose>
|
4861
|
+
</xsl:for-each>
|
4862
|
+
</fo:table>-->
|
4239
4863
|
|
4240
|
-
|
4241
|
-
|
4242
|
-
<xsl:if test="not(ancestor::*[local-name()='preface']) and not(ancestor::*[local-name()='note_side']) and not(ancestor::*[local-name() = 'annex'] and .//*[local-name() = 'xref'][@pagenumber])">
|
4243
|
-
<attribute name="border-top">0.5pt solid black</attribute>
|
4244
|
-
<attribute name="border-bottom">0.5pt solid black</attribute>
|
4245
|
-
</xsl:if>
|
4246
|
-
<attribute name="margin-left">0mm</attribute>
|
4247
|
-
<attribute name="margin-right">0mm</attribute>
|
4248
4864
|
|
4249
|
-
</xsl:variable>
|
4250
|
-
|
4251
|
-
|
4252
|
-
<fo:table id="{@id}" table-omit-footer-at-break="true">
|
4253
4865
|
|
4254
|
-
<xsl:for-each select="xalan:nodeset($table_attributes)/attribute">
|
4255
|
-
<xsl:attribute name="{@name}">
|
4256
|
-
<xsl:value-of select="."/>
|
4257
|
-
</xsl:attribute>
|
4258
|
-
</xsl:for-each>
|
4259
4866
|
|
4260
|
-
<xsl:variable name="isNoteOrFnExist" select="./*[local-name()='note'] or .//*[local-name()='fn'][local-name(..) != 'name']"/>
|
4261
|
-
<xsl:if test="$isNoteOrFnExist = 'true'">
|
4262
|
-
<xsl:attribute name="border-bottom">0pt solid black</xsl:attribute> <!-- set 0pt border, because there is a separete table below for footer -->
|
4263
|
-
</xsl:if>
|
4264
4867
|
|
4265
|
-
|
4266
|
-
|
4267
|
-
|
4268
|
-
|
4269
|
-
|
4270
|
-
|
4271
|
-
|
4272
|
-
|
4273
|
-
|
4274
|
-
<xsl:when test=". = 1 or . = 0">
|
4275
|
-
<fo:table-column column-width="proportional-column-width(2)"/>
|
4276
|
-
</xsl:when>
|
4277
|
-
<xsl:otherwise>
|
4278
|
-
<fo:table-column column-width="proportional-column-width({.})"/>
|
4279
|
-
</xsl:otherwise>
|
4280
|
-
</xsl:choose>
|
4281
|
-
</xsl:for-each>
|
4282
|
-
</xsl:otherwise>
|
4283
|
-
</xsl:choose>
|
4868
|
+
</fo:block-container>
|
4869
|
+
</xsl:variable>
|
4870
|
+
|
4871
|
+
|
4872
|
+
|
4873
|
+
<xsl:choose>
|
4874
|
+
<xsl:when test="@width">
|
4875
|
+
|
4876
|
+
<!-- centered table when table name is centered (see table-name-style) -->
|
4284
4877
|
|
4285
|
-
<xsl:choose>
|
4286
|
-
<xsl:when test="not(*[local-name()='tbody']) and *[local-name()='thead']">
|
4287
|
-
<xsl:apply-templates select="*[local-name()='thead']" mode="process_tbody"/>
|
4288
|
-
</xsl:when>
|
4289
|
-
<xsl:otherwise>
|
4290
|
-
<xsl:apply-templates/>
|
4291
|
-
</xsl:otherwise>
|
4292
|
-
</xsl:choose>
|
4293
4878
|
|
4294
|
-
</fo:table>
|
4295
|
-
|
4296
|
-
<xsl:variable name="colgroup" select="*[local-name()='colgroup']"/>
|
4297
|
-
<xsl:for-each select="*[local-name()='tbody']"><!-- select context to tbody -->
|
4298
|
-
<xsl:call-template name="insertTableFooterInSeparateTable">
|
4299
|
-
<xsl:with-param name="table_attributes" select="$table_attributes"/>
|
4300
|
-
<xsl:with-param name="colwidths" select="$colwidths"/>
|
4301
|
-
<xsl:with-param name="colgroup" select="$colgroup"/>
|
4302
|
-
</xsl:call-template>
|
4303
|
-
</xsl:for-each>
|
4304
|
-
|
4305
|
-
<!-- insert footer as table -->
|
4306
|
-
<!-- <fo:table>
|
4307
|
-
<xsl:for-each select="xalan::nodeset($table_attributes)/attribute">
|
4308
|
-
<xsl:attribute name="{@name}">
|
4309
|
-
<xsl:value-of select="."/>
|
4310
|
-
</xsl:attribute>
|
4311
|
-
</xsl:for-each>
|
4312
4879
|
|
4313
|
-
|
4314
|
-
|
4315
|
-
|
4316
|
-
|
4317
|
-
|
4318
|
-
|
4319
|
-
|
4320
|
-
|
4321
|
-
|
4322
|
-
</xsl:for-each>
|
4323
|
-
</fo:table>-->
|
4324
|
-
|
4325
|
-
|
4326
|
-
|
4327
|
-
|
4328
|
-
|
4329
|
-
</fo:block-container>
|
4880
|
+
<xsl:copy-of select="$table"/>
|
4881
|
+
|
4882
|
+
|
4883
|
+
</xsl:when>
|
4884
|
+
<xsl:otherwise>
|
4885
|
+
<xsl:copy-of select="$table"/>
|
4886
|
+
</xsl:otherwise>
|
4887
|
+
</xsl:choose>
|
4888
|
+
|
4330
4889
|
</xsl:template><xsl:template match="*[local-name()='table']/*[local-name() = 'name']"/><xsl:template match="*[local-name()='table']/*[local-name() = 'name']" mode="presentation">
|
4331
4890
|
<xsl:if test="normalize-space() != ''">
|
4332
4891
|
<fo:block xsl:use-attribute-sets="table-name-style">
|
@@ -4759,7 +5318,7 @@
|
|
4759
5318
|
|
4760
5319
|
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
4761
5320
|
<xsl:attribute name="border">solid black 0pt</xsl:attribute>
|
4762
|
-
<xsl:attribute name="border-top">solid black 0.5pt</xsl:attribute>
|
5321
|
+
<!-- <xsl:attribute name="border-top">solid black 0.5pt</xsl:attribute> -->
|
4763
5322
|
<xsl:attribute name="border-bottom">solid black 0.5pt</xsl:attribute>
|
4764
5323
|
<xsl:attribute name="height">8mm</xsl:attribute>
|
4765
5324
|
<xsl:attribute name="padding-top">2mm</xsl:attribute>
|
@@ -5227,7 +5786,7 @@
|
|
5227
5786
|
<xsl:with-param name="table" select="$html-table"/>
|
5228
5787
|
</xsl:call-template>
|
5229
5788
|
</xsl:variable>
|
5230
|
-
<!-- colwidths=<xsl:
|
5789
|
+
<!-- colwidths=<xsl:copy-of select="$colwidths"/> -->
|
5231
5790
|
<xsl:variable name="maxlength_dt">
|
5232
5791
|
<xsl:call-template name="getMaxLength_dt"/>
|
5233
5792
|
</xsl:variable>
|
@@ -5256,13 +5815,22 @@
|
|
5256
5815
|
</xsl:when>
|
5257
5816
|
<xsl:otherwise>
|
5258
5817
|
<xsl:choose>
|
5818
|
+
<!-- to set width check most wide chars like `W` -->
|
5259
5819
|
<xsl:when test="normalize-space($maxlength_dt) != '' and number($maxlength_dt) <= 2"> <!-- if dt contains short text like t90, a, etc -->
|
5260
|
-
<fo:table-column column-width="
|
5261
|
-
<fo:table-column column-width="
|
5820
|
+
<fo:table-column column-width="7%"/>
|
5821
|
+
<fo:table-column column-width="93%"/>
|
5822
|
+
</xsl:when>
|
5823
|
+
<xsl:when test="normalize-space($maxlength_dt) != '' and number($maxlength_dt) <= 5"> <!-- if dt contains short text like ABC, etc -->
|
5824
|
+
<fo:table-column column-width="15%"/>
|
5825
|
+
<fo:table-column column-width="85%"/>
|
5826
|
+
</xsl:when>
|
5827
|
+
<xsl:when test="normalize-space($maxlength_dt) != '' and number($maxlength_dt) <= 7"> <!-- if dt contains short text like ABCDEF, etc -->
|
5828
|
+
<fo:table-column column-width="20%"/>
|
5829
|
+
<fo:table-column column-width="80%"/>
|
5262
5830
|
</xsl:when>
|
5263
|
-
<xsl:when test="normalize-space($maxlength_dt) != '' and number($maxlength_dt) <=
|
5264
|
-
<fo:table-column column-width="
|
5265
|
-
<fo:table-column column-width="
|
5831
|
+
<xsl:when test="normalize-space($maxlength_dt) != '' and number($maxlength_dt) <= 10"> <!-- if dt contains short text like ABCDEFEF, etc -->
|
5832
|
+
<fo:table-column column-width="25%"/>
|
5833
|
+
<fo:table-column column-width="75%"/>
|
5266
5834
|
</xsl:when>
|
5267
5835
|
<!-- <xsl:when test="xalan:nodeset($colwidths)/column[1] div xalan:nodeset($colwidths)/column[2] > 1.7">
|
5268
5836
|
<fo:table-column column-width="60%"/>
|
@@ -5294,12 +5862,32 @@
|
|
5294
5862
|
</xsl:otherwise>
|
5295
5863
|
</xsl:choose>
|
5296
5864
|
</xsl:template><xsl:template name="getMaxLength_dt">
|
5297
|
-
<xsl:
|
5298
|
-
<xsl:
|
5299
|
-
|
5300
|
-
<xsl:
|
5301
|
-
|
5302
|
-
|
5865
|
+
<xsl:variable name="lengths">
|
5866
|
+
<xsl:for-each select="*[local-name()='dt']">
|
5867
|
+
<xsl:variable name="maintext_length" select="string-length(normalize-space(.))"/>
|
5868
|
+
<xsl:variable name="attributes">
|
5869
|
+
<xsl:for-each select=".//@open"><xsl:value-of select="."/></xsl:for-each>
|
5870
|
+
<xsl:for-each select=".//@close"><xsl:value-of select="."/></xsl:for-each>
|
5871
|
+
</xsl:variable>
|
5872
|
+
<length><xsl:value-of select="string-length(normalize-space(.)) + string-length($attributes)"/></length>
|
5873
|
+
</xsl:for-each>
|
5874
|
+
</xsl:variable>
|
5875
|
+
<xsl:variable name="maxLength">
|
5876
|
+
<!-- <xsl:for-each select="*[local-name()='dt']">
|
5877
|
+
<xsl:sort select="string-length(normalize-space(.))" data-type="number" order="descending"/>
|
5878
|
+
<xsl:if test="position() = 1">
|
5879
|
+
<xsl:value-of select="string-length(normalize-space(.))"/>
|
5880
|
+
</xsl:if>
|
5881
|
+
</xsl:for-each> -->
|
5882
|
+
<xsl:for-each select="xalan:nodeset($lengths)/length">
|
5883
|
+
<xsl:sort select="." data-type="number" order="descending"/>
|
5884
|
+
<xsl:if test="position() = 1">
|
5885
|
+
<xsl:value-of select="."/>
|
5886
|
+
</xsl:if>
|
5887
|
+
</xsl:for-each>
|
5888
|
+
</xsl:variable>
|
5889
|
+
<!-- <xsl:message>DEBUG:<xsl:value-of select="$maxLength"/></xsl:message> -->
|
5890
|
+
<xsl:value-of select="$maxLength"/>
|
5303
5891
|
</xsl:template><xsl:template match="*[local-name()='dl']/*[local-name()='note']" priority="2">
|
5304
5892
|
<xsl:param name="key_iso"/>
|
5305
5893
|
|
@@ -5441,6 +6029,7 @@
|
|
5441
6029
|
|
5442
6030
|
|
5443
6031
|
|
6032
|
+
|
5444
6033
|
|
5445
6034
|
</xsl:variable>
|
5446
6035
|
<xsl:variable name="font-size" select="normalize-space($_font-size)"/>
|
@@ -5454,6 +6043,10 @@
|
|
5454
6043
|
</xsl:if>
|
5455
6044
|
<xsl:apply-templates/>
|
5456
6045
|
</fo:inline>
|
6046
|
+
</xsl:template><xsl:template match="*[local-name()='underline']">
|
6047
|
+
<fo:inline text-decoration="underline">
|
6048
|
+
<xsl:apply-templates/>
|
6049
|
+
</fo:inline>
|
5457
6050
|
</xsl:template><xsl:template match="*[local-name()='del']">
|
5458
6051
|
<fo:inline font-size="10pt" color="red" text-decoration="line-through">
|
5459
6052
|
<xsl:apply-templates/>
|
@@ -5547,6 +6140,10 @@
|
|
5547
6140
|
<xsl:param name="text" select="."/>
|
5548
6141
|
<!-- add zero-width space (#x200B) after characters: dash, dot, colon, equal, underscore, em dash, thin space -->
|
5549
6142
|
<xsl:value-of select="java:replaceAll(java:java.lang.String.new($text),'(-|\.|:|=|_|—| )','$1')"/>
|
6143
|
+
</xsl:template><xsl:template name="add-zero-spaces-link-java">
|
6144
|
+
<xsl:param name="text" select="."/>
|
6145
|
+
<!-- add zero-width space (#x200B) after characters: dash, dot, colon, equal, underscore, em dash, thin space -->
|
6146
|
+
<xsl:value-of select="java:replaceAll(java:java.lang.String.new($text),'(-|\.|:|=|_|—| |,)','$1')"/>
|
5550
6147
|
</xsl:template><xsl:template name="add-zero-spaces">
|
5551
6148
|
<xsl:param name="text" select="."/>
|
5552
6149
|
<xsl:variable name="zero-space-after-chars">-</xsl:variable>
|
@@ -5811,6 +6408,11 @@
|
|
5811
6408
|
<!-- replace start and end spaces to non-break space -->
|
5812
6409
|
<xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),'(^ )|( $)',' ')"/>
|
5813
6410
|
</xsl:copy>
|
6411
|
+
</xsl:template><xsl:template match="mathml:mi[. = ',' and not(following-sibling::*[1][local-name() = 'mtext' and text() = ' '])]" mode="mathml">
|
6412
|
+
<xsl:copy>
|
6413
|
+
<xsl:apply-templates select="@*|node()" mode="mathml"/>
|
6414
|
+
</xsl:copy>
|
6415
|
+
<mathml:mspace width="0.5ex"/>
|
5814
6416
|
</xsl:template><xsl:template match="*[local-name()='localityStack']"/><xsl:template match="*[local-name()='link']" name="link">
|
5815
6417
|
<xsl:variable name="target">
|
5816
6418
|
<xsl:choose>
|
@@ -5832,7 +6434,10 @@
|
|
5832
6434
|
<fo:basic-link external-destination="{@target}" fox:alt-text="{@target}">
|
5833
6435
|
<xsl:choose>
|
5834
6436
|
<xsl:when test="normalize-space(.) = ''">
|
5835
|
-
<xsl:value-of select="$target"/>
|
6437
|
+
<!-- <xsl:value-of select="$target"/> -->
|
6438
|
+
<xsl:call-template name="add-zero-spaces-link-java">
|
6439
|
+
<xsl:with-param name="text" select="$target"/>
|
6440
|
+
</xsl:call-template>
|
5836
6441
|
</xsl:when>
|
5837
6442
|
<xsl:otherwise>
|
5838
6443
|
<xsl:apply-templates/>
|
@@ -6013,6 +6618,8 @@
|
|
6013
6618
|
</xsl:when>
|
6014
6619
|
<xsl:otherwise>
|
6015
6620
|
|
6621
|
+
<xsl:text>:</xsl:text>
|
6622
|
+
|
6016
6623
|
|
6017
6624
|
</xsl:otherwise>
|
6018
6625
|
</xsl:choose>
|
@@ -6043,7 +6650,7 @@
|
|
6043
6650
|
</xsl:if> -->
|
6044
6651
|
</fo:inline>
|
6045
6652
|
</xsl:if>
|
6046
|
-
</xsl:template><xsl:template match="*[local-name() = 'figure']">
|
6653
|
+
</xsl:template><xsl:template match="*[local-name() = 'figure']" name="figure">
|
6047
6654
|
<fo:block-container id="{@id}">
|
6048
6655
|
|
6049
6656
|
<xsl:if test="*[local-name() = 'name']">
|
@@ -6116,6 +6723,8 @@
|
|
6116
6723
|
<xsl:variable name="bookmark-title_">
|
6117
6724
|
<xsl:call-template name="getLangVersion">
|
6118
6725
|
<xsl:with-param name="lang" select="@lang"/>
|
6726
|
+
<xsl:with-param name="doctype" select="@doctype"/>
|
6727
|
+
<xsl:with-param name="title" select="@title-part"/>
|
6119
6728
|
</xsl:call-template>
|
6120
6729
|
</xsl:variable>
|
6121
6730
|
<xsl:choose>
|
@@ -6133,13 +6742,34 @@
|
|
6133
6742
|
</xsl:choose>
|
6134
6743
|
</fo:bookmark-title>
|
6135
6744
|
<xsl:apply-templates select="contents/item" mode="bookmark"/>
|
6745
|
+
|
6746
|
+
<xsl:call-template name="insertFigureBookmarks">
|
6747
|
+
<xsl:with-param name="contents" select="contents"/>
|
6748
|
+
</xsl:call-template>
|
6749
|
+
|
6750
|
+
<xsl:call-template name="insertTableBookmarks">
|
6751
|
+
<xsl:with-param name="contents" select="contents"/>
|
6752
|
+
<xsl:with-param name="lang" select="@lang"/>
|
6753
|
+
</xsl:call-template>
|
6754
|
+
|
6136
6755
|
</fo:bookmark>
|
6137
6756
|
|
6138
6757
|
</xsl:for-each>
|
6139
6758
|
</xsl:when>
|
6140
6759
|
<xsl:otherwise>
|
6141
6760
|
<xsl:for-each select="xalan:nodeset($contents)/doc">
|
6761
|
+
|
6142
6762
|
<xsl:apply-templates select="contents/item" mode="bookmark"/>
|
6763
|
+
|
6764
|
+
<xsl:call-template name="insertFigureBookmarks">
|
6765
|
+
<xsl:with-param name="contents" select="contents"/>
|
6766
|
+
</xsl:call-template>
|
6767
|
+
|
6768
|
+
<xsl:call-template name="insertTableBookmarks">
|
6769
|
+
<xsl:with-param name="contents" select="contents"/>
|
6770
|
+
<xsl:with-param name="lang" select="@lang"/>
|
6771
|
+
</xsl:call-template>
|
6772
|
+
|
6143
6773
|
</xsl:for-each>
|
6144
6774
|
</xsl:otherwise>
|
6145
6775
|
</xsl:choose>
|
@@ -6158,16 +6788,66 @@
|
|
6158
6788
|
|
6159
6789
|
</fo:bookmark-tree>
|
6160
6790
|
</xsl:if>
|
6791
|
+
</xsl:template><xsl:template name="insertFigureBookmarks">
|
6792
|
+
<xsl:param name="contents"/>
|
6793
|
+
<xsl:if test="xalan:nodeset($contents)/figure">
|
6794
|
+
<fo:bookmark internal-destination="{xalan:nodeset($contents)/figure[1]/@id}" starting-state="hide">
|
6795
|
+
<fo:bookmark-title>Figures</fo:bookmark-title>
|
6796
|
+
<xsl:for-each select="xalan:nodeset($contents)/figure">
|
6797
|
+
<fo:bookmark internal-destination="{@id}">
|
6798
|
+
<fo:bookmark-title>
|
6799
|
+
<xsl:value-of select="normalize-space(title)"/>
|
6800
|
+
</fo:bookmark-title>
|
6801
|
+
</fo:bookmark>
|
6802
|
+
</xsl:for-each>
|
6803
|
+
</fo:bookmark>
|
6804
|
+
</xsl:if>
|
6805
|
+
</xsl:template><xsl:template name="insertTableBookmarks">
|
6806
|
+
<xsl:param name="contents"/>
|
6807
|
+
<xsl:param name="lang"/>
|
6808
|
+
<xsl:if test="xalan:nodeset($contents)/table">
|
6809
|
+
<fo:bookmark internal-destination="{xalan:nodeset($contents)/table[1]/@id}" starting-state="hide">
|
6810
|
+
<fo:bookmark-title>
|
6811
|
+
<xsl:choose>
|
6812
|
+
<xsl:when test="$lang = 'fr'">Tableaux</xsl:when>
|
6813
|
+
<xsl:otherwise>Tables</xsl:otherwise>
|
6814
|
+
</xsl:choose>
|
6815
|
+
</fo:bookmark-title>
|
6816
|
+
<xsl:for-each select="xalan:nodeset($contents)/table">
|
6817
|
+
<fo:bookmark internal-destination="{@id}">
|
6818
|
+
<fo:bookmark-title>
|
6819
|
+
<xsl:value-of select="normalize-space(title)"/>
|
6820
|
+
</fo:bookmark-title>
|
6821
|
+
</fo:bookmark>
|
6822
|
+
</xsl:for-each>
|
6823
|
+
</fo:bookmark>
|
6824
|
+
</xsl:if>
|
6161
6825
|
</xsl:template><xsl:template name="getLangVersion">
|
6162
6826
|
<xsl:param name="lang"/>
|
6827
|
+
<xsl:param name="doctype" select="''"/>
|
6828
|
+
<xsl:param name="title" select="''"/>
|
6163
6829
|
<xsl:choose>
|
6164
6830
|
<xsl:when test="$lang = 'en'">
|
6165
6831
|
|
6166
|
-
|
6832
|
+
|
6833
|
+
<xsl:choose>
|
6834
|
+
<xsl:when test="$doctype = 'guide'">
|
6835
|
+
<xsl:value-of select="$title"/>
|
6836
|
+
</xsl:when>
|
6837
|
+
<xsl:otherwise>English version</xsl:otherwise>
|
6838
|
+
</xsl:choose>
|
6839
|
+
|
6167
6840
|
</xsl:when>
|
6168
6841
|
<xsl:when test="$lang = 'fr'">
|
6169
6842
|
|
6170
|
-
|
6843
|
+
|
6844
|
+
<xsl:choose>
|
6845
|
+
<xsl:when test="$doctype = 'guide'">
|
6846
|
+
<xsl:value-of select="$title"/>
|
6847
|
+
</xsl:when>
|
6848
|
+
<xsl:otherwise>Version française</xsl:otherwise>
|
6849
|
+
</xsl:choose>
|
6850
|
+
|
6171
6851
|
</xsl:when>
|
6172
6852
|
<xsl:when test="$lang = 'de'">Deutsche</xsl:when>
|
6173
6853
|
<xsl:otherwise><xsl:value-of select="$lang"/> version</xsl:otherwise>
|
@@ -6195,6 +6875,12 @@
|
|
6195
6875
|
<!-- <xsl:text> </xsl:text> -->
|
6196
6876
|
</xsl:template><xsl:template name="getSection">
|
6197
6877
|
<xsl:value-of select="*[local-name() = 'title']/*[local-name() = 'tab'][1]/preceding-sibling::node()"/>
|
6878
|
+
<!--
|
6879
|
+
<xsl:for-each select="*[local-name() = 'title']/*[local-name() = 'tab'][1]/preceding-sibling::node()">
|
6880
|
+
<xsl:value-of select="."/>
|
6881
|
+
</xsl:for-each>
|
6882
|
+
-->
|
6883
|
+
|
6198
6884
|
</xsl:template><xsl:template name="getName">
|
6199
6885
|
<xsl:choose>
|
6200
6886
|
<xsl:when test="*[local-name() = 'title']/*[local-name() = 'tab']">
|
@@ -6247,6 +6933,12 @@
|
|
6247
6933
|
<xsl:copy>
|
6248
6934
|
<xsl:apply-templates mode="contents_item"/>
|
6249
6935
|
</xsl:copy>
|
6936
|
+
</xsl:template><xsl:template match="*[local-name() = 'em']" mode="contents_item">
|
6937
|
+
<xsl:copy>
|
6938
|
+
<xsl:apply-templates mode="contents_item"/>
|
6939
|
+
</xsl:copy>
|
6940
|
+
</xsl:template><xsl:template match="*[local-name() = 'stem']" mode="contents_item">
|
6941
|
+
<xsl:copy-of select="."/>
|
6250
6942
|
</xsl:template><xsl:template match="*[local-name() = 'br']" mode="contents_item">
|
6251
6943
|
<xsl:text> </xsl:text>
|
6252
6944
|
</xsl:template><xsl:template match="*[local-name()='sourcecode']" name="sourcecode">
|
@@ -6272,6 +6964,7 @@
|
|
6272
6964
|
|
6273
6965
|
|
6274
6966
|
|
6967
|
+
|
6275
6968
|
|
6276
6969
|
|
6277
6970
|
|
@@ -6652,10 +7345,13 @@
|
|
6652
7345
|
</xsl:if>
|
6653
7346
|
</xsl:if>
|
6654
7347
|
|
7348
|
+
|
6655
7349
|
<fo:block-container margin-left="0mm">
|
6656
7350
|
|
6657
7351
|
<fo:block xsl:use-attribute-sets="quote-style">
|
6658
|
-
<xsl:apply-templates select=".//*[local-name() = 'p']"/>
|
7352
|
+
<!-- <xsl:apply-templates select=".//*[local-name() = 'p']"/> -->
|
7353
|
+
|
7354
|
+
<xsl:apply-templates select="./node()[not(local-name() = 'author') and not(local-name() = 'source')]"/> <!-- process all nested nodes, except author and source -->
|
6659
7355
|
</fo:block>
|
6660
7356
|
<xsl:if test="*[local-name() = 'author'] or *[local-name() = 'source']">
|
6661
7357
|
<fo:block xsl:use-attribute-sets="quote-source-style">
|
@@ -6809,6 +7505,7 @@
|
|
6809
7505
|
|
6810
7506
|
|
6811
7507
|
|
7508
|
+
|
6812
7509
|
|
6813
7510
|
|
6814
7511
|
|
@@ -6820,7 +7517,7 @@
|
|
6820
7517
|
|
6821
7518
|
|
6822
7519
|
|
6823
|
-
</xsl:template><xsl:template match="
|
7520
|
+
</xsl:template><xsl:template match="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*" priority="2"> <!-- /*/*[local-name() = 'preface']/* -->
|
6824
7521
|
<fo:block break-after="page"/>
|
6825
7522
|
<fo:block>
|
6826
7523
|
<xsl:call-template name="setId"/>
|
@@ -6828,10 +7525,11 @@
|
|
6828
7525
|
</fo:block>
|
6829
7526
|
</xsl:template><xsl:template match="*[local-name() = 'clause']">
|
6830
7527
|
<fo:block>
|
6831
|
-
<xsl:call-template name="setId"/>
|
7528
|
+
<xsl:call-template name="setId"/>
|
6832
7529
|
|
6833
7530
|
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
6834
7531
|
|
7532
|
+
|
6835
7533
|
<xsl:apply-templates/>
|
6836
7534
|
</fo:block>
|
6837
7535
|
</xsl:template><xsl:template match="*[local-name() = 'definitions']">
|
@@ -7006,6 +7704,8 @@
|
|
7006
7704
|
<xsl:value-of select="translate(.,'. ','')"/>
|
7007
7705
|
</xsl:template><xsl:template match="*[local-name() = 'name']/*[local-name() = 'forename']/text()" mode="strip">
|
7008
7706
|
<xsl:value-of select="substring(.,1,1)"/>
|
7707
|
+
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
7708
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
7009
7709
|
</xsl:template><xsl:template name="convertDate">
|
7010
7710
|
<xsl:param name="date"/>
|
7011
7711
|
<xsl:param name="format" select="'short'"/>
|
@@ -7030,6 +7730,57 @@
|
|
7030
7730
|
</xsl:variable>
|
7031
7731
|
<xsl:variable name="result">
|
7032
7732
|
<xsl:choose>
|
7733
|
+
<xsl:when test="$format = 'ddMMyyyy'">
|
7734
|
+
<xsl:if test="$day != ''"><xsl:value-of select="number($day)"/></xsl:if>
|
7735
|
+
<xsl:text> </xsl:text>
|
7736
|
+
<xsl:value-of select="normalize-space(concat($monthStr, ' ' , $year))"/>
|
7737
|
+
</xsl:when>
|
7738
|
+
<xsl:when test="$format = 'ddMM'">
|
7739
|
+
<xsl:if test="$day != ''"><xsl:value-of select="number($day)"/></xsl:if>
|
7740
|
+
<xsl:text> </xsl:text><xsl:value-of select="$monthStr"/>
|
7741
|
+
</xsl:when>
|
7742
|
+
<xsl:when test="$format = 'short' or $day = ''">
|
7743
|
+
<xsl:value-of select="normalize-space(concat($monthStr, ' ', $year))"/>
|
7744
|
+
</xsl:when>
|
7745
|
+
<xsl:otherwise>
|
7746
|
+
<xsl:value-of select="normalize-space(concat($monthStr, ' ', $day, ', ' , $year))"/>
|
7747
|
+
</xsl:otherwise>
|
7748
|
+
</xsl:choose>
|
7749
|
+
</xsl:variable>
|
7750
|
+
<xsl:value-of select="$result"/>
|
7751
|
+
</xsl:template><xsl:template name="convertDateLocalized">
|
7752
|
+
<xsl:param name="date"/>
|
7753
|
+
<xsl:param name="format" select="'short'"/>
|
7754
|
+
<xsl:variable name="year" select="substring($date, 1, 4)"/>
|
7755
|
+
<xsl:variable name="month" select="substring($date, 6, 2)"/>
|
7756
|
+
<xsl:variable name="day" select="substring($date, 9, 2)"/>
|
7757
|
+
<xsl:variable name="monthStr">
|
7758
|
+
<xsl:choose>
|
7759
|
+
<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>
|
7760
|
+
<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>
|
7761
|
+
<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>
|
7762
|
+
<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>
|
7763
|
+
<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>
|
7764
|
+
<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>
|
7765
|
+
<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>
|
7766
|
+
<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>
|
7767
|
+
<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>
|
7768
|
+
<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>
|
7769
|
+
<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>
|
7770
|
+
<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>
|
7771
|
+
</xsl:choose>
|
7772
|
+
</xsl:variable>
|
7773
|
+
<xsl:variable name="result">
|
7774
|
+
<xsl:choose>
|
7775
|
+
<xsl:when test="$format = 'ddMMyyyy'">
|
7776
|
+
<xsl:if test="$day != ''"><xsl:value-of select="number($day)"/></xsl:if>
|
7777
|
+
<xsl:text> </xsl:text>
|
7778
|
+
<xsl:value-of select="normalize-space(concat($monthStr, ' ' , $year))"/>
|
7779
|
+
</xsl:when>
|
7780
|
+
<xsl:when test="$format = 'ddMM'">
|
7781
|
+
<xsl:if test="$day != ''"><xsl:value-of select="number($day)"/></xsl:if>
|
7782
|
+
<xsl:text> </xsl:text><xsl:value-of select="$monthStr"/>
|
7783
|
+
</xsl:when>
|
7033
7784
|
<xsl:when test="$format = 'short' or $day = ''">
|
7034
7785
|
<xsl:value-of select="normalize-space(concat($monthStr, ' ', $year))"/>
|
7035
7786
|
</xsl:when>
|
@@ -7045,7 +7796,7 @@
|
|
7045
7796
|
<xsl:param name="charDelim" select="', '"/>
|
7046
7797
|
<xsl:choose>
|
7047
7798
|
<xsl:when test="$sorting = 'true' or $sorting = 'yes'">
|
7048
|
-
<xsl:for-each select="
|
7799
|
+
<xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
|
7049
7800
|
<xsl:sort data-type="text" order="ascending"/>
|
7050
7801
|
<xsl:call-template name="insertKeyword">
|
7051
7802
|
<xsl:with-param name="charAtEnd" select="$charAtEnd"/>
|
@@ -7054,7 +7805,7 @@
|
|
7054
7805
|
</xsl:for-each>
|
7055
7806
|
</xsl:when>
|
7056
7807
|
<xsl:otherwise>
|
7057
|
-
<xsl:for-each select="
|
7808
|
+
<xsl:for-each select="//*[contains(local-name(), '-standard')]/*[local-name() = 'bibdata']//*[local-name() = 'keyword']">
|
7058
7809
|
<xsl:call-template name="insertKeyword">
|
7059
7810
|
<xsl:with-param name="charAtEnd" select="$charAtEnd"/>
|
7060
7811
|
<xsl:with-param name="charDelim" select="$charDelim"/>
|
@@ -7071,6 +7822,9 @@
|
|
7071
7822
|
<xsl:otherwise><xsl:value-of select="$charAtEnd"/></xsl:otherwise>
|
7072
7823
|
</xsl:choose>
|
7073
7824
|
</xsl:template><xsl:template name="addPDFUAmeta">
|
7825
|
+
<xsl:variable name="lang">
|
7826
|
+
<xsl:call-template name="getLang"/>
|
7827
|
+
</xsl:variable>
|
7074
7828
|
<fo:declarations>
|
7075
7829
|
<pdf:catalog xmlns:pdf="http://xmlgraphics.apache.org/fop/extensions/pdf">
|
7076
7830
|
<pdf:dictionary type="normal" key="ViewerPreferences">
|
@@ -7083,13 +7837,16 @@
|
|
7083
7837
|
<!-- Dublin Core properties go here -->
|
7084
7838
|
<dc:title>
|
7085
7839
|
<xsl:variable name="title">
|
7086
|
-
|
7087
|
-
|
7088
|
-
|
7089
|
-
|
7090
|
-
|
7091
|
-
|
7092
|
-
|
7840
|
+
<xsl:for-each select="(//*[contains(local-name(), '-standard')])[1]/*[local-name() = 'bibdata']">
|
7841
|
+
|
7842
|
+
|
7843
|
+
<xsl:value-of select="*[local-name() = 'title'][@language = $lang and @type = 'main']"/>
|
7844
|
+
|
7845
|
+
|
7846
|
+
|
7847
|
+
|
7848
|
+
|
7849
|
+
</xsl:for-each>
|
7093
7850
|
</xsl:variable>
|
7094
7851
|
<xsl:choose>
|
7095
7852
|
<xsl:when test="normalize-space($title) != ''">
|
@@ -7101,20 +7858,22 @@
|
|
7101
7858
|
</xsl:choose>
|
7102
7859
|
</dc:title>
|
7103
7860
|
<dc:creator>
|
7104
|
-
|
7105
|
-
|
7106
|
-
|
7107
|
-
|
7108
|
-
|
7109
|
-
|
7110
|
-
<dc:description>
|
7111
|
-
<xsl:variable name="abstract">
|
7861
|
+
<xsl:for-each select="(//*[contains(local-name(), '-standard')])[1]/*[local-name() = 'bibdata']">
|
7862
|
+
|
7863
|
+
<xsl:for-each select="*[local-name() = 'contributor'][*[local-name() = 'role']/@type='author']">
|
7864
|
+
<xsl:value-of select="*[local-name() = 'organization']/*[local-name() = 'name']"/>
|
7865
|
+
<xsl:if test="position() != last()">; </xsl:if>
|
7866
|
+
</xsl:for-each>
|
7112
7867
|
|
7113
7868
|
|
7114
7869
|
|
7870
|
+
</xsl:for-each>
|
7871
|
+
</dc:creator>
|
7872
|
+
<dc:description>
|
7873
|
+
<xsl:variable name="abstract">
|
7115
7874
|
|
7875
|
+
<xsl:copy-of select="//*[contains(local-name(), '-standard')]/*[local-name() = 'preface']/*[local-name() = 'abstract']//text()"/>
|
7116
7876
|
|
7117
|
-
<xsl:copy-of select="//*[local-name() = 'bibdata'][@type='standard']/*[local-name() = 'abstract']//text()"/>
|
7118
7877
|
|
7119
7878
|
</xsl:variable>
|
7120
7879
|
<xsl:value-of select="normalize-space($abstract)"/>
|
@@ -7226,6 +7985,7 @@
|
|
7226
7985
|
|
7227
7986
|
<xsl:value-of select="document('')//*/namespace::bipm"/>
|
7228
7987
|
|
7988
|
+
|
7229
7989
|
</xsl:variable>
|
7230
7990
|
<xsl:if test="$documentNS != $XSLNS">
|
7231
7991
|
<xsl:message>[WARNING]: Document namespace: '<xsl:value-of select="$documentNS"/>' doesn't equal to xslt namespace '<xsl:value-of select="$XSLNS"/>'</xsl:message>
|
@@ -7285,6 +8045,11 @@
|
|
7285
8045
|
<xsl:call-template name="getLang"/>
|
7286
8046
|
</xsl:variable>
|
7287
8047
|
|
7288
|
-
<xsl:
|
8048
|
+
<xsl:choose>
|
8049
|
+
<xsl:when test="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]">
|
8050
|
+
<xsl:value-of select="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
8051
|
+
</xsl:when>
|
8052
|
+
<xsl:otherwise><xsl:value-of select="$key"/></xsl:otherwise>
|
8053
|
+
</xsl:choose>
|
7289
8054
|
|
7290
8055
|
</xsl:template></xsl:stylesheet>
|