metanorma-itu 2.0.6 → 2.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/itu/itu.implementers-guide.xsl +23 -3
- data/lib/isodoc/itu/itu.in-force.xsl +23 -3
- data/lib/isodoc/itu/itu.recommendation-annex.xsl +23 -3
- data/lib/isodoc/itu/itu.recommendation-supplement.xsl +23 -3
- data/lib/isodoc/itu/itu.recommendation.xsl +23 -3
- data/lib/isodoc/itu/itu.resolution.xsl +23 -3
- data/lib/isodoc/itu/itu.service-publication.xsl +23 -3
- data/lib/isodoc/itu/itu.technical-paper.xsl +23 -3
- data/lib/isodoc/itu/itu.technical-report.xsl +23 -3
- data/lib/metanorma/itu/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7db89ad5d9d4b7e95fabe204b31d0483a5aa2aff9b8b44b3928c950ee386298f
|
4
|
+
data.tar.gz: d811c5e55c05040a3dea4ce55c4bda15b1ec8d4d3bc32ea9c450114e7586761a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9f972facda295bc86b330f579673aa5b8dcc506db6a1b042867db5845527e4d806bc4abdfefb1266fadd955b323990f2ab4d8cc9a0d9c6dd3c57b888aa07e2f
|
7
|
+
data.tar.gz: 6eb2bd17053707a2c85d49f4b10841a69b6d69e739c85c0ab37a73d2d2f11821ae0e3c20201d0484b61ee78d75b0a8a2e7f844696840af6b6f6bf796d99c2914
|
@@ -3423,8 +3423,27 @@
|
|
3423
3423
|
<xsl:sort select="@displayorder" data-type="number"/>
|
3424
3424
|
<xsl:apply-templates select="."/>
|
3425
3425
|
</xsl:for-each>
|
3426
|
-
</xsl:template><xsl:template match="text()">
|
3427
|
-
<xsl:
|
3426
|
+
</xsl:template><xsl:variable name="tag_open">###fo:inline###</xsl:variable><xsl:variable name="tag_close">###/fo:inline###</xsl:variable><xsl:template match="text()" name="text">
|
3427
|
+
<xsl:variable name="regex_standard_reference">([A-Z]{2,}(/[A-Z]{2,})* \d+(-\d+)*(:\d{4})?)</xsl:variable>
|
3428
|
+
<xsl:variable name="text" select="java:replaceAll(java:java.lang.String.new(.),$regex_standard_reference,concat($tag_open,'$1',$tag_close))"/>
|
3429
|
+
<xsl:call-template name="replace_fo_inline">
|
3430
|
+
<xsl:with-param name="text" select="$text"/>
|
3431
|
+
</xsl:call-template>
|
3432
|
+
</xsl:template><xsl:template name="replace_fo_inline">
|
3433
|
+
<xsl:param name="text"/>
|
3434
|
+
<xsl:choose>
|
3435
|
+
<xsl:when test="contains($text, $tag_open)">
|
3436
|
+
<xsl:value-of select="substring-before($text, $tag_open)"/>
|
3437
|
+
<xsl:text disable-output-escaping="yes"><fo:inline keep-together.within-line="always"></xsl:text>
|
3438
|
+
<xsl:variable name="text_after" select="substring-after($text, $tag_open)"/>
|
3439
|
+
<xsl:value-of select="substring-before($text_after, $tag_close)"/>
|
3440
|
+
<xsl:text disable-output-escaping="yes"></fo:inline></xsl:text>
|
3441
|
+
<xsl:call-template name="replace_fo_inline">
|
3442
|
+
<xsl:with-param name="text" select="substring-after($text_after, $tag_close)"/>
|
3443
|
+
</xsl:call-template>
|
3444
|
+
</xsl:when>
|
3445
|
+
<xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
|
3446
|
+
</xsl:choose>
|
3428
3447
|
</xsl:template><xsl:template match="*[local-name()='br']">
|
3429
3448
|
<xsl:value-of select="$linebreak"/>
|
3430
3449
|
</xsl:template><xsl:template match="*[local-name()='copyright-statement']">
|
@@ -7140,7 +7159,8 @@
|
|
7140
7159
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
7141
7160
|
</xsl:template><xsl:template match="*[local-name() = 'modification']/text()">
|
7142
7161
|
<xsl:if test="normalize-space() != ''">
|
7143
|
-
<xsl:value-of select="."/>
|
7162
|
+
<!-- <xsl:value-of select="."/> -->
|
7163
|
+
<xsl:call-template name="text"/>
|
7144
7164
|
</xsl:if>
|
7145
7165
|
</xsl:template><xsl:template match="*[local-name() = 'quote']">
|
7146
7166
|
<fo:block-container margin-left="0mm">
|
@@ -3423,8 +3423,27 @@
|
|
3423
3423
|
<xsl:sort select="@displayorder" data-type="number"/>
|
3424
3424
|
<xsl:apply-templates select="."/>
|
3425
3425
|
</xsl:for-each>
|
3426
|
-
</xsl:template><xsl:template match="text()">
|
3427
|
-
<xsl:
|
3426
|
+
</xsl:template><xsl:variable name="tag_open">###fo:inline###</xsl:variable><xsl:variable name="tag_close">###/fo:inline###</xsl:variable><xsl:template match="text()" name="text">
|
3427
|
+
<xsl:variable name="regex_standard_reference">([A-Z]{2,}(/[A-Z]{2,})* \d+(-\d+)*(:\d{4})?)</xsl:variable>
|
3428
|
+
<xsl:variable name="text" select="java:replaceAll(java:java.lang.String.new(.),$regex_standard_reference,concat($tag_open,'$1',$tag_close))"/>
|
3429
|
+
<xsl:call-template name="replace_fo_inline">
|
3430
|
+
<xsl:with-param name="text" select="$text"/>
|
3431
|
+
</xsl:call-template>
|
3432
|
+
</xsl:template><xsl:template name="replace_fo_inline">
|
3433
|
+
<xsl:param name="text"/>
|
3434
|
+
<xsl:choose>
|
3435
|
+
<xsl:when test="contains($text, $tag_open)">
|
3436
|
+
<xsl:value-of select="substring-before($text, $tag_open)"/>
|
3437
|
+
<xsl:text disable-output-escaping="yes"><fo:inline keep-together.within-line="always"></xsl:text>
|
3438
|
+
<xsl:variable name="text_after" select="substring-after($text, $tag_open)"/>
|
3439
|
+
<xsl:value-of select="substring-before($text_after, $tag_close)"/>
|
3440
|
+
<xsl:text disable-output-escaping="yes"></fo:inline></xsl:text>
|
3441
|
+
<xsl:call-template name="replace_fo_inline">
|
3442
|
+
<xsl:with-param name="text" select="substring-after($text_after, $tag_close)"/>
|
3443
|
+
</xsl:call-template>
|
3444
|
+
</xsl:when>
|
3445
|
+
<xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
|
3446
|
+
</xsl:choose>
|
3428
3447
|
</xsl:template><xsl:template match="*[local-name()='br']">
|
3429
3448
|
<xsl:value-of select="$linebreak"/>
|
3430
3449
|
</xsl:template><xsl:template match="*[local-name()='copyright-statement']">
|
@@ -7140,7 +7159,8 @@
|
|
7140
7159
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
7141
7160
|
</xsl:template><xsl:template match="*[local-name() = 'modification']/text()">
|
7142
7161
|
<xsl:if test="normalize-space() != ''">
|
7143
|
-
<xsl:value-of select="."/>
|
7162
|
+
<!-- <xsl:value-of select="."/> -->
|
7163
|
+
<xsl:call-template name="text"/>
|
7144
7164
|
</xsl:if>
|
7145
7165
|
</xsl:template><xsl:template match="*[local-name() = 'quote']">
|
7146
7166
|
<fo:block-container margin-left="0mm">
|
@@ -3423,8 +3423,27 @@
|
|
3423
3423
|
<xsl:sort select="@displayorder" data-type="number"/>
|
3424
3424
|
<xsl:apply-templates select="."/>
|
3425
3425
|
</xsl:for-each>
|
3426
|
-
</xsl:template><xsl:template match="text()">
|
3427
|
-
<xsl:
|
3426
|
+
</xsl:template><xsl:variable name="tag_open">###fo:inline###</xsl:variable><xsl:variable name="tag_close">###/fo:inline###</xsl:variable><xsl:template match="text()" name="text">
|
3427
|
+
<xsl:variable name="regex_standard_reference">([A-Z]{2,}(/[A-Z]{2,})* \d+(-\d+)*(:\d{4})?)</xsl:variable>
|
3428
|
+
<xsl:variable name="text" select="java:replaceAll(java:java.lang.String.new(.),$regex_standard_reference,concat($tag_open,'$1',$tag_close))"/>
|
3429
|
+
<xsl:call-template name="replace_fo_inline">
|
3430
|
+
<xsl:with-param name="text" select="$text"/>
|
3431
|
+
</xsl:call-template>
|
3432
|
+
</xsl:template><xsl:template name="replace_fo_inline">
|
3433
|
+
<xsl:param name="text"/>
|
3434
|
+
<xsl:choose>
|
3435
|
+
<xsl:when test="contains($text, $tag_open)">
|
3436
|
+
<xsl:value-of select="substring-before($text, $tag_open)"/>
|
3437
|
+
<xsl:text disable-output-escaping="yes"><fo:inline keep-together.within-line="always"></xsl:text>
|
3438
|
+
<xsl:variable name="text_after" select="substring-after($text, $tag_open)"/>
|
3439
|
+
<xsl:value-of select="substring-before($text_after, $tag_close)"/>
|
3440
|
+
<xsl:text disable-output-escaping="yes"></fo:inline></xsl:text>
|
3441
|
+
<xsl:call-template name="replace_fo_inline">
|
3442
|
+
<xsl:with-param name="text" select="substring-after($text_after, $tag_close)"/>
|
3443
|
+
</xsl:call-template>
|
3444
|
+
</xsl:when>
|
3445
|
+
<xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
|
3446
|
+
</xsl:choose>
|
3428
3447
|
</xsl:template><xsl:template match="*[local-name()='br']">
|
3429
3448
|
<xsl:value-of select="$linebreak"/>
|
3430
3449
|
</xsl:template><xsl:template match="*[local-name()='copyright-statement']">
|
@@ -7140,7 +7159,8 @@
|
|
7140
7159
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
7141
7160
|
</xsl:template><xsl:template match="*[local-name() = 'modification']/text()">
|
7142
7161
|
<xsl:if test="normalize-space() != ''">
|
7143
|
-
<xsl:value-of select="."/>
|
7162
|
+
<!-- <xsl:value-of select="."/> -->
|
7163
|
+
<xsl:call-template name="text"/>
|
7144
7164
|
</xsl:if>
|
7145
7165
|
</xsl:template><xsl:template match="*[local-name() = 'quote']">
|
7146
7166
|
<fo:block-container margin-left="0mm">
|
@@ -3423,8 +3423,27 @@
|
|
3423
3423
|
<xsl:sort select="@displayorder" data-type="number"/>
|
3424
3424
|
<xsl:apply-templates select="."/>
|
3425
3425
|
</xsl:for-each>
|
3426
|
-
</xsl:template><xsl:template match="text()">
|
3427
|
-
<xsl:
|
3426
|
+
</xsl:template><xsl:variable name="tag_open">###fo:inline###</xsl:variable><xsl:variable name="tag_close">###/fo:inline###</xsl:variable><xsl:template match="text()" name="text">
|
3427
|
+
<xsl:variable name="regex_standard_reference">([A-Z]{2,}(/[A-Z]{2,})* \d+(-\d+)*(:\d{4})?)</xsl:variable>
|
3428
|
+
<xsl:variable name="text" select="java:replaceAll(java:java.lang.String.new(.),$regex_standard_reference,concat($tag_open,'$1',$tag_close))"/>
|
3429
|
+
<xsl:call-template name="replace_fo_inline">
|
3430
|
+
<xsl:with-param name="text" select="$text"/>
|
3431
|
+
</xsl:call-template>
|
3432
|
+
</xsl:template><xsl:template name="replace_fo_inline">
|
3433
|
+
<xsl:param name="text"/>
|
3434
|
+
<xsl:choose>
|
3435
|
+
<xsl:when test="contains($text, $tag_open)">
|
3436
|
+
<xsl:value-of select="substring-before($text, $tag_open)"/>
|
3437
|
+
<xsl:text disable-output-escaping="yes"><fo:inline keep-together.within-line="always"></xsl:text>
|
3438
|
+
<xsl:variable name="text_after" select="substring-after($text, $tag_open)"/>
|
3439
|
+
<xsl:value-of select="substring-before($text_after, $tag_close)"/>
|
3440
|
+
<xsl:text disable-output-escaping="yes"></fo:inline></xsl:text>
|
3441
|
+
<xsl:call-template name="replace_fo_inline">
|
3442
|
+
<xsl:with-param name="text" select="substring-after($text_after, $tag_close)"/>
|
3443
|
+
</xsl:call-template>
|
3444
|
+
</xsl:when>
|
3445
|
+
<xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
|
3446
|
+
</xsl:choose>
|
3428
3447
|
</xsl:template><xsl:template match="*[local-name()='br']">
|
3429
3448
|
<xsl:value-of select="$linebreak"/>
|
3430
3449
|
</xsl:template><xsl:template match="*[local-name()='copyright-statement']">
|
@@ -7140,7 +7159,8 @@
|
|
7140
7159
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
7141
7160
|
</xsl:template><xsl:template match="*[local-name() = 'modification']/text()">
|
7142
7161
|
<xsl:if test="normalize-space() != ''">
|
7143
|
-
<xsl:value-of select="."/>
|
7162
|
+
<!-- <xsl:value-of select="."/> -->
|
7163
|
+
<xsl:call-template name="text"/>
|
7144
7164
|
</xsl:if>
|
7145
7165
|
</xsl:template><xsl:template match="*[local-name() = 'quote']">
|
7146
7166
|
<fo:block-container margin-left="0mm">
|
@@ -3423,8 +3423,27 @@
|
|
3423
3423
|
<xsl:sort select="@displayorder" data-type="number"/>
|
3424
3424
|
<xsl:apply-templates select="."/>
|
3425
3425
|
</xsl:for-each>
|
3426
|
-
</xsl:template><xsl:template match="text()">
|
3427
|
-
<xsl:
|
3426
|
+
</xsl:template><xsl:variable name="tag_open">###fo:inline###</xsl:variable><xsl:variable name="tag_close">###/fo:inline###</xsl:variable><xsl:template match="text()" name="text">
|
3427
|
+
<xsl:variable name="regex_standard_reference">([A-Z]{2,}(/[A-Z]{2,})* \d+(-\d+)*(:\d{4})?)</xsl:variable>
|
3428
|
+
<xsl:variable name="text" select="java:replaceAll(java:java.lang.String.new(.),$regex_standard_reference,concat($tag_open,'$1',$tag_close))"/>
|
3429
|
+
<xsl:call-template name="replace_fo_inline">
|
3430
|
+
<xsl:with-param name="text" select="$text"/>
|
3431
|
+
</xsl:call-template>
|
3432
|
+
</xsl:template><xsl:template name="replace_fo_inline">
|
3433
|
+
<xsl:param name="text"/>
|
3434
|
+
<xsl:choose>
|
3435
|
+
<xsl:when test="contains($text, $tag_open)">
|
3436
|
+
<xsl:value-of select="substring-before($text, $tag_open)"/>
|
3437
|
+
<xsl:text disable-output-escaping="yes"><fo:inline keep-together.within-line="always"></xsl:text>
|
3438
|
+
<xsl:variable name="text_after" select="substring-after($text, $tag_open)"/>
|
3439
|
+
<xsl:value-of select="substring-before($text_after, $tag_close)"/>
|
3440
|
+
<xsl:text disable-output-escaping="yes"></fo:inline></xsl:text>
|
3441
|
+
<xsl:call-template name="replace_fo_inline">
|
3442
|
+
<xsl:with-param name="text" select="substring-after($text_after, $tag_close)"/>
|
3443
|
+
</xsl:call-template>
|
3444
|
+
</xsl:when>
|
3445
|
+
<xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
|
3446
|
+
</xsl:choose>
|
3428
3447
|
</xsl:template><xsl:template match="*[local-name()='br']">
|
3429
3448
|
<xsl:value-of select="$linebreak"/>
|
3430
3449
|
</xsl:template><xsl:template match="*[local-name()='copyright-statement']">
|
@@ -7140,7 +7159,8 @@
|
|
7140
7159
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
7141
7160
|
</xsl:template><xsl:template match="*[local-name() = 'modification']/text()">
|
7142
7161
|
<xsl:if test="normalize-space() != ''">
|
7143
|
-
<xsl:value-of select="."/>
|
7162
|
+
<!-- <xsl:value-of select="."/> -->
|
7163
|
+
<xsl:call-template name="text"/>
|
7144
7164
|
</xsl:if>
|
7145
7165
|
</xsl:template><xsl:template match="*[local-name() = 'quote']">
|
7146
7166
|
<fo:block-container margin-left="0mm">
|
@@ -3423,8 +3423,27 @@
|
|
3423
3423
|
<xsl:sort select="@displayorder" data-type="number"/>
|
3424
3424
|
<xsl:apply-templates select="."/>
|
3425
3425
|
</xsl:for-each>
|
3426
|
-
</xsl:template><xsl:template match="text()">
|
3427
|
-
<xsl:
|
3426
|
+
</xsl:template><xsl:variable name="tag_open">###fo:inline###</xsl:variable><xsl:variable name="tag_close">###/fo:inline###</xsl:variable><xsl:template match="text()" name="text">
|
3427
|
+
<xsl:variable name="regex_standard_reference">([A-Z]{2,}(/[A-Z]{2,})* \d+(-\d+)*(:\d{4})?)</xsl:variable>
|
3428
|
+
<xsl:variable name="text" select="java:replaceAll(java:java.lang.String.new(.),$regex_standard_reference,concat($tag_open,'$1',$tag_close))"/>
|
3429
|
+
<xsl:call-template name="replace_fo_inline">
|
3430
|
+
<xsl:with-param name="text" select="$text"/>
|
3431
|
+
</xsl:call-template>
|
3432
|
+
</xsl:template><xsl:template name="replace_fo_inline">
|
3433
|
+
<xsl:param name="text"/>
|
3434
|
+
<xsl:choose>
|
3435
|
+
<xsl:when test="contains($text, $tag_open)">
|
3436
|
+
<xsl:value-of select="substring-before($text, $tag_open)"/>
|
3437
|
+
<xsl:text disable-output-escaping="yes"><fo:inline keep-together.within-line="always"></xsl:text>
|
3438
|
+
<xsl:variable name="text_after" select="substring-after($text, $tag_open)"/>
|
3439
|
+
<xsl:value-of select="substring-before($text_after, $tag_close)"/>
|
3440
|
+
<xsl:text disable-output-escaping="yes"></fo:inline></xsl:text>
|
3441
|
+
<xsl:call-template name="replace_fo_inline">
|
3442
|
+
<xsl:with-param name="text" select="substring-after($text_after, $tag_close)"/>
|
3443
|
+
</xsl:call-template>
|
3444
|
+
</xsl:when>
|
3445
|
+
<xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
|
3446
|
+
</xsl:choose>
|
3428
3447
|
</xsl:template><xsl:template match="*[local-name()='br']">
|
3429
3448
|
<xsl:value-of select="$linebreak"/>
|
3430
3449
|
</xsl:template><xsl:template match="*[local-name()='copyright-statement']">
|
@@ -7140,7 +7159,8 @@
|
|
7140
7159
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
7141
7160
|
</xsl:template><xsl:template match="*[local-name() = 'modification']/text()">
|
7142
7161
|
<xsl:if test="normalize-space() != ''">
|
7143
|
-
<xsl:value-of select="."/>
|
7162
|
+
<!-- <xsl:value-of select="."/> -->
|
7163
|
+
<xsl:call-template name="text"/>
|
7144
7164
|
</xsl:if>
|
7145
7165
|
</xsl:template><xsl:template match="*[local-name() = 'quote']">
|
7146
7166
|
<fo:block-container margin-left="0mm">
|
@@ -3423,8 +3423,27 @@
|
|
3423
3423
|
<xsl:sort select="@displayorder" data-type="number"/>
|
3424
3424
|
<xsl:apply-templates select="."/>
|
3425
3425
|
</xsl:for-each>
|
3426
|
-
</xsl:template><xsl:template match="text()">
|
3427
|
-
<xsl:
|
3426
|
+
</xsl:template><xsl:variable name="tag_open">###fo:inline###</xsl:variable><xsl:variable name="tag_close">###/fo:inline###</xsl:variable><xsl:template match="text()" name="text">
|
3427
|
+
<xsl:variable name="regex_standard_reference">([A-Z]{2,}(/[A-Z]{2,})* \d+(-\d+)*(:\d{4})?)</xsl:variable>
|
3428
|
+
<xsl:variable name="text" select="java:replaceAll(java:java.lang.String.new(.),$regex_standard_reference,concat($tag_open,'$1',$tag_close))"/>
|
3429
|
+
<xsl:call-template name="replace_fo_inline">
|
3430
|
+
<xsl:with-param name="text" select="$text"/>
|
3431
|
+
</xsl:call-template>
|
3432
|
+
</xsl:template><xsl:template name="replace_fo_inline">
|
3433
|
+
<xsl:param name="text"/>
|
3434
|
+
<xsl:choose>
|
3435
|
+
<xsl:when test="contains($text, $tag_open)">
|
3436
|
+
<xsl:value-of select="substring-before($text, $tag_open)"/>
|
3437
|
+
<xsl:text disable-output-escaping="yes"><fo:inline keep-together.within-line="always"></xsl:text>
|
3438
|
+
<xsl:variable name="text_after" select="substring-after($text, $tag_open)"/>
|
3439
|
+
<xsl:value-of select="substring-before($text_after, $tag_close)"/>
|
3440
|
+
<xsl:text disable-output-escaping="yes"></fo:inline></xsl:text>
|
3441
|
+
<xsl:call-template name="replace_fo_inline">
|
3442
|
+
<xsl:with-param name="text" select="substring-after($text_after, $tag_close)"/>
|
3443
|
+
</xsl:call-template>
|
3444
|
+
</xsl:when>
|
3445
|
+
<xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
|
3446
|
+
</xsl:choose>
|
3428
3447
|
</xsl:template><xsl:template match="*[local-name()='br']">
|
3429
3448
|
<xsl:value-of select="$linebreak"/>
|
3430
3449
|
</xsl:template><xsl:template match="*[local-name()='copyright-statement']">
|
@@ -7140,7 +7159,8 @@
|
|
7140
7159
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
7141
7160
|
</xsl:template><xsl:template match="*[local-name() = 'modification']/text()">
|
7142
7161
|
<xsl:if test="normalize-space() != ''">
|
7143
|
-
<xsl:value-of select="."/>
|
7162
|
+
<!-- <xsl:value-of select="."/> -->
|
7163
|
+
<xsl:call-template name="text"/>
|
7144
7164
|
</xsl:if>
|
7145
7165
|
</xsl:template><xsl:template match="*[local-name() = 'quote']">
|
7146
7166
|
<fo:block-container margin-left="0mm">
|
@@ -3423,8 +3423,27 @@
|
|
3423
3423
|
<xsl:sort select="@displayorder" data-type="number"/>
|
3424
3424
|
<xsl:apply-templates select="."/>
|
3425
3425
|
</xsl:for-each>
|
3426
|
-
</xsl:template><xsl:template match="text()">
|
3427
|
-
<xsl:
|
3426
|
+
</xsl:template><xsl:variable name="tag_open">###fo:inline###</xsl:variable><xsl:variable name="tag_close">###/fo:inline###</xsl:variable><xsl:template match="text()" name="text">
|
3427
|
+
<xsl:variable name="regex_standard_reference">([A-Z]{2,}(/[A-Z]{2,})* \d+(-\d+)*(:\d{4})?)</xsl:variable>
|
3428
|
+
<xsl:variable name="text" select="java:replaceAll(java:java.lang.String.new(.),$regex_standard_reference,concat($tag_open,'$1',$tag_close))"/>
|
3429
|
+
<xsl:call-template name="replace_fo_inline">
|
3430
|
+
<xsl:with-param name="text" select="$text"/>
|
3431
|
+
</xsl:call-template>
|
3432
|
+
</xsl:template><xsl:template name="replace_fo_inline">
|
3433
|
+
<xsl:param name="text"/>
|
3434
|
+
<xsl:choose>
|
3435
|
+
<xsl:when test="contains($text, $tag_open)">
|
3436
|
+
<xsl:value-of select="substring-before($text, $tag_open)"/>
|
3437
|
+
<xsl:text disable-output-escaping="yes"><fo:inline keep-together.within-line="always"></xsl:text>
|
3438
|
+
<xsl:variable name="text_after" select="substring-after($text, $tag_open)"/>
|
3439
|
+
<xsl:value-of select="substring-before($text_after, $tag_close)"/>
|
3440
|
+
<xsl:text disable-output-escaping="yes"></fo:inline></xsl:text>
|
3441
|
+
<xsl:call-template name="replace_fo_inline">
|
3442
|
+
<xsl:with-param name="text" select="substring-after($text_after, $tag_close)"/>
|
3443
|
+
</xsl:call-template>
|
3444
|
+
</xsl:when>
|
3445
|
+
<xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
|
3446
|
+
</xsl:choose>
|
3428
3447
|
</xsl:template><xsl:template match="*[local-name()='br']">
|
3429
3448
|
<xsl:value-of select="$linebreak"/>
|
3430
3449
|
</xsl:template><xsl:template match="*[local-name()='copyright-statement']">
|
@@ -7140,7 +7159,8 @@
|
|
7140
7159
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
7141
7160
|
</xsl:template><xsl:template match="*[local-name() = 'modification']/text()">
|
7142
7161
|
<xsl:if test="normalize-space() != ''">
|
7143
|
-
<xsl:value-of select="."/>
|
7162
|
+
<!-- <xsl:value-of select="."/> -->
|
7163
|
+
<xsl:call-template name="text"/>
|
7144
7164
|
</xsl:if>
|
7145
7165
|
</xsl:template><xsl:template match="*[local-name() = 'quote']">
|
7146
7166
|
<fo:block-container margin-left="0mm">
|
@@ -3423,8 +3423,27 @@
|
|
3423
3423
|
<xsl:sort select="@displayorder" data-type="number"/>
|
3424
3424
|
<xsl:apply-templates select="."/>
|
3425
3425
|
</xsl:for-each>
|
3426
|
-
</xsl:template><xsl:template match="text()">
|
3427
|
-
<xsl:
|
3426
|
+
</xsl:template><xsl:variable name="tag_open">###fo:inline###</xsl:variable><xsl:variable name="tag_close">###/fo:inline###</xsl:variable><xsl:template match="text()" name="text">
|
3427
|
+
<xsl:variable name="regex_standard_reference">([A-Z]{2,}(/[A-Z]{2,})* \d+(-\d+)*(:\d{4})?)</xsl:variable>
|
3428
|
+
<xsl:variable name="text" select="java:replaceAll(java:java.lang.String.new(.),$regex_standard_reference,concat($tag_open,'$1',$tag_close))"/>
|
3429
|
+
<xsl:call-template name="replace_fo_inline">
|
3430
|
+
<xsl:with-param name="text" select="$text"/>
|
3431
|
+
</xsl:call-template>
|
3432
|
+
</xsl:template><xsl:template name="replace_fo_inline">
|
3433
|
+
<xsl:param name="text"/>
|
3434
|
+
<xsl:choose>
|
3435
|
+
<xsl:when test="contains($text, $tag_open)">
|
3436
|
+
<xsl:value-of select="substring-before($text, $tag_open)"/>
|
3437
|
+
<xsl:text disable-output-escaping="yes"><fo:inline keep-together.within-line="always"></xsl:text>
|
3438
|
+
<xsl:variable name="text_after" select="substring-after($text, $tag_open)"/>
|
3439
|
+
<xsl:value-of select="substring-before($text_after, $tag_close)"/>
|
3440
|
+
<xsl:text disable-output-escaping="yes"></fo:inline></xsl:text>
|
3441
|
+
<xsl:call-template name="replace_fo_inline">
|
3442
|
+
<xsl:with-param name="text" select="substring-after($text_after, $tag_close)"/>
|
3443
|
+
</xsl:call-template>
|
3444
|
+
</xsl:when>
|
3445
|
+
<xsl:otherwise><xsl:value-of select="$text"/></xsl:otherwise>
|
3446
|
+
</xsl:choose>
|
3428
3447
|
</xsl:template><xsl:template match="*[local-name()='br']">
|
3429
3448
|
<xsl:value-of select="$linebreak"/>
|
3430
3449
|
</xsl:template><xsl:template match="*[local-name()='copyright-statement']">
|
@@ -7140,7 +7159,8 @@
|
|
7140
7159
|
<fo:inline><xsl:apply-templates/></fo:inline>
|
7141
7160
|
</xsl:template><xsl:template match="*[local-name() = 'modification']/text()">
|
7142
7161
|
<xsl:if test="normalize-space() != ''">
|
7143
|
-
<xsl:value-of select="."/>
|
7162
|
+
<!-- <xsl:value-of select="."/> -->
|
7163
|
+
<xsl:call-template name="text"/>
|
7144
7164
|
</xsl:if>
|
7145
7165
|
</xsl:template><xsl:template match="*[local-name() = 'quote']">
|
7146
7166
|
<fo:block-container margin-left="0mm">
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-itu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: htmlentities
|