metanorma-itu 2.5.13 → 2.5.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/isodoc/itu/itu.implementers-guide.xsl +31 -9
- data/lib/isodoc/itu/itu.in-force.xsl +31 -9
- data/lib/isodoc/itu/itu.recommendation-annex.xsl +31 -9
- data/lib/isodoc/itu/itu.recommendation-supplement.xsl +31 -9
- data/lib/isodoc/itu/itu.recommendation.xsl +31 -9
- data/lib/isodoc/itu/itu.resolution.xsl +31 -9
- data/lib/isodoc/itu/itu.service-publication.xsl +31 -9
- data/lib/isodoc/itu/itu.technical-paper.xsl +31 -9
- data/lib/isodoc/itu/itu.technical-report.xsl +31 -9
- data/lib/metanorma/itu/biblio.rng +2 -0
- 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: b3dd8879505ce9dabd6aff467519542330b45e511f58e955b6ab9a8176f3d103
|
|
4
|
+
data.tar.gz: 476082845077042f9cf39e174e6e44f2bf411f62f84a13cd5c40a1cc348fc0d2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f17c7af06ecad81b9e16ff224aa8e2cd09dd420956c4ffcee986d78351b88d3d315a465dd8fb98330bb97ee0b79e69f8e80b97841d4213571a8a5566d0b2708c
|
|
7
|
+
data.tar.gz: 88804eedcf390b9d8f3b16852d9680ef5af207fbd90ea6f4babd61de7e0b5c87aaa49b659f7e88ef206bc883d51edb1ef8d6091d31f86981baeab9e84b53e9ab
|
|
@@ -8376,9 +8376,14 @@
|
|
|
8376
8376
|
|
|
8377
8377
|
<xsl:variable name="simple-table">
|
|
8378
8378
|
|
|
8379
|
+
<xsl:variable name="table_without_semantic_elements">
|
|
8380
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
|
8381
|
+
</xsl:variable>
|
|
8382
|
+
|
|
8379
8383
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
|
8380
8384
|
<xsl:variable name="table_without_br">
|
|
8381
|
-
<xsl:apply-templates mode="table-without-br"/>
|
|
8385
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
|
8386
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
|
8382
8387
|
</xsl:variable>
|
|
8383
8388
|
|
|
8384
8389
|
<!-- Step 1. colspan processing -->
|
|
@@ -14477,16 +14482,30 @@
|
|
|
14477
14482
|
|
|
14478
14483
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
|
14479
14484
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
|
14480
|
-
<xsl:
|
|
14481
|
-
<xsl:
|
|
14482
|
-
|
|
14483
|
-
|
|
14485
|
+
<xsl:choose>
|
|
14486
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
|
14487
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14488
|
+
</xsl:when>
|
|
14489
|
+
<xsl:otherwise>
|
|
14490
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
|
14491
|
+
<xsl:copy-of select="@*"/>
|
|
14492
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14493
|
+
</xsl:element>
|
|
14494
|
+
</xsl:otherwise>
|
|
14495
|
+
</xsl:choose>
|
|
14484
14496
|
</xsl:template>
|
|
14485
14497
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
|
14486
|
-
<xsl:
|
|
14487
|
-
<xsl:
|
|
14488
|
-
|
|
14489
|
-
|
|
14498
|
+
<xsl:choose>
|
|
14499
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
|
14500
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14501
|
+
</xsl:when>
|
|
14502
|
+
<xsl:otherwise>
|
|
14503
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
|
14504
|
+
<xsl:copy-of select="@*"/>
|
|
14505
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
|
14506
|
+
</xsl:element>
|
|
14507
|
+
</xsl:otherwise>
|
|
14508
|
+
</xsl:choose>
|
|
14490
14509
|
</xsl:template>
|
|
14491
14510
|
|
|
14492
14511
|
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
|
@@ -14584,6 +14603,9 @@
|
|
|
14584
14603
|
<xsl:apply-templates mode="update_xml_pres"/>
|
|
14585
14604
|
</xsl:template>
|
|
14586
14605
|
|
|
14606
|
+
<xsl:template match="*[local-name() = 'semx']">
|
|
14607
|
+
<xsl:apply-templates/>
|
|
14608
|
+
</xsl:template>
|
|
14587
14609
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
|
14588
14610
|
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14589
14611
|
</xsl:template>
|
|
@@ -8376,9 +8376,14 @@
|
|
|
8376
8376
|
|
|
8377
8377
|
<xsl:variable name="simple-table">
|
|
8378
8378
|
|
|
8379
|
+
<xsl:variable name="table_without_semantic_elements">
|
|
8380
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
|
8381
|
+
</xsl:variable>
|
|
8382
|
+
|
|
8379
8383
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
|
8380
8384
|
<xsl:variable name="table_without_br">
|
|
8381
|
-
<xsl:apply-templates mode="table-without-br"/>
|
|
8385
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
|
8386
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
|
8382
8387
|
</xsl:variable>
|
|
8383
8388
|
|
|
8384
8389
|
<!-- Step 1. colspan processing -->
|
|
@@ -14477,16 +14482,30 @@
|
|
|
14477
14482
|
|
|
14478
14483
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
|
14479
14484
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
|
14480
|
-
<xsl:
|
|
14481
|
-
<xsl:
|
|
14482
|
-
|
|
14483
|
-
|
|
14485
|
+
<xsl:choose>
|
|
14486
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
|
14487
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14488
|
+
</xsl:when>
|
|
14489
|
+
<xsl:otherwise>
|
|
14490
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
|
14491
|
+
<xsl:copy-of select="@*"/>
|
|
14492
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14493
|
+
</xsl:element>
|
|
14494
|
+
</xsl:otherwise>
|
|
14495
|
+
</xsl:choose>
|
|
14484
14496
|
</xsl:template>
|
|
14485
14497
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
|
14486
|
-
<xsl:
|
|
14487
|
-
<xsl:
|
|
14488
|
-
|
|
14489
|
-
|
|
14498
|
+
<xsl:choose>
|
|
14499
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
|
14500
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14501
|
+
</xsl:when>
|
|
14502
|
+
<xsl:otherwise>
|
|
14503
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
|
14504
|
+
<xsl:copy-of select="@*"/>
|
|
14505
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
|
14506
|
+
</xsl:element>
|
|
14507
|
+
</xsl:otherwise>
|
|
14508
|
+
</xsl:choose>
|
|
14490
14509
|
</xsl:template>
|
|
14491
14510
|
|
|
14492
14511
|
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
|
@@ -14584,6 +14603,9 @@
|
|
|
14584
14603
|
<xsl:apply-templates mode="update_xml_pres"/>
|
|
14585
14604
|
</xsl:template>
|
|
14586
14605
|
|
|
14606
|
+
<xsl:template match="*[local-name() = 'semx']">
|
|
14607
|
+
<xsl:apply-templates/>
|
|
14608
|
+
</xsl:template>
|
|
14587
14609
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
|
14588
14610
|
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14589
14611
|
</xsl:template>
|
|
@@ -8376,9 +8376,14 @@
|
|
|
8376
8376
|
|
|
8377
8377
|
<xsl:variable name="simple-table">
|
|
8378
8378
|
|
|
8379
|
+
<xsl:variable name="table_without_semantic_elements">
|
|
8380
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
|
8381
|
+
</xsl:variable>
|
|
8382
|
+
|
|
8379
8383
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
|
8380
8384
|
<xsl:variable name="table_without_br">
|
|
8381
|
-
<xsl:apply-templates mode="table-without-br"/>
|
|
8385
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
|
8386
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
|
8382
8387
|
</xsl:variable>
|
|
8383
8388
|
|
|
8384
8389
|
<!-- Step 1. colspan processing -->
|
|
@@ -14477,16 +14482,30 @@
|
|
|
14477
14482
|
|
|
14478
14483
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
|
14479
14484
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
|
14480
|
-
<xsl:
|
|
14481
|
-
<xsl:
|
|
14482
|
-
|
|
14483
|
-
|
|
14485
|
+
<xsl:choose>
|
|
14486
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
|
14487
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14488
|
+
</xsl:when>
|
|
14489
|
+
<xsl:otherwise>
|
|
14490
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
|
14491
|
+
<xsl:copy-of select="@*"/>
|
|
14492
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14493
|
+
</xsl:element>
|
|
14494
|
+
</xsl:otherwise>
|
|
14495
|
+
</xsl:choose>
|
|
14484
14496
|
</xsl:template>
|
|
14485
14497
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
|
14486
|
-
<xsl:
|
|
14487
|
-
<xsl:
|
|
14488
|
-
|
|
14489
|
-
|
|
14498
|
+
<xsl:choose>
|
|
14499
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
|
14500
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14501
|
+
</xsl:when>
|
|
14502
|
+
<xsl:otherwise>
|
|
14503
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
|
14504
|
+
<xsl:copy-of select="@*"/>
|
|
14505
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
|
14506
|
+
</xsl:element>
|
|
14507
|
+
</xsl:otherwise>
|
|
14508
|
+
</xsl:choose>
|
|
14490
14509
|
</xsl:template>
|
|
14491
14510
|
|
|
14492
14511
|
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
|
@@ -14584,6 +14603,9 @@
|
|
|
14584
14603
|
<xsl:apply-templates mode="update_xml_pres"/>
|
|
14585
14604
|
</xsl:template>
|
|
14586
14605
|
|
|
14606
|
+
<xsl:template match="*[local-name() = 'semx']">
|
|
14607
|
+
<xsl:apply-templates/>
|
|
14608
|
+
</xsl:template>
|
|
14587
14609
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
|
14588
14610
|
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14589
14611
|
</xsl:template>
|
|
@@ -8376,9 +8376,14 @@
|
|
|
8376
8376
|
|
|
8377
8377
|
<xsl:variable name="simple-table">
|
|
8378
8378
|
|
|
8379
|
+
<xsl:variable name="table_without_semantic_elements">
|
|
8380
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
|
8381
|
+
</xsl:variable>
|
|
8382
|
+
|
|
8379
8383
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
|
8380
8384
|
<xsl:variable name="table_without_br">
|
|
8381
|
-
<xsl:apply-templates mode="table-without-br"/>
|
|
8385
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
|
8386
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
|
8382
8387
|
</xsl:variable>
|
|
8383
8388
|
|
|
8384
8389
|
<!-- Step 1. colspan processing -->
|
|
@@ -14477,16 +14482,30 @@
|
|
|
14477
14482
|
|
|
14478
14483
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
|
14479
14484
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
|
14480
|
-
<xsl:
|
|
14481
|
-
<xsl:
|
|
14482
|
-
|
|
14483
|
-
|
|
14485
|
+
<xsl:choose>
|
|
14486
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
|
14487
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14488
|
+
</xsl:when>
|
|
14489
|
+
<xsl:otherwise>
|
|
14490
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
|
14491
|
+
<xsl:copy-of select="@*"/>
|
|
14492
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14493
|
+
</xsl:element>
|
|
14494
|
+
</xsl:otherwise>
|
|
14495
|
+
</xsl:choose>
|
|
14484
14496
|
</xsl:template>
|
|
14485
14497
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
|
14486
|
-
<xsl:
|
|
14487
|
-
<xsl:
|
|
14488
|
-
|
|
14489
|
-
|
|
14498
|
+
<xsl:choose>
|
|
14499
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
|
14500
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14501
|
+
</xsl:when>
|
|
14502
|
+
<xsl:otherwise>
|
|
14503
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
|
14504
|
+
<xsl:copy-of select="@*"/>
|
|
14505
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
|
14506
|
+
</xsl:element>
|
|
14507
|
+
</xsl:otherwise>
|
|
14508
|
+
</xsl:choose>
|
|
14490
14509
|
</xsl:template>
|
|
14491
14510
|
|
|
14492
14511
|
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
|
@@ -14584,6 +14603,9 @@
|
|
|
14584
14603
|
<xsl:apply-templates mode="update_xml_pres"/>
|
|
14585
14604
|
</xsl:template>
|
|
14586
14605
|
|
|
14606
|
+
<xsl:template match="*[local-name() = 'semx']">
|
|
14607
|
+
<xsl:apply-templates/>
|
|
14608
|
+
</xsl:template>
|
|
14587
14609
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
|
14588
14610
|
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14589
14611
|
</xsl:template>
|
|
@@ -8376,9 +8376,14 @@
|
|
|
8376
8376
|
|
|
8377
8377
|
<xsl:variable name="simple-table">
|
|
8378
8378
|
|
|
8379
|
+
<xsl:variable name="table_without_semantic_elements">
|
|
8380
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
|
8381
|
+
</xsl:variable>
|
|
8382
|
+
|
|
8379
8383
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
|
8380
8384
|
<xsl:variable name="table_without_br">
|
|
8381
|
-
<xsl:apply-templates mode="table-without-br"/>
|
|
8385
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
|
8386
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
|
8382
8387
|
</xsl:variable>
|
|
8383
8388
|
|
|
8384
8389
|
<!-- Step 1. colspan processing -->
|
|
@@ -14477,16 +14482,30 @@
|
|
|
14477
14482
|
|
|
14478
14483
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
|
14479
14484
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
|
14480
|
-
<xsl:
|
|
14481
|
-
<xsl:
|
|
14482
|
-
|
|
14483
|
-
|
|
14485
|
+
<xsl:choose>
|
|
14486
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
|
14487
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14488
|
+
</xsl:when>
|
|
14489
|
+
<xsl:otherwise>
|
|
14490
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
|
14491
|
+
<xsl:copy-of select="@*"/>
|
|
14492
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14493
|
+
</xsl:element>
|
|
14494
|
+
</xsl:otherwise>
|
|
14495
|
+
</xsl:choose>
|
|
14484
14496
|
</xsl:template>
|
|
14485
14497
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
|
14486
|
-
<xsl:
|
|
14487
|
-
<xsl:
|
|
14488
|
-
|
|
14489
|
-
|
|
14498
|
+
<xsl:choose>
|
|
14499
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
|
14500
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14501
|
+
</xsl:when>
|
|
14502
|
+
<xsl:otherwise>
|
|
14503
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
|
14504
|
+
<xsl:copy-of select="@*"/>
|
|
14505
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
|
14506
|
+
</xsl:element>
|
|
14507
|
+
</xsl:otherwise>
|
|
14508
|
+
</xsl:choose>
|
|
14490
14509
|
</xsl:template>
|
|
14491
14510
|
|
|
14492
14511
|
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
|
@@ -14584,6 +14603,9 @@
|
|
|
14584
14603
|
<xsl:apply-templates mode="update_xml_pres"/>
|
|
14585
14604
|
</xsl:template>
|
|
14586
14605
|
|
|
14606
|
+
<xsl:template match="*[local-name() = 'semx']">
|
|
14607
|
+
<xsl:apply-templates/>
|
|
14608
|
+
</xsl:template>
|
|
14587
14609
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
|
14588
14610
|
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14589
14611
|
</xsl:template>
|
|
@@ -8376,9 +8376,14 @@
|
|
|
8376
8376
|
|
|
8377
8377
|
<xsl:variable name="simple-table">
|
|
8378
8378
|
|
|
8379
|
+
<xsl:variable name="table_without_semantic_elements">
|
|
8380
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
|
8381
|
+
</xsl:variable>
|
|
8382
|
+
|
|
8379
8383
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
|
8380
8384
|
<xsl:variable name="table_without_br">
|
|
8381
|
-
<xsl:apply-templates mode="table-without-br"/>
|
|
8385
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
|
8386
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
|
8382
8387
|
</xsl:variable>
|
|
8383
8388
|
|
|
8384
8389
|
<!-- Step 1. colspan processing -->
|
|
@@ -14477,16 +14482,30 @@
|
|
|
14477
14482
|
|
|
14478
14483
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
|
14479
14484
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
|
14480
|
-
<xsl:
|
|
14481
|
-
<xsl:
|
|
14482
|
-
|
|
14483
|
-
|
|
14485
|
+
<xsl:choose>
|
|
14486
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
|
14487
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14488
|
+
</xsl:when>
|
|
14489
|
+
<xsl:otherwise>
|
|
14490
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
|
14491
|
+
<xsl:copy-of select="@*"/>
|
|
14492
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14493
|
+
</xsl:element>
|
|
14494
|
+
</xsl:otherwise>
|
|
14495
|
+
</xsl:choose>
|
|
14484
14496
|
</xsl:template>
|
|
14485
14497
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
|
14486
|
-
<xsl:
|
|
14487
|
-
<xsl:
|
|
14488
|
-
|
|
14489
|
-
|
|
14498
|
+
<xsl:choose>
|
|
14499
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
|
14500
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14501
|
+
</xsl:when>
|
|
14502
|
+
<xsl:otherwise>
|
|
14503
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
|
14504
|
+
<xsl:copy-of select="@*"/>
|
|
14505
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
|
14506
|
+
</xsl:element>
|
|
14507
|
+
</xsl:otherwise>
|
|
14508
|
+
</xsl:choose>
|
|
14490
14509
|
</xsl:template>
|
|
14491
14510
|
|
|
14492
14511
|
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
|
@@ -14584,6 +14603,9 @@
|
|
|
14584
14603
|
<xsl:apply-templates mode="update_xml_pres"/>
|
|
14585
14604
|
</xsl:template>
|
|
14586
14605
|
|
|
14606
|
+
<xsl:template match="*[local-name() = 'semx']">
|
|
14607
|
+
<xsl:apply-templates/>
|
|
14608
|
+
</xsl:template>
|
|
14587
14609
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
|
14588
14610
|
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14589
14611
|
</xsl:template>
|
|
@@ -8376,9 +8376,14 @@
|
|
|
8376
8376
|
|
|
8377
8377
|
<xsl:variable name="simple-table">
|
|
8378
8378
|
|
|
8379
|
+
<xsl:variable name="table_without_semantic_elements">
|
|
8380
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
|
8381
|
+
</xsl:variable>
|
|
8382
|
+
|
|
8379
8383
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
|
8380
8384
|
<xsl:variable name="table_without_br">
|
|
8381
|
-
<xsl:apply-templates mode="table-without-br"/>
|
|
8385
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
|
8386
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
|
8382
8387
|
</xsl:variable>
|
|
8383
8388
|
|
|
8384
8389
|
<!-- Step 1. colspan processing -->
|
|
@@ -14477,16 +14482,30 @@
|
|
|
14477
14482
|
|
|
14478
14483
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
|
14479
14484
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
|
14480
|
-
<xsl:
|
|
14481
|
-
<xsl:
|
|
14482
|
-
|
|
14483
|
-
|
|
14485
|
+
<xsl:choose>
|
|
14486
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
|
14487
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14488
|
+
</xsl:when>
|
|
14489
|
+
<xsl:otherwise>
|
|
14490
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
|
14491
|
+
<xsl:copy-of select="@*"/>
|
|
14492
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14493
|
+
</xsl:element>
|
|
14494
|
+
</xsl:otherwise>
|
|
14495
|
+
</xsl:choose>
|
|
14484
14496
|
</xsl:template>
|
|
14485
14497
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
|
14486
|
-
<xsl:
|
|
14487
|
-
<xsl:
|
|
14488
|
-
|
|
14489
|
-
|
|
14498
|
+
<xsl:choose>
|
|
14499
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
|
14500
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14501
|
+
</xsl:when>
|
|
14502
|
+
<xsl:otherwise>
|
|
14503
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
|
14504
|
+
<xsl:copy-of select="@*"/>
|
|
14505
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
|
14506
|
+
</xsl:element>
|
|
14507
|
+
</xsl:otherwise>
|
|
14508
|
+
</xsl:choose>
|
|
14490
14509
|
</xsl:template>
|
|
14491
14510
|
|
|
14492
14511
|
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
|
@@ -14584,6 +14603,9 @@
|
|
|
14584
14603
|
<xsl:apply-templates mode="update_xml_pres"/>
|
|
14585
14604
|
</xsl:template>
|
|
14586
14605
|
|
|
14606
|
+
<xsl:template match="*[local-name() = 'semx']">
|
|
14607
|
+
<xsl:apply-templates/>
|
|
14608
|
+
</xsl:template>
|
|
14587
14609
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
|
14588
14610
|
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14589
14611
|
</xsl:template>
|
|
@@ -8376,9 +8376,14 @@
|
|
|
8376
8376
|
|
|
8377
8377
|
<xsl:variable name="simple-table">
|
|
8378
8378
|
|
|
8379
|
+
<xsl:variable name="table_without_semantic_elements">
|
|
8380
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
|
8381
|
+
</xsl:variable>
|
|
8382
|
+
|
|
8379
8383
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
|
8380
8384
|
<xsl:variable name="table_without_br">
|
|
8381
|
-
<xsl:apply-templates mode="table-without-br"/>
|
|
8385
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
|
8386
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
|
8382
8387
|
</xsl:variable>
|
|
8383
8388
|
|
|
8384
8389
|
<!-- Step 1. colspan processing -->
|
|
@@ -14477,16 +14482,30 @@
|
|
|
14477
14482
|
|
|
14478
14483
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
|
14479
14484
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
|
14480
|
-
<xsl:
|
|
14481
|
-
<xsl:
|
|
14482
|
-
|
|
14483
|
-
|
|
14485
|
+
<xsl:choose>
|
|
14486
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
|
14487
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14488
|
+
</xsl:when>
|
|
14489
|
+
<xsl:otherwise>
|
|
14490
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
|
14491
|
+
<xsl:copy-of select="@*"/>
|
|
14492
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14493
|
+
</xsl:element>
|
|
14494
|
+
</xsl:otherwise>
|
|
14495
|
+
</xsl:choose>
|
|
14484
14496
|
</xsl:template>
|
|
14485
14497
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
|
14486
|
-
<xsl:
|
|
14487
|
-
<xsl:
|
|
14488
|
-
|
|
14489
|
-
|
|
14498
|
+
<xsl:choose>
|
|
14499
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
|
14500
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14501
|
+
</xsl:when>
|
|
14502
|
+
<xsl:otherwise>
|
|
14503
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
|
14504
|
+
<xsl:copy-of select="@*"/>
|
|
14505
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
|
14506
|
+
</xsl:element>
|
|
14507
|
+
</xsl:otherwise>
|
|
14508
|
+
</xsl:choose>
|
|
14490
14509
|
</xsl:template>
|
|
14491
14510
|
|
|
14492
14511
|
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
|
@@ -14584,6 +14603,9 @@
|
|
|
14584
14603
|
<xsl:apply-templates mode="update_xml_pres"/>
|
|
14585
14604
|
</xsl:template>
|
|
14586
14605
|
|
|
14606
|
+
<xsl:template match="*[local-name() = 'semx']">
|
|
14607
|
+
<xsl:apply-templates/>
|
|
14608
|
+
</xsl:template>
|
|
14587
14609
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
|
14588
14610
|
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14589
14611
|
</xsl:template>
|
|
@@ -8376,9 +8376,14 @@
|
|
|
8376
8376
|
|
|
8377
8377
|
<xsl:variable name="simple-table">
|
|
8378
8378
|
|
|
8379
|
+
<xsl:variable name="table_without_semantic_elements">
|
|
8380
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
|
8381
|
+
</xsl:variable>
|
|
8382
|
+
|
|
8379
8383
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
|
8380
8384
|
<xsl:variable name="table_without_br">
|
|
8381
|
-
<xsl:apply-templates mode="table-without-br"/>
|
|
8385
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
|
8386
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
|
8382
8387
|
</xsl:variable>
|
|
8383
8388
|
|
|
8384
8389
|
<!-- Step 1. colspan processing -->
|
|
@@ -14477,16 +14482,30 @@
|
|
|
14477
14482
|
|
|
14478
14483
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
|
14479
14484
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
|
14480
|
-
<xsl:
|
|
14481
|
-
<xsl:
|
|
14482
|
-
|
|
14483
|
-
|
|
14485
|
+
<xsl:choose>
|
|
14486
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
|
14487
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14488
|
+
</xsl:when>
|
|
14489
|
+
<xsl:otherwise>
|
|
14490
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
|
14491
|
+
<xsl:copy-of select="@*"/>
|
|
14492
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14493
|
+
</xsl:element>
|
|
14494
|
+
</xsl:otherwise>
|
|
14495
|
+
</xsl:choose>
|
|
14484
14496
|
</xsl:template>
|
|
14485
14497
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
|
14486
|
-
<xsl:
|
|
14487
|
-
<xsl:
|
|
14488
|
-
|
|
14489
|
-
|
|
14498
|
+
<xsl:choose>
|
|
14499
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
|
14500
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14501
|
+
</xsl:when>
|
|
14502
|
+
<xsl:otherwise>
|
|
14503
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
|
14504
|
+
<xsl:copy-of select="@*"/>
|
|
14505
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
|
14506
|
+
</xsl:element>
|
|
14507
|
+
</xsl:otherwise>
|
|
14508
|
+
</xsl:choose>
|
|
14490
14509
|
</xsl:template>
|
|
14491
14510
|
|
|
14492
14511
|
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
|
@@ -14584,6 +14603,9 @@
|
|
|
14584
14603
|
<xsl:apply-templates mode="update_xml_pres"/>
|
|
14585
14604
|
</xsl:template>
|
|
14586
14605
|
|
|
14606
|
+
<xsl:template match="*[local-name() = 'semx']">
|
|
14607
|
+
<xsl:apply-templates/>
|
|
14608
|
+
</xsl:template>
|
|
14587
14609
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
|
14588
14610
|
<xsl:apply-templates mode="update_xml_step1"/>
|
|
14589
14611
|
</xsl:template>
|
|
@@ -947,6 +947,8 @@ May be electronic (e.g. Twitter direct message, email) or voice (e.g. a remark m
|
|
|
947
947
|
typically cited as "personal communication")</a:documentation>
|
|
948
948
|
<value>conversation</value>
|
|
949
949
|
<a:documentation>An exchange of messages between two or more persons. May be electronic (e.g. web chat) or voice (e.g. phone call)</a:documentation>
|
|
950
|
+
<value>collection</value>
|
|
951
|
+
<a:documentation>A compound resource consisting of other resources, which are themselves presupposed to have their type specified..</a:documentation>
|
|
950
952
|
<value>misc</value>
|
|
951
953
|
<a:documentation>Bibliographic type not adequately described in the foregoing</a:documentation>
|
|
952
954
|
</choice>
|
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.5.
|
|
4
|
+
version: 2.5.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-02-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: metanorma-standoc
|