metanorma-ogc 1.2.10 → 1.2.11
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/ogc/isodoc.rng +26 -3
- data/lib/isodoc/ogc/base_convert.rb +1 -1
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +18 -2
- data/lib/isodoc/ogc/ogc.best-practice.xsl +18 -2
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +18 -2
- data/lib/isodoc/ogc/ogc.community-practice.xsl +18 -2
- data/lib/isodoc/ogc/ogc.community-standard.xsl +18 -2
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +18 -2
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +18 -2
- data/lib/isodoc/ogc/ogc.other.xsl +18 -2
- data/lib/isodoc/ogc/ogc.policy.xsl +18 -2
- data/lib/isodoc/ogc/ogc.reference-model.xsl +18 -2
- data/lib/isodoc/ogc/ogc.release-notes.xsl +18 -2
- data/lib/isodoc/ogc/ogc.standard.xsl +18 -2
- data/lib/isodoc/ogc/ogc.test-suite.xsl +18 -2
- data/lib/isodoc/ogc/ogc.user-guide.xsl +18 -2
- data/lib/isodoc/ogc/ogc.white-paper.xsl +18 -2
- data/lib/isodoc/ogc/xref.rb +8 -4
- data/lib/metanorma/ogc/version.rb +1 -1
- data/metanorma-ogc.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e15d1d5244c56742241206793480e35f4147e85f20718fe003da6b8609138b9e
|
4
|
+
data.tar.gz: 71fc5a1f0e1583e1b4de15b23626bdadbe6acc6e533824c33cf15b9f4dbf0578
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c217d011a9b1177160d097c7e706d074ad6313daec50e36de1ff7d45c93d50d3b7a88ac0823cf2434ce5ca83f9532988ddd47e04497cfac144db541ff7c364cb
|
7
|
+
data.tar.gz: c963da6c2086b761979d59bcb38b157f34ea0ad6ea5f3739f6b240c95945f49424d5c4bf5a9dfaa7ceb9f030a854ae96b8d0933ebbd6e4629d2ccd97e60917df
|
data/.github/workflows/rake.yml
CHANGED
@@ -253,6 +253,9 @@
|
|
253
253
|
<data type="boolean"/>
|
254
254
|
</attribute>
|
255
255
|
</optional>
|
256
|
+
<optional>
|
257
|
+
<attribute name="width"/>
|
258
|
+
</optional>
|
256
259
|
<optional>
|
257
260
|
<ref name="colgroup"/>
|
258
261
|
</optional>
|
@@ -836,6 +839,9 @@
|
|
836
839
|
<data type="boolean"/>
|
837
840
|
</attribute>
|
838
841
|
</optional>
|
842
|
+
<optional>
|
843
|
+
<attribute name="number"/>
|
844
|
+
</optional>
|
839
845
|
<optional>
|
840
846
|
<attribute name="obligation">
|
841
847
|
<choice>
|
@@ -891,9 +897,11 @@
|
|
891
897
|
<element name="code">
|
892
898
|
<text/>
|
893
899
|
</element>
|
894
|
-
<
|
895
|
-
<text
|
896
|
-
|
900
|
+
<optional>
|
901
|
+
<element name="text">
|
902
|
+
<text/>
|
903
|
+
</element>
|
904
|
+
</optional>
|
897
905
|
</element>
|
898
906
|
</define>
|
899
907
|
<define name="standard-document">
|
@@ -1063,6 +1071,9 @@
|
|
1063
1071
|
</choice>
|
1064
1072
|
</attribute>
|
1065
1073
|
</optional>
|
1074
|
+
<optional>
|
1075
|
+
<attribute name="number"/>
|
1076
|
+
</optional>
|
1066
1077
|
<optional>
|
1067
1078
|
<attribute name="type"/>
|
1068
1079
|
</optional>
|
@@ -1116,6 +1127,9 @@
|
|
1116
1127
|
<optional>
|
1117
1128
|
<attribute name="type"/>
|
1118
1129
|
</optional>
|
1130
|
+
<optional>
|
1131
|
+
<attribute name="number"/>
|
1132
|
+
</optional>
|
1119
1133
|
<optional>
|
1120
1134
|
<ref name="section-title"/>
|
1121
1135
|
</optional>
|
@@ -1218,6 +1232,9 @@
|
|
1218
1232
|
<optional>
|
1219
1233
|
<attribute name="type"/>
|
1220
1234
|
</optional>
|
1235
|
+
<optional>
|
1236
|
+
<attribute name="number"/>
|
1237
|
+
</optional>
|
1221
1238
|
<optional>
|
1222
1239
|
<attribute name="obligation">
|
1223
1240
|
<choice>
|
@@ -1546,6 +1563,7 @@
|
|
1546
1563
|
<value>add</value>
|
1547
1564
|
<value>modify</value>
|
1548
1565
|
<value>delete</value>
|
1566
|
+
<value>replace</value>
|
1549
1567
|
</choice>
|
1550
1568
|
</attribute>
|
1551
1569
|
<optional>
|
@@ -1576,6 +1594,11 @@
|
|
1576
1594
|
</optional>
|
1577
1595
|
<optional>
|
1578
1596
|
<element name="newcontent">
|
1597
|
+
<optional>
|
1598
|
+
<attribute name="id">
|
1599
|
+
<data type="ID"/>
|
1600
|
+
</attribute>
|
1601
|
+
</optional>
|
1579
1602
|
<zeroOrMore>
|
1580
1603
|
<ref name="BasicBlock"/>
|
1581
1604
|
</zeroOrMore>
|
@@ -2139,7 +2139,12 @@
|
|
2139
2139
|
|
2140
2140
|
<xsl:variable name="table_attributes">
|
2141
2141
|
<attribute name="table-layout">fixed</attribute>
|
2142
|
-
<attribute name="width">
|
2142
|
+
<attribute name="width">
|
2143
|
+
<xsl:choose>
|
2144
|
+
<xsl:when test="@width"><xsl:value-of select="@width"/></xsl:when>
|
2145
|
+
<xsl:otherwise>100%</xsl:otherwise>
|
2146
|
+
</xsl:choose>
|
2147
|
+
</attribute>
|
2143
2148
|
<attribute name="margin-left"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2144
2149
|
<attribute name="margin-right"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2145
2150
|
|
@@ -3330,6 +3335,10 @@
|
|
3330
3335
|
</xsl:if>
|
3331
3336
|
<xsl:apply-templates/>
|
3332
3337
|
</fo:inline>
|
3338
|
+
</xsl:template><xsl:template match="*[local-name()='underline']">
|
3339
|
+
<fo:inline text-decoration="underline">
|
3340
|
+
<xsl:apply-templates/>
|
3341
|
+
</fo:inline>
|
3333
3342
|
</xsl:template><xsl:template match="*[local-name()='del']">
|
3334
3343
|
<fo:inline font-size="10pt" color="red" text-decoration="line-through">
|
3335
3344
|
<xsl:apply-templates/>
|
@@ -5096,6 +5105,8 @@
|
|
5096
5105
|
<xsl:value-of select="translate(.,'. ','')"/>
|
5097
5106
|
</xsl:template><xsl:template match="*[local-name() = 'name']/*[local-name() = 'forename']/text()" mode="strip">
|
5098
5107
|
<xsl:value-of select="substring(.,1,1)"/>
|
5108
|
+
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5109
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5099
5110
|
</xsl:template><xsl:template name="convertDate">
|
5100
5111
|
<xsl:param name="date"/>
|
5101
5112
|
<xsl:param name="format" select="'short'"/>
|
@@ -5373,6 +5384,11 @@
|
|
5373
5384
|
<xsl:call-template name="getLang"/>
|
5374
5385
|
</xsl:variable>
|
5375
5386
|
|
5376
|
-
<xsl:
|
5387
|
+
<xsl:choose>
|
5388
|
+
<xsl:when test="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]">
|
5389
|
+
<xsl:value-of select="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
5390
|
+
</xsl:when>
|
5391
|
+
<xsl:otherwise><xsl:value-of select="$key"/></xsl:otherwise>
|
5392
|
+
</xsl:choose>
|
5377
5393
|
|
5378
5394
|
</xsl:template></xsl:stylesheet>
|
@@ -2139,7 +2139,12 @@
|
|
2139
2139
|
|
2140
2140
|
<xsl:variable name="table_attributes">
|
2141
2141
|
<attribute name="table-layout">fixed</attribute>
|
2142
|
-
<attribute name="width">
|
2142
|
+
<attribute name="width">
|
2143
|
+
<xsl:choose>
|
2144
|
+
<xsl:when test="@width"><xsl:value-of select="@width"/></xsl:when>
|
2145
|
+
<xsl:otherwise>100%</xsl:otherwise>
|
2146
|
+
</xsl:choose>
|
2147
|
+
</attribute>
|
2143
2148
|
<attribute name="margin-left"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2144
2149
|
<attribute name="margin-right"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2145
2150
|
|
@@ -3330,6 +3335,10 @@
|
|
3330
3335
|
</xsl:if>
|
3331
3336
|
<xsl:apply-templates/>
|
3332
3337
|
</fo:inline>
|
3338
|
+
</xsl:template><xsl:template match="*[local-name()='underline']">
|
3339
|
+
<fo:inline text-decoration="underline">
|
3340
|
+
<xsl:apply-templates/>
|
3341
|
+
</fo:inline>
|
3333
3342
|
</xsl:template><xsl:template match="*[local-name()='del']">
|
3334
3343
|
<fo:inline font-size="10pt" color="red" text-decoration="line-through">
|
3335
3344
|
<xsl:apply-templates/>
|
@@ -5096,6 +5105,8 @@
|
|
5096
5105
|
<xsl:value-of select="translate(.,'. ','')"/>
|
5097
5106
|
</xsl:template><xsl:template match="*[local-name() = 'name']/*[local-name() = 'forename']/text()" mode="strip">
|
5098
5107
|
<xsl:value-of select="substring(.,1,1)"/>
|
5108
|
+
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5109
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5099
5110
|
</xsl:template><xsl:template name="convertDate">
|
5100
5111
|
<xsl:param name="date"/>
|
5101
5112
|
<xsl:param name="format" select="'short'"/>
|
@@ -5373,6 +5384,11 @@
|
|
5373
5384
|
<xsl:call-template name="getLang"/>
|
5374
5385
|
</xsl:variable>
|
5375
5386
|
|
5376
|
-
<xsl:
|
5387
|
+
<xsl:choose>
|
5388
|
+
<xsl:when test="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]">
|
5389
|
+
<xsl:value-of select="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
5390
|
+
</xsl:when>
|
5391
|
+
<xsl:otherwise><xsl:value-of select="$key"/></xsl:otherwise>
|
5392
|
+
</xsl:choose>
|
5377
5393
|
|
5378
5394
|
</xsl:template></xsl:stylesheet>
|
@@ -2139,7 +2139,12 @@
|
|
2139
2139
|
|
2140
2140
|
<xsl:variable name="table_attributes">
|
2141
2141
|
<attribute name="table-layout">fixed</attribute>
|
2142
|
-
<attribute name="width">
|
2142
|
+
<attribute name="width">
|
2143
|
+
<xsl:choose>
|
2144
|
+
<xsl:when test="@width"><xsl:value-of select="@width"/></xsl:when>
|
2145
|
+
<xsl:otherwise>100%</xsl:otherwise>
|
2146
|
+
</xsl:choose>
|
2147
|
+
</attribute>
|
2143
2148
|
<attribute name="margin-left"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2144
2149
|
<attribute name="margin-right"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2145
2150
|
|
@@ -3330,6 +3335,10 @@
|
|
3330
3335
|
</xsl:if>
|
3331
3336
|
<xsl:apply-templates/>
|
3332
3337
|
</fo:inline>
|
3338
|
+
</xsl:template><xsl:template match="*[local-name()='underline']">
|
3339
|
+
<fo:inline text-decoration="underline">
|
3340
|
+
<xsl:apply-templates/>
|
3341
|
+
</fo:inline>
|
3333
3342
|
</xsl:template><xsl:template match="*[local-name()='del']">
|
3334
3343
|
<fo:inline font-size="10pt" color="red" text-decoration="line-through">
|
3335
3344
|
<xsl:apply-templates/>
|
@@ -5096,6 +5105,8 @@
|
|
5096
5105
|
<xsl:value-of select="translate(.,'. ','')"/>
|
5097
5106
|
</xsl:template><xsl:template match="*[local-name() = 'name']/*[local-name() = 'forename']/text()" mode="strip">
|
5098
5107
|
<xsl:value-of select="substring(.,1,1)"/>
|
5108
|
+
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5109
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5099
5110
|
</xsl:template><xsl:template name="convertDate">
|
5100
5111
|
<xsl:param name="date"/>
|
5101
5112
|
<xsl:param name="format" select="'short'"/>
|
@@ -5373,6 +5384,11 @@
|
|
5373
5384
|
<xsl:call-template name="getLang"/>
|
5374
5385
|
</xsl:variable>
|
5375
5386
|
|
5376
|
-
<xsl:
|
5387
|
+
<xsl:choose>
|
5388
|
+
<xsl:when test="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]">
|
5389
|
+
<xsl:value-of select="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
5390
|
+
</xsl:when>
|
5391
|
+
<xsl:otherwise><xsl:value-of select="$key"/></xsl:otherwise>
|
5392
|
+
</xsl:choose>
|
5377
5393
|
|
5378
5394
|
</xsl:template></xsl:stylesheet>
|
@@ -2139,7 +2139,12 @@
|
|
2139
2139
|
|
2140
2140
|
<xsl:variable name="table_attributes">
|
2141
2141
|
<attribute name="table-layout">fixed</attribute>
|
2142
|
-
<attribute name="width">
|
2142
|
+
<attribute name="width">
|
2143
|
+
<xsl:choose>
|
2144
|
+
<xsl:when test="@width"><xsl:value-of select="@width"/></xsl:when>
|
2145
|
+
<xsl:otherwise>100%</xsl:otherwise>
|
2146
|
+
</xsl:choose>
|
2147
|
+
</attribute>
|
2143
2148
|
<attribute name="margin-left"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2144
2149
|
<attribute name="margin-right"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2145
2150
|
|
@@ -3330,6 +3335,10 @@
|
|
3330
3335
|
</xsl:if>
|
3331
3336
|
<xsl:apply-templates/>
|
3332
3337
|
</fo:inline>
|
3338
|
+
</xsl:template><xsl:template match="*[local-name()='underline']">
|
3339
|
+
<fo:inline text-decoration="underline">
|
3340
|
+
<xsl:apply-templates/>
|
3341
|
+
</fo:inline>
|
3333
3342
|
</xsl:template><xsl:template match="*[local-name()='del']">
|
3334
3343
|
<fo:inline font-size="10pt" color="red" text-decoration="line-through">
|
3335
3344
|
<xsl:apply-templates/>
|
@@ -5096,6 +5105,8 @@
|
|
5096
5105
|
<xsl:value-of select="translate(.,'. ','')"/>
|
5097
5106
|
</xsl:template><xsl:template match="*[local-name() = 'name']/*[local-name() = 'forename']/text()" mode="strip">
|
5098
5107
|
<xsl:value-of select="substring(.,1,1)"/>
|
5108
|
+
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5109
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5099
5110
|
</xsl:template><xsl:template name="convertDate">
|
5100
5111
|
<xsl:param name="date"/>
|
5101
5112
|
<xsl:param name="format" select="'short'"/>
|
@@ -5373,6 +5384,11 @@
|
|
5373
5384
|
<xsl:call-template name="getLang"/>
|
5374
5385
|
</xsl:variable>
|
5375
5386
|
|
5376
|
-
<xsl:
|
5387
|
+
<xsl:choose>
|
5388
|
+
<xsl:when test="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]">
|
5389
|
+
<xsl:value-of select="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
5390
|
+
</xsl:when>
|
5391
|
+
<xsl:otherwise><xsl:value-of select="$key"/></xsl:otherwise>
|
5392
|
+
</xsl:choose>
|
5377
5393
|
|
5378
5394
|
</xsl:template></xsl:stylesheet>
|
@@ -2139,7 +2139,12 @@
|
|
2139
2139
|
|
2140
2140
|
<xsl:variable name="table_attributes">
|
2141
2141
|
<attribute name="table-layout">fixed</attribute>
|
2142
|
-
<attribute name="width">
|
2142
|
+
<attribute name="width">
|
2143
|
+
<xsl:choose>
|
2144
|
+
<xsl:when test="@width"><xsl:value-of select="@width"/></xsl:when>
|
2145
|
+
<xsl:otherwise>100%</xsl:otherwise>
|
2146
|
+
</xsl:choose>
|
2147
|
+
</attribute>
|
2143
2148
|
<attribute name="margin-left"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2144
2149
|
<attribute name="margin-right"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2145
2150
|
|
@@ -3330,6 +3335,10 @@
|
|
3330
3335
|
</xsl:if>
|
3331
3336
|
<xsl:apply-templates/>
|
3332
3337
|
</fo:inline>
|
3338
|
+
</xsl:template><xsl:template match="*[local-name()='underline']">
|
3339
|
+
<fo:inline text-decoration="underline">
|
3340
|
+
<xsl:apply-templates/>
|
3341
|
+
</fo:inline>
|
3333
3342
|
</xsl:template><xsl:template match="*[local-name()='del']">
|
3334
3343
|
<fo:inline font-size="10pt" color="red" text-decoration="line-through">
|
3335
3344
|
<xsl:apply-templates/>
|
@@ -5096,6 +5105,8 @@
|
|
5096
5105
|
<xsl:value-of select="translate(.,'. ','')"/>
|
5097
5106
|
</xsl:template><xsl:template match="*[local-name() = 'name']/*[local-name() = 'forename']/text()" mode="strip">
|
5098
5107
|
<xsl:value-of select="substring(.,1,1)"/>
|
5108
|
+
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5109
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5099
5110
|
</xsl:template><xsl:template name="convertDate">
|
5100
5111
|
<xsl:param name="date"/>
|
5101
5112
|
<xsl:param name="format" select="'short'"/>
|
@@ -5373,6 +5384,11 @@
|
|
5373
5384
|
<xsl:call-template name="getLang"/>
|
5374
5385
|
</xsl:variable>
|
5375
5386
|
|
5376
|
-
<xsl:
|
5387
|
+
<xsl:choose>
|
5388
|
+
<xsl:when test="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]">
|
5389
|
+
<xsl:value-of select="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
5390
|
+
</xsl:when>
|
5391
|
+
<xsl:otherwise><xsl:value-of select="$key"/></xsl:otherwise>
|
5392
|
+
</xsl:choose>
|
5377
5393
|
|
5378
5394
|
</xsl:template></xsl:stylesheet>
|
@@ -2139,7 +2139,12 @@
|
|
2139
2139
|
|
2140
2140
|
<xsl:variable name="table_attributes">
|
2141
2141
|
<attribute name="table-layout">fixed</attribute>
|
2142
|
-
<attribute name="width">
|
2142
|
+
<attribute name="width">
|
2143
|
+
<xsl:choose>
|
2144
|
+
<xsl:when test="@width"><xsl:value-of select="@width"/></xsl:when>
|
2145
|
+
<xsl:otherwise>100%</xsl:otherwise>
|
2146
|
+
</xsl:choose>
|
2147
|
+
</attribute>
|
2143
2148
|
<attribute name="margin-left"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2144
2149
|
<attribute name="margin-right"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2145
2150
|
|
@@ -3330,6 +3335,10 @@
|
|
3330
3335
|
</xsl:if>
|
3331
3336
|
<xsl:apply-templates/>
|
3332
3337
|
</fo:inline>
|
3338
|
+
</xsl:template><xsl:template match="*[local-name()='underline']">
|
3339
|
+
<fo:inline text-decoration="underline">
|
3340
|
+
<xsl:apply-templates/>
|
3341
|
+
</fo:inline>
|
3333
3342
|
</xsl:template><xsl:template match="*[local-name()='del']">
|
3334
3343
|
<fo:inline font-size="10pt" color="red" text-decoration="line-through">
|
3335
3344
|
<xsl:apply-templates/>
|
@@ -5096,6 +5105,8 @@
|
|
5096
5105
|
<xsl:value-of select="translate(.,'. ','')"/>
|
5097
5106
|
</xsl:template><xsl:template match="*[local-name() = 'name']/*[local-name() = 'forename']/text()" mode="strip">
|
5098
5107
|
<xsl:value-of select="substring(.,1,1)"/>
|
5108
|
+
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5109
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5099
5110
|
</xsl:template><xsl:template name="convertDate">
|
5100
5111
|
<xsl:param name="date"/>
|
5101
5112
|
<xsl:param name="format" select="'short'"/>
|
@@ -5373,6 +5384,11 @@
|
|
5373
5384
|
<xsl:call-template name="getLang"/>
|
5374
5385
|
</xsl:variable>
|
5375
5386
|
|
5376
|
-
<xsl:
|
5387
|
+
<xsl:choose>
|
5388
|
+
<xsl:when test="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]">
|
5389
|
+
<xsl:value-of select="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
5390
|
+
</xsl:when>
|
5391
|
+
<xsl:otherwise><xsl:value-of select="$key"/></xsl:otherwise>
|
5392
|
+
</xsl:choose>
|
5377
5393
|
|
5378
5394
|
</xsl:template></xsl:stylesheet>
|
@@ -2139,7 +2139,12 @@
|
|
2139
2139
|
|
2140
2140
|
<xsl:variable name="table_attributes">
|
2141
2141
|
<attribute name="table-layout">fixed</attribute>
|
2142
|
-
<attribute name="width">
|
2142
|
+
<attribute name="width">
|
2143
|
+
<xsl:choose>
|
2144
|
+
<xsl:when test="@width"><xsl:value-of select="@width"/></xsl:when>
|
2145
|
+
<xsl:otherwise>100%</xsl:otherwise>
|
2146
|
+
</xsl:choose>
|
2147
|
+
</attribute>
|
2143
2148
|
<attribute name="margin-left"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2144
2149
|
<attribute name="margin-right"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2145
2150
|
|
@@ -3330,6 +3335,10 @@
|
|
3330
3335
|
</xsl:if>
|
3331
3336
|
<xsl:apply-templates/>
|
3332
3337
|
</fo:inline>
|
3338
|
+
</xsl:template><xsl:template match="*[local-name()='underline']">
|
3339
|
+
<fo:inline text-decoration="underline">
|
3340
|
+
<xsl:apply-templates/>
|
3341
|
+
</fo:inline>
|
3333
3342
|
</xsl:template><xsl:template match="*[local-name()='del']">
|
3334
3343
|
<fo:inline font-size="10pt" color="red" text-decoration="line-through">
|
3335
3344
|
<xsl:apply-templates/>
|
@@ -5096,6 +5105,8 @@
|
|
5096
5105
|
<xsl:value-of select="translate(.,'. ','')"/>
|
5097
5106
|
</xsl:template><xsl:template match="*[local-name() = 'name']/*[local-name() = 'forename']/text()" mode="strip">
|
5098
5107
|
<xsl:value-of select="substring(.,1,1)"/>
|
5108
|
+
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5109
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5099
5110
|
</xsl:template><xsl:template name="convertDate">
|
5100
5111
|
<xsl:param name="date"/>
|
5101
5112
|
<xsl:param name="format" select="'short'"/>
|
@@ -5373,6 +5384,11 @@
|
|
5373
5384
|
<xsl:call-template name="getLang"/>
|
5374
5385
|
</xsl:variable>
|
5375
5386
|
|
5376
|
-
<xsl:
|
5387
|
+
<xsl:choose>
|
5388
|
+
<xsl:when test="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]">
|
5389
|
+
<xsl:value-of select="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
5390
|
+
</xsl:when>
|
5391
|
+
<xsl:otherwise><xsl:value-of select="$key"/></xsl:otherwise>
|
5392
|
+
</xsl:choose>
|
5377
5393
|
|
5378
5394
|
</xsl:template></xsl:stylesheet>
|
@@ -2139,7 +2139,12 @@
|
|
2139
2139
|
|
2140
2140
|
<xsl:variable name="table_attributes">
|
2141
2141
|
<attribute name="table-layout">fixed</attribute>
|
2142
|
-
<attribute name="width">
|
2142
|
+
<attribute name="width">
|
2143
|
+
<xsl:choose>
|
2144
|
+
<xsl:when test="@width"><xsl:value-of select="@width"/></xsl:when>
|
2145
|
+
<xsl:otherwise>100%</xsl:otherwise>
|
2146
|
+
</xsl:choose>
|
2147
|
+
</attribute>
|
2143
2148
|
<attribute name="margin-left"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2144
2149
|
<attribute name="margin-right"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2145
2150
|
|
@@ -3330,6 +3335,10 @@
|
|
3330
3335
|
</xsl:if>
|
3331
3336
|
<xsl:apply-templates/>
|
3332
3337
|
</fo:inline>
|
3338
|
+
</xsl:template><xsl:template match="*[local-name()='underline']">
|
3339
|
+
<fo:inline text-decoration="underline">
|
3340
|
+
<xsl:apply-templates/>
|
3341
|
+
</fo:inline>
|
3333
3342
|
</xsl:template><xsl:template match="*[local-name()='del']">
|
3334
3343
|
<fo:inline font-size="10pt" color="red" text-decoration="line-through">
|
3335
3344
|
<xsl:apply-templates/>
|
@@ -5096,6 +5105,8 @@
|
|
5096
5105
|
<xsl:value-of select="translate(.,'. ','')"/>
|
5097
5106
|
</xsl:template><xsl:template match="*[local-name() = 'name']/*[local-name() = 'forename']/text()" mode="strip">
|
5098
5107
|
<xsl:value-of select="substring(.,1,1)"/>
|
5108
|
+
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5109
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5099
5110
|
</xsl:template><xsl:template name="convertDate">
|
5100
5111
|
<xsl:param name="date"/>
|
5101
5112
|
<xsl:param name="format" select="'short'"/>
|
@@ -5373,6 +5384,11 @@
|
|
5373
5384
|
<xsl:call-template name="getLang"/>
|
5374
5385
|
</xsl:variable>
|
5375
5386
|
|
5376
|
-
<xsl:
|
5387
|
+
<xsl:choose>
|
5388
|
+
<xsl:when test="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]">
|
5389
|
+
<xsl:value-of select="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
5390
|
+
</xsl:when>
|
5391
|
+
<xsl:otherwise><xsl:value-of select="$key"/></xsl:otherwise>
|
5392
|
+
</xsl:choose>
|
5377
5393
|
|
5378
5394
|
</xsl:template></xsl:stylesheet>
|
@@ -2139,7 +2139,12 @@
|
|
2139
2139
|
|
2140
2140
|
<xsl:variable name="table_attributes">
|
2141
2141
|
<attribute name="table-layout">fixed</attribute>
|
2142
|
-
<attribute name="width">
|
2142
|
+
<attribute name="width">
|
2143
|
+
<xsl:choose>
|
2144
|
+
<xsl:when test="@width"><xsl:value-of select="@width"/></xsl:when>
|
2145
|
+
<xsl:otherwise>100%</xsl:otherwise>
|
2146
|
+
</xsl:choose>
|
2147
|
+
</attribute>
|
2143
2148
|
<attribute name="margin-left"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2144
2149
|
<attribute name="margin-right"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2145
2150
|
|
@@ -3330,6 +3335,10 @@
|
|
3330
3335
|
</xsl:if>
|
3331
3336
|
<xsl:apply-templates/>
|
3332
3337
|
</fo:inline>
|
3338
|
+
</xsl:template><xsl:template match="*[local-name()='underline']">
|
3339
|
+
<fo:inline text-decoration="underline">
|
3340
|
+
<xsl:apply-templates/>
|
3341
|
+
</fo:inline>
|
3333
3342
|
</xsl:template><xsl:template match="*[local-name()='del']">
|
3334
3343
|
<fo:inline font-size="10pt" color="red" text-decoration="line-through">
|
3335
3344
|
<xsl:apply-templates/>
|
@@ -5096,6 +5105,8 @@
|
|
5096
5105
|
<xsl:value-of select="translate(.,'. ','')"/>
|
5097
5106
|
</xsl:template><xsl:template match="*[local-name() = 'name']/*[local-name() = 'forename']/text()" mode="strip">
|
5098
5107
|
<xsl:value-of select="substring(.,1,1)"/>
|
5108
|
+
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5109
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5099
5110
|
</xsl:template><xsl:template name="convertDate">
|
5100
5111
|
<xsl:param name="date"/>
|
5101
5112
|
<xsl:param name="format" select="'short'"/>
|
@@ -5373,6 +5384,11 @@
|
|
5373
5384
|
<xsl:call-template name="getLang"/>
|
5374
5385
|
</xsl:variable>
|
5375
5386
|
|
5376
|
-
<xsl:
|
5387
|
+
<xsl:choose>
|
5388
|
+
<xsl:when test="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]">
|
5389
|
+
<xsl:value-of select="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
5390
|
+
</xsl:when>
|
5391
|
+
<xsl:otherwise><xsl:value-of select="$key"/></xsl:otherwise>
|
5392
|
+
</xsl:choose>
|
5377
5393
|
|
5378
5394
|
</xsl:template></xsl:stylesheet>
|
@@ -2139,7 +2139,12 @@
|
|
2139
2139
|
|
2140
2140
|
<xsl:variable name="table_attributes">
|
2141
2141
|
<attribute name="table-layout">fixed</attribute>
|
2142
|
-
<attribute name="width">
|
2142
|
+
<attribute name="width">
|
2143
|
+
<xsl:choose>
|
2144
|
+
<xsl:when test="@width"><xsl:value-of select="@width"/></xsl:when>
|
2145
|
+
<xsl:otherwise>100%</xsl:otherwise>
|
2146
|
+
</xsl:choose>
|
2147
|
+
</attribute>
|
2143
2148
|
<attribute name="margin-left"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2144
2149
|
<attribute name="margin-right"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2145
2150
|
|
@@ -3330,6 +3335,10 @@
|
|
3330
3335
|
</xsl:if>
|
3331
3336
|
<xsl:apply-templates/>
|
3332
3337
|
</fo:inline>
|
3338
|
+
</xsl:template><xsl:template match="*[local-name()='underline']">
|
3339
|
+
<fo:inline text-decoration="underline">
|
3340
|
+
<xsl:apply-templates/>
|
3341
|
+
</fo:inline>
|
3333
3342
|
</xsl:template><xsl:template match="*[local-name()='del']">
|
3334
3343
|
<fo:inline font-size="10pt" color="red" text-decoration="line-through">
|
3335
3344
|
<xsl:apply-templates/>
|
@@ -5096,6 +5105,8 @@
|
|
5096
5105
|
<xsl:value-of select="translate(.,'. ','')"/>
|
5097
5106
|
</xsl:template><xsl:template match="*[local-name() = 'name']/*[local-name() = 'forename']/text()" mode="strip">
|
5098
5107
|
<xsl:value-of select="substring(.,1,1)"/>
|
5108
|
+
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5109
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5099
5110
|
</xsl:template><xsl:template name="convertDate">
|
5100
5111
|
<xsl:param name="date"/>
|
5101
5112
|
<xsl:param name="format" select="'short'"/>
|
@@ -5373,6 +5384,11 @@
|
|
5373
5384
|
<xsl:call-template name="getLang"/>
|
5374
5385
|
</xsl:variable>
|
5375
5386
|
|
5376
|
-
<xsl:
|
5387
|
+
<xsl:choose>
|
5388
|
+
<xsl:when test="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]">
|
5389
|
+
<xsl:value-of select="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
5390
|
+
</xsl:when>
|
5391
|
+
<xsl:otherwise><xsl:value-of select="$key"/></xsl:otherwise>
|
5392
|
+
</xsl:choose>
|
5377
5393
|
|
5378
5394
|
</xsl:template></xsl:stylesheet>
|
@@ -2139,7 +2139,12 @@
|
|
2139
2139
|
|
2140
2140
|
<xsl:variable name="table_attributes">
|
2141
2141
|
<attribute name="table-layout">fixed</attribute>
|
2142
|
-
<attribute name="width">
|
2142
|
+
<attribute name="width">
|
2143
|
+
<xsl:choose>
|
2144
|
+
<xsl:when test="@width"><xsl:value-of select="@width"/></xsl:when>
|
2145
|
+
<xsl:otherwise>100%</xsl:otherwise>
|
2146
|
+
</xsl:choose>
|
2147
|
+
</attribute>
|
2143
2148
|
<attribute name="margin-left"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2144
2149
|
<attribute name="margin-right"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2145
2150
|
|
@@ -3330,6 +3335,10 @@
|
|
3330
3335
|
</xsl:if>
|
3331
3336
|
<xsl:apply-templates/>
|
3332
3337
|
</fo:inline>
|
3338
|
+
</xsl:template><xsl:template match="*[local-name()='underline']">
|
3339
|
+
<fo:inline text-decoration="underline">
|
3340
|
+
<xsl:apply-templates/>
|
3341
|
+
</fo:inline>
|
3333
3342
|
</xsl:template><xsl:template match="*[local-name()='del']">
|
3334
3343
|
<fo:inline font-size="10pt" color="red" text-decoration="line-through">
|
3335
3344
|
<xsl:apply-templates/>
|
@@ -5096,6 +5105,8 @@
|
|
5096
5105
|
<xsl:value-of select="translate(.,'. ','')"/>
|
5097
5106
|
</xsl:template><xsl:template match="*[local-name() = 'name']/*[local-name() = 'forename']/text()" mode="strip">
|
5098
5107
|
<xsl:value-of select="substring(.,1,1)"/>
|
5108
|
+
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5109
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5099
5110
|
</xsl:template><xsl:template name="convertDate">
|
5100
5111
|
<xsl:param name="date"/>
|
5101
5112
|
<xsl:param name="format" select="'short'"/>
|
@@ -5373,6 +5384,11 @@
|
|
5373
5384
|
<xsl:call-template name="getLang"/>
|
5374
5385
|
</xsl:variable>
|
5375
5386
|
|
5376
|
-
<xsl:
|
5387
|
+
<xsl:choose>
|
5388
|
+
<xsl:when test="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]">
|
5389
|
+
<xsl:value-of select="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
5390
|
+
</xsl:when>
|
5391
|
+
<xsl:otherwise><xsl:value-of select="$key"/></xsl:otherwise>
|
5392
|
+
</xsl:choose>
|
5377
5393
|
|
5378
5394
|
</xsl:template></xsl:stylesheet>
|
@@ -2139,7 +2139,12 @@
|
|
2139
2139
|
|
2140
2140
|
<xsl:variable name="table_attributes">
|
2141
2141
|
<attribute name="table-layout">fixed</attribute>
|
2142
|
-
<attribute name="width">
|
2142
|
+
<attribute name="width">
|
2143
|
+
<xsl:choose>
|
2144
|
+
<xsl:when test="@width"><xsl:value-of select="@width"/></xsl:when>
|
2145
|
+
<xsl:otherwise>100%</xsl:otherwise>
|
2146
|
+
</xsl:choose>
|
2147
|
+
</attribute>
|
2143
2148
|
<attribute name="margin-left"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2144
2149
|
<attribute name="margin-right"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2145
2150
|
|
@@ -3330,6 +3335,10 @@
|
|
3330
3335
|
</xsl:if>
|
3331
3336
|
<xsl:apply-templates/>
|
3332
3337
|
</fo:inline>
|
3338
|
+
</xsl:template><xsl:template match="*[local-name()='underline']">
|
3339
|
+
<fo:inline text-decoration="underline">
|
3340
|
+
<xsl:apply-templates/>
|
3341
|
+
</fo:inline>
|
3333
3342
|
</xsl:template><xsl:template match="*[local-name()='del']">
|
3334
3343
|
<fo:inline font-size="10pt" color="red" text-decoration="line-through">
|
3335
3344
|
<xsl:apply-templates/>
|
@@ -5096,6 +5105,8 @@
|
|
5096
5105
|
<xsl:value-of select="translate(.,'. ','')"/>
|
5097
5106
|
</xsl:template><xsl:template match="*[local-name() = 'name']/*[local-name() = 'forename']/text()" mode="strip">
|
5098
5107
|
<xsl:value-of select="substring(.,1,1)"/>
|
5108
|
+
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5109
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5099
5110
|
</xsl:template><xsl:template name="convertDate">
|
5100
5111
|
<xsl:param name="date"/>
|
5101
5112
|
<xsl:param name="format" select="'short'"/>
|
@@ -5373,6 +5384,11 @@
|
|
5373
5384
|
<xsl:call-template name="getLang"/>
|
5374
5385
|
</xsl:variable>
|
5375
5386
|
|
5376
|
-
<xsl:
|
5387
|
+
<xsl:choose>
|
5388
|
+
<xsl:when test="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]">
|
5389
|
+
<xsl:value-of select="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
5390
|
+
</xsl:when>
|
5391
|
+
<xsl:otherwise><xsl:value-of select="$key"/></xsl:otherwise>
|
5392
|
+
</xsl:choose>
|
5377
5393
|
|
5378
5394
|
</xsl:template></xsl:stylesheet>
|
@@ -2139,7 +2139,12 @@
|
|
2139
2139
|
|
2140
2140
|
<xsl:variable name="table_attributes">
|
2141
2141
|
<attribute name="table-layout">fixed</attribute>
|
2142
|
-
<attribute name="width">
|
2142
|
+
<attribute name="width">
|
2143
|
+
<xsl:choose>
|
2144
|
+
<xsl:when test="@width"><xsl:value-of select="@width"/></xsl:when>
|
2145
|
+
<xsl:otherwise>100%</xsl:otherwise>
|
2146
|
+
</xsl:choose>
|
2147
|
+
</attribute>
|
2143
2148
|
<attribute name="margin-left"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2144
2149
|
<attribute name="margin-right"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2145
2150
|
|
@@ -3330,6 +3335,10 @@
|
|
3330
3335
|
</xsl:if>
|
3331
3336
|
<xsl:apply-templates/>
|
3332
3337
|
</fo:inline>
|
3338
|
+
</xsl:template><xsl:template match="*[local-name()='underline']">
|
3339
|
+
<fo:inline text-decoration="underline">
|
3340
|
+
<xsl:apply-templates/>
|
3341
|
+
</fo:inline>
|
3333
3342
|
</xsl:template><xsl:template match="*[local-name()='del']">
|
3334
3343
|
<fo:inline font-size="10pt" color="red" text-decoration="line-through">
|
3335
3344
|
<xsl:apply-templates/>
|
@@ -5096,6 +5105,8 @@
|
|
5096
5105
|
<xsl:value-of select="translate(.,'. ','')"/>
|
5097
5106
|
</xsl:template><xsl:template match="*[local-name() = 'name']/*[local-name() = 'forename']/text()" mode="strip">
|
5098
5107
|
<xsl:value-of select="substring(.,1,1)"/>
|
5108
|
+
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5109
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5099
5110
|
</xsl:template><xsl:template name="convertDate">
|
5100
5111
|
<xsl:param name="date"/>
|
5101
5112
|
<xsl:param name="format" select="'short'"/>
|
@@ -5373,6 +5384,11 @@
|
|
5373
5384
|
<xsl:call-template name="getLang"/>
|
5374
5385
|
</xsl:variable>
|
5375
5386
|
|
5376
|
-
<xsl:
|
5387
|
+
<xsl:choose>
|
5388
|
+
<xsl:when test="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]">
|
5389
|
+
<xsl:value-of select="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
5390
|
+
</xsl:when>
|
5391
|
+
<xsl:otherwise><xsl:value-of select="$key"/></xsl:otherwise>
|
5392
|
+
</xsl:choose>
|
5377
5393
|
|
5378
5394
|
</xsl:template></xsl:stylesheet>
|
@@ -2139,7 +2139,12 @@
|
|
2139
2139
|
|
2140
2140
|
<xsl:variable name="table_attributes">
|
2141
2141
|
<attribute name="table-layout">fixed</attribute>
|
2142
|
-
<attribute name="width">
|
2142
|
+
<attribute name="width">
|
2143
|
+
<xsl:choose>
|
2144
|
+
<xsl:when test="@width"><xsl:value-of select="@width"/></xsl:when>
|
2145
|
+
<xsl:otherwise>100%</xsl:otherwise>
|
2146
|
+
</xsl:choose>
|
2147
|
+
</attribute>
|
2143
2148
|
<attribute name="margin-left"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2144
2149
|
<attribute name="margin-right"><xsl:value-of select="$margin-left"/>mm</attribute>
|
2145
2150
|
|
@@ -3330,6 +3335,10 @@
|
|
3330
3335
|
</xsl:if>
|
3331
3336
|
<xsl:apply-templates/>
|
3332
3337
|
</fo:inline>
|
3338
|
+
</xsl:template><xsl:template match="*[local-name()='underline']">
|
3339
|
+
<fo:inline text-decoration="underline">
|
3340
|
+
<xsl:apply-templates/>
|
3341
|
+
</fo:inline>
|
3333
3342
|
</xsl:template><xsl:template match="*[local-name()='del']">
|
3334
3343
|
<fo:inline font-size="10pt" color="red" text-decoration="line-through">
|
3335
3344
|
<xsl:apply-templates/>
|
@@ -5096,6 +5105,8 @@
|
|
5096
5105
|
<xsl:value-of select="translate(.,'. ','')"/>
|
5097
5106
|
</xsl:template><xsl:template match="*[local-name() = 'name']/*[local-name() = 'forename']/text()" mode="strip">
|
5098
5107
|
<xsl:value-of select="substring(.,1,1)"/>
|
5108
|
+
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
5109
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
5099
5110
|
</xsl:template><xsl:template name="convertDate">
|
5100
5111
|
<xsl:param name="date"/>
|
5101
5112
|
<xsl:param name="format" select="'short'"/>
|
@@ -5373,6 +5384,11 @@
|
|
5373
5384
|
<xsl:call-template name="getLang"/>
|
5374
5385
|
</xsl:variable>
|
5375
5386
|
|
5376
|
-
<xsl:
|
5387
|
+
<xsl:choose>
|
5388
|
+
<xsl:when test="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]">
|
5389
|
+
<xsl:value-of select="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
5390
|
+
</xsl:when>
|
5391
|
+
<xsl:otherwise><xsl:value-of select="$key"/></xsl:otherwise>
|
5392
|
+
</xsl:choose>
|
5377
5393
|
|
5378
5394
|
</xsl:template></xsl:stylesheet>
|
@@ -1544,7 +1544,12 @@
|
|
1544
1544
|
|
1545
1545
|
<xsl:variable name="table_attributes">
|
1546
1546
|
<attribute name="table-layout">fixed</attribute>
|
1547
|
-
<attribute name="width">
|
1547
|
+
<attribute name="width">
|
1548
|
+
<xsl:choose>
|
1549
|
+
<xsl:when test="@width"><xsl:value-of select="@width"/></xsl:when>
|
1550
|
+
<xsl:otherwise>100%</xsl:otherwise>
|
1551
|
+
</xsl:choose>
|
1552
|
+
</attribute>
|
1548
1553
|
<attribute name="margin-left"><xsl:value-of select="$margin-left"/>mm</attribute>
|
1549
1554
|
<attribute name="margin-right"><xsl:value-of select="$margin-left"/>mm</attribute>
|
1550
1555
|
|
@@ -2728,6 +2733,10 @@
|
|
2728
2733
|
</xsl:if>
|
2729
2734
|
<xsl:apply-templates/>
|
2730
2735
|
</fo:inline>
|
2736
|
+
</xsl:template><xsl:template match="*[local-name()='underline']">
|
2737
|
+
<fo:inline text-decoration="underline">
|
2738
|
+
<xsl:apply-templates/>
|
2739
|
+
</fo:inline>
|
2731
2740
|
</xsl:template><xsl:template match="*[local-name()='del']">
|
2732
2741
|
<fo:inline font-size="10pt" color="red" text-decoration="line-through">
|
2733
2742
|
<xsl:apply-templates/>
|
@@ -4465,6 +4474,8 @@
|
|
4465
4474
|
<xsl:value-of select="translate(.,'. ','')"/>
|
4466
4475
|
</xsl:template><xsl:template match="*[local-name() = 'name']/*[local-name() = 'forename']/text()" mode="strip">
|
4467
4476
|
<xsl:value-of select="substring(.,1,1)"/>
|
4477
|
+
</xsl:template><xsl:template match="*[local-name() = 'title']" mode="title">
|
4478
|
+
<fo:inline><xsl:apply-templates/></fo:inline>
|
4468
4479
|
</xsl:template><xsl:template name="convertDate">
|
4469
4480
|
<xsl:param name="date"/>
|
4470
4481
|
<xsl:param name="format" select="'short'"/>
|
@@ -4742,6 +4753,11 @@
|
|
4742
4753
|
<xsl:call-template name="getLang"/>
|
4743
4754
|
</xsl:variable>
|
4744
4755
|
|
4745
|
-
<xsl:
|
4756
|
+
<xsl:choose>
|
4757
|
+
<xsl:when test="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]">
|
4758
|
+
<xsl:value-of select="/*/*[local-name() = 'localized-strings']/*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
4759
|
+
</xsl:when>
|
4760
|
+
<xsl:otherwise><xsl:value-of select="$key"/></xsl:otherwise>
|
4761
|
+
</xsl:choose>
|
4746
4762
|
|
4747
4763
|
</xsl:template></xsl:stylesheet>
|
data/lib/isodoc/ogc/xref.rb
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
module IsoDoc
|
2
2
|
module Ogc
|
3
|
+
class Counter < IsoDoc::XrefGen::Counter
|
4
|
+
end
|
5
|
+
|
3
6
|
class Xref < IsoDoc::Xref
|
4
7
|
def initialize(lang, script, klass, labels, options)
|
5
8
|
@reqtlabels = {}
|
@@ -13,7 +16,7 @@ module IsoDoc
|
|
13
16
|
FIRST_LVL_REQ = IsoDoc::XrefGen::Blocks::FIRST_LVL_REQ
|
14
17
|
|
15
18
|
def sequential_permission_names(clause, klass, label)
|
16
|
-
c =
|
19
|
+
c = Counter.new
|
17
20
|
clause.xpath(ns(".//#{klass}#{FIRST_LVL_REQ}")).each do |t|
|
18
21
|
next if t["id"].nil? || t["id"].empty?
|
19
22
|
id = c.increment(t).print
|
@@ -49,7 +52,7 @@ module IsoDoc
|
|
49
52
|
end
|
50
53
|
|
51
54
|
def sequential_permission_names1(block, lbl, klass, label)
|
52
|
-
c =
|
55
|
+
c = Counter.new
|
53
56
|
block.xpath(ns("./#{klass}")).each do |t|
|
54
57
|
next if t["id"].nil? || t["id"].empty?
|
55
58
|
id = "#{lbl}#{hierfigsep}#{c.increment(t).print}"
|
@@ -90,7 +93,7 @@ module IsoDoc
|
|
90
93
|
end
|
91
94
|
|
92
95
|
def hierarchical_permission_names(clause, num, klass, label)
|
93
|
-
c =
|
96
|
+
c = Counter.new
|
94
97
|
clause.xpath(ns(".//#{klass}#{FIRST_LVL_REQ}")).each do |t|
|
95
98
|
next if t["id"].nil? || t["id"].empty?
|
96
99
|
lbl = "#{num}#{hiersep}#{c.increment(t).print}"
|
@@ -119,7 +122,8 @@ module IsoDoc
|
|
119
122
|
sequential_asset_names(d.xpath(ns(
|
120
123
|
"//preface/abstract | //foreword | //introduction | "\
|
121
124
|
"//submitters | //acknowledgements | //preface/clause")))
|
122
|
-
n =
|
125
|
+
n = Counter.new
|
126
|
+
n = section_names(d.at(ns("//clause[@type = 'scope']")), n, 1)
|
123
127
|
n = section_names(d.at(ns("//clause[@type = 'conformance']")), n, 1)
|
124
128
|
n = section_names(d.at(ns(@klass.norm_ref_xpath)), n, 1)
|
125
129
|
n = section_names(
|
data/metanorma-ogc.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
26
26
|
|
27
27
|
spec.add_dependency "metanorma-standoc", "~> 1.7.0"
|
28
|
-
spec.add_dependency "isodoc", "~> 1.4.
|
28
|
+
spec.add_dependency "isodoc", "~> 1.4.2"
|
29
29
|
spec.add_dependency "iso-639"
|
30
30
|
|
31
31
|
spec.add_development_dependency "byebug", "~> 9.1"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-ogc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-standoc
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.4.
|
33
|
+
version: 1.4.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.4.
|
40
|
+
version: 1.4.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: iso-639
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|