metanorma-ogc 2.7.5 → 2.7.7
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/ogc/html/htmlstyle.css +0 -2
- data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +27 -3
- data/lib/isodoc/ogc/ogc.best-practice.xsl +27 -3
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +27 -3
- data/lib/isodoc/ogc/ogc.community-practice.xsl +27 -3
- data/lib/isodoc/ogc/ogc.community-standard.xsl +27 -3
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +27 -3
- data/lib/isodoc/ogc/ogc.draft-standard.xsl +27 -3
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +27 -3
- data/lib/isodoc/ogc/ogc.other.xsl +27 -3
- data/lib/isodoc/ogc/ogc.policy.xsl +27 -3
- data/lib/isodoc/ogc/ogc.reference-model.xsl +27 -3
- data/lib/isodoc/ogc/ogc.release-notes.xsl +27 -3
- data/lib/isodoc/ogc/ogc.standard.xsl +27 -3
- data/lib/isodoc/ogc/ogc.test-suite.xsl +27 -3
- data/lib/isodoc/ogc/ogc.user-guide.xsl +27 -3
- data/lib/isodoc/ogc/ogc.white-paper.xsl +27 -3
- data/lib/metanorma/ogc/basicdoc.rng +9 -5
- data/lib/metanorma/ogc/cleanup.rb +2 -2
- data/lib/metanorma/ogc/converter.rb +2 -10
- data/lib/metanorma/ogc/isodoc.rng +145 -5
- data/lib/metanorma/ogc/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: 45608b858d2a07fa4dc151685b20e84a708efb7173c81df52f986e2b05d314ef
|
4
|
+
data.tar.gz: 126f1fbdd2007a59a656da0ec3853ceb6ac59ffa66b95651c94e51e6a808f8de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8875689895bfd7e90f174ce55956dd0a2d50b6ee9ebd024381ac5bced7cda9458f20af90acea8589c473bf16816bcc5facbf1b8689ca666df73c2e293a96537c
|
7
|
+
data.tar.gz: 8b7369ab5c146689fef8754a0db7db0b8d886141427ba7ce1e7ec653af9e05be353ef7e2b0d50eaca424c9b1ed5116d114cce9f5adac9fa710da31c16353c1db
|
@@ -2252,6 +2252,7 @@
|
|
2252
2252
|
<xsl:variable name="hair_space"> </xsl:variable>
|
2253
2253
|
<xsl:variable name="en_dash">–</xsl:variable>
|
2254
2254
|
<xsl:variable name="em_dash">—</xsl:variable>
|
2255
|
+
<xsl:variable name="nonbreak_space_em_dash_space"> — </xsl:variable>
|
2255
2256
|
<xsl:variable name="cr"> </xsl:variable>
|
2256
2257
|
<xsl:variable name="lf">
|
2257
2258
|
</xsl:variable>
|
@@ -10422,11 +10423,11 @@
|
|
10422
10423
|
</xsl:template>
|
10423
10424
|
|
10424
10425
|
<!-- figure/fn -->
|
10425
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'fn']" priority="2"/>
|
10426
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'fn']" priority="2"/>
|
10426
10427
|
<!-- figure/note -->
|
10427
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'note']" priority="2"/>
|
10428
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'note']" priority="2"/>
|
10428
10429
|
<!-- figure/example -->
|
10429
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'example']" priority="2"/>
|
10430
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'example']" priority="2"/>
|
10430
10431
|
|
10431
10432
|
<!-- figure/note[@type = 'units'] -->
|
10432
10433
|
<!-- image/note[@type = 'units'] -->
|
@@ -13960,6 +13961,9 @@
|
|
13960
13961
|
<xsl:template match="*[local-name() = 'quote']/*[local-name() = 'author']" mode="update_xml_pres"/>
|
13961
13962
|
<xsl:template match="*[local-name() = 'amend']" mode="update_xml_step1"/>
|
13962
13963
|
<xsl:template match="*[local-name() = 'amend']" mode="update_xml_pres"/>
|
13964
|
+
<!-- https://github.com/metanorma/isodoc/issues/687 -->
|
13965
|
+
<xsl:template match="*[local-name() = 'source']" mode="update_xml_step1"/>
|
13966
|
+
<xsl:template match="*[local-name() = 'source']" mode="update_xml_pres"/>
|
13963
13967
|
|
13964
13968
|
<xsl:template match="*[local-name() = 'metanorma-extension']/*[local-name() = 'attachment']" mode="update_xml_step1">
|
13965
13969
|
<xsl:copy>
|
@@ -14242,6 +14246,20 @@
|
|
14242
14246
|
</xsl:element>
|
14243
14247
|
</xsl:template>
|
14244
14248
|
|
14249
|
+
<xsl:template match="*[local-name() = 'fmt-source']"/>
|
14250
|
+
<xsl:template match="*[local-name() = 'fmt-source']" mode="update_xml_step1">
|
14251
|
+
<xsl:element name="source" namespace="{$namespace_full}">
|
14252
|
+
<xsl:copy-of select="@*"/>
|
14253
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
14254
|
+
</xsl:element>
|
14255
|
+
</xsl:template>
|
14256
|
+
<xsl:template match="*[local-name() = 'fmt-source']" mode="update_xml_pres">
|
14257
|
+
<xsl:element name="source" namespace="{$namespace_full}">
|
14258
|
+
<xsl:copy-of select="@*"/>
|
14259
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
14260
|
+
</xsl:element>
|
14261
|
+
</xsl:template>
|
14262
|
+
|
14245
14263
|
<xsl:template match="*[local-name() = 'span'][ @class = 'fmt-caption-label' or @class = 'fmt-element-name' or @class = 'fmt-caption-delim' or @class = 'fmt-autonum-delim']" mode="update_xml_step1" priority="3">
|
14246
14264
|
<xsl:apply-templates mode="update_xml_step1"/>
|
14247
14265
|
</xsl:template>
|
@@ -15601,6 +15619,12 @@
|
|
15601
15619
|
</xsl:if>
|
15602
15620
|
</xsl:template>
|
15603
15621
|
|
15622
|
+
<xsl:template name="setIDforNamedDestinationInline">
|
15623
|
+
<xsl:if test="@named_dest">
|
15624
|
+
<fo:inline><xsl:call-template name="setIDforNamedDestination"/></fo:inline>
|
15625
|
+
</xsl:if>
|
15626
|
+
</xsl:template>
|
15627
|
+
|
15604
15628
|
<xsl:template name="setNamedDestination">
|
15605
15629
|
<!-- skip GUID, e.g. _33eac3cb-9663-4291-ae26-1d4b6f4635fc -->
|
15606
15630
|
<xsl:if test="@id and normalize-space(java:matches(java:java.lang.String.new(@id), '_[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}')) = 'false'">
|
@@ -2252,6 +2252,7 @@
|
|
2252
2252
|
<xsl:variable name="hair_space"> </xsl:variable>
|
2253
2253
|
<xsl:variable name="en_dash">–</xsl:variable>
|
2254
2254
|
<xsl:variable name="em_dash">—</xsl:variable>
|
2255
|
+
<xsl:variable name="nonbreak_space_em_dash_space"> — </xsl:variable>
|
2255
2256
|
<xsl:variable name="cr"> </xsl:variable>
|
2256
2257
|
<xsl:variable name="lf">
|
2257
2258
|
</xsl:variable>
|
@@ -10422,11 +10423,11 @@
|
|
10422
10423
|
</xsl:template>
|
10423
10424
|
|
10424
10425
|
<!-- figure/fn -->
|
10425
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'fn']" priority="2"/>
|
10426
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'fn']" priority="2"/>
|
10426
10427
|
<!-- figure/note -->
|
10427
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'note']" priority="2"/>
|
10428
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'note']" priority="2"/>
|
10428
10429
|
<!-- figure/example -->
|
10429
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'example']" priority="2"/>
|
10430
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'example']" priority="2"/>
|
10430
10431
|
|
10431
10432
|
<!-- figure/note[@type = 'units'] -->
|
10432
10433
|
<!-- image/note[@type = 'units'] -->
|
@@ -13960,6 +13961,9 @@
|
|
13960
13961
|
<xsl:template match="*[local-name() = 'quote']/*[local-name() = 'author']" mode="update_xml_pres"/>
|
13961
13962
|
<xsl:template match="*[local-name() = 'amend']" mode="update_xml_step1"/>
|
13962
13963
|
<xsl:template match="*[local-name() = 'amend']" mode="update_xml_pres"/>
|
13964
|
+
<!-- https://github.com/metanorma/isodoc/issues/687 -->
|
13965
|
+
<xsl:template match="*[local-name() = 'source']" mode="update_xml_step1"/>
|
13966
|
+
<xsl:template match="*[local-name() = 'source']" mode="update_xml_pres"/>
|
13963
13967
|
|
13964
13968
|
<xsl:template match="*[local-name() = 'metanorma-extension']/*[local-name() = 'attachment']" mode="update_xml_step1">
|
13965
13969
|
<xsl:copy>
|
@@ -14242,6 +14246,20 @@
|
|
14242
14246
|
</xsl:element>
|
14243
14247
|
</xsl:template>
|
14244
14248
|
|
14249
|
+
<xsl:template match="*[local-name() = 'fmt-source']"/>
|
14250
|
+
<xsl:template match="*[local-name() = 'fmt-source']" mode="update_xml_step1">
|
14251
|
+
<xsl:element name="source" namespace="{$namespace_full}">
|
14252
|
+
<xsl:copy-of select="@*"/>
|
14253
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
14254
|
+
</xsl:element>
|
14255
|
+
</xsl:template>
|
14256
|
+
<xsl:template match="*[local-name() = 'fmt-source']" mode="update_xml_pres">
|
14257
|
+
<xsl:element name="source" namespace="{$namespace_full}">
|
14258
|
+
<xsl:copy-of select="@*"/>
|
14259
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
14260
|
+
</xsl:element>
|
14261
|
+
</xsl:template>
|
14262
|
+
|
14245
14263
|
<xsl:template match="*[local-name() = 'span'][ @class = 'fmt-caption-label' or @class = 'fmt-element-name' or @class = 'fmt-caption-delim' or @class = 'fmt-autonum-delim']" mode="update_xml_step1" priority="3">
|
14246
14264
|
<xsl:apply-templates mode="update_xml_step1"/>
|
14247
14265
|
</xsl:template>
|
@@ -15601,6 +15619,12 @@
|
|
15601
15619
|
</xsl:if>
|
15602
15620
|
</xsl:template>
|
15603
15621
|
|
15622
|
+
<xsl:template name="setIDforNamedDestinationInline">
|
15623
|
+
<xsl:if test="@named_dest">
|
15624
|
+
<fo:inline><xsl:call-template name="setIDforNamedDestination"/></fo:inline>
|
15625
|
+
</xsl:if>
|
15626
|
+
</xsl:template>
|
15627
|
+
|
15604
15628
|
<xsl:template name="setNamedDestination">
|
15605
15629
|
<!-- skip GUID, e.g. _33eac3cb-9663-4291-ae26-1d4b6f4635fc -->
|
15606
15630
|
<xsl:if test="@id and normalize-space(java:matches(java:java.lang.String.new(@id), '_[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}')) = 'false'">
|
@@ -2252,6 +2252,7 @@
|
|
2252
2252
|
<xsl:variable name="hair_space"> </xsl:variable>
|
2253
2253
|
<xsl:variable name="en_dash">–</xsl:variable>
|
2254
2254
|
<xsl:variable name="em_dash">—</xsl:variable>
|
2255
|
+
<xsl:variable name="nonbreak_space_em_dash_space"> — </xsl:variable>
|
2255
2256
|
<xsl:variable name="cr"> </xsl:variable>
|
2256
2257
|
<xsl:variable name="lf">
|
2257
2258
|
</xsl:variable>
|
@@ -10422,11 +10423,11 @@
|
|
10422
10423
|
</xsl:template>
|
10423
10424
|
|
10424
10425
|
<!-- figure/fn -->
|
10425
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'fn']" priority="2"/>
|
10426
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'fn']" priority="2"/>
|
10426
10427
|
<!-- figure/note -->
|
10427
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'note']" priority="2"/>
|
10428
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'note']" priority="2"/>
|
10428
10429
|
<!-- figure/example -->
|
10429
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'example']" priority="2"/>
|
10430
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'example']" priority="2"/>
|
10430
10431
|
|
10431
10432
|
<!-- figure/note[@type = 'units'] -->
|
10432
10433
|
<!-- image/note[@type = 'units'] -->
|
@@ -13960,6 +13961,9 @@
|
|
13960
13961
|
<xsl:template match="*[local-name() = 'quote']/*[local-name() = 'author']" mode="update_xml_pres"/>
|
13961
13962
|
<xsl:template match="*[local-name() = 'amend']" mode="update_xml_step1"/>
|
13962
13963
|
<xsl:template match="*[local-name() = 'amend']" mode="update_xml_pres"/>
|
13964
|
+
<!-- https://github.com/metanorma/isodoc/issues/687 -->
|
13965
|
+
<xsl:template match="*[local-name() = 'source']" mode="update_xml_step1"/>
|
13966
|
+
<xsl:template match="*[local-name() = 'source']" mode="update_xml_pres"/>
|
13963
13967
|
|
13964
13968
|
<xsl:template match="*[local-name() = 'metanorma-extension']/*[local-name() = 'attachment']" mode="update_xml_step1">
|
13965
13969
|
<xsl:copy>
|
@@ -14242,6 +14246,20 @@
|
|
14242
14246
|
</xsl:element>
|
14243
14247
|
</xsl:template>
|
14244
14248
|
|
14249
|
+
<xsl:template match="*[local-name() = 'fmt-source']"/>
|
14250
|
+
<xsl:template match="*[local-name() = 'fmt-source']" mode="update_xml_step1">
|
14251
|
+
<xsl:element name="source" namespace="{$namespace_full}">
|
14252
|
+
<xsl:copy-of select="@*"/>
|
14253
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
14254
|
+
</xsl:element>
|
14255
|
+
</xsl:template>
|
14256
|
+
<xsl:template match="*[local-name() = 'fmt-source']" mode="update_xml_pres">
|
14257
|
+
<xsl:element name="source" namespace="{$namespace_full}">
|
14258
|
+
<xsl:copy-of select="@*"/>
|
14259
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
14260
|
+
</xsl:element>
|
14261
|
+
</xsl:template>
|
14262
|
+
|
14245
14263
|
<xsl:template match="*[local-name() = 'span'][ @class = 'fmt-caption-label' or @class = 'fmt-element-name' or @class = 'fmt-caption-delim' or @class = 'fmt-autonum-delim']" mode="update_xml_step1" priority="3">
|
14246
14264
|
<xsl:apply-templates mode="update_xml_step1"/>
|
14247
14265
|
</xsl:template>
|
@@ -15601,6 +15619,12 @@
|
|
15601
15619
|
</xsl:if>
|
15602
15620
|
</xsl:template>
|
15603
15621
|
|
15622
|
+
<xsl:template name="setIDforNamedDestinationInline">
|
15623
|
+
<xsl:if test="@named_dest">
|
15624
|
+
<fo:inline><xsl:call-template name="setIDforNamedDestination"/></fo:inline>
|
15625
|
+
</xsl:if>
|
15626
|
+
</xsl:template>
|
15627
|
+
|
15604
15628
|
<xsl:template name="setNamedDestination">
|
15605
15629
|
<!-- skip GUID, e.g. _33eac3cb-9663-4291-ae26-1d4b6f4635fc -->
|
15606
15630
|
<xsl:if test="@id and normalize-space(java:matches(java:java.lang.String.new(@id), '_[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}')) = 'false'">
|
@@ -2252,6 +2252,7 @@
|
|
2252
2252
|
<xsl:variable name="hair_space"> </xsl:variable>
|
2253
2253
|
<xsl:variable name="en_dash">–</xsl:variable>
|
2254
2254
|
<xsl:variable name="em_dash">—</xsl:variable>
|
2255
|
+
<xsl:variable name="nonbreak_space_em_dash_space"> — </xsl:variable>
|
2255
2256
|
<xsl:variable name="cr"> </xsl:variable>
|
2256
2257
|
<xsl:variable name="lf">
|
2257
2258
|
</xsl:variable>
|
@@ -10422,11 +10423,11 @@
|
|
10422
10423
|
</xsl:template>
|
10423
10424
|
|
10424
10425
|
<!-- figure/fn -->
|
10425
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'fn']" priority="2"/>
|
10426
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'fn']" priority="2"/>
|
10426
10427
|
<!-- figure/note -->
|
10427
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'note']" priority="2"/>
|
10428
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'note']" priority="2"/>
|
10428
10429
|
<!-- figure/example -->
|
10429
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'example']" priority="2"/>
|
10430
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'example']" priority="2"/>
|
10430
10431
|
|
10431
10432
|
<!-- figure/note[@type = 'units'] -->
|
10432
10433
|
<!-- image/note[@type = 'units'] -->
|
@@ -13960,6 +13961,9 @@
|
|
13960
13961
|
<xsl:template match="*[local-name() = 'quote']/*[local-name() = 'author']" mode="update_xml_pres"/>
|
13961
13962
|
<xsl:template match="*[local-name() = 'amend']" mode="update_xml_step1"/>
|
13962
13963
|
<xsl:template match="*[local-name() = 'amend']" mode="update_xml_pres"/>
|
13964
|
+
<!-- https://github.com/metanorma/isodoc/issues/687 -->
|
13965
|
+
<xsl:template match="*[local-name() = 'source']" mode="update_xml_step1"/>
|
13966
|
+
<xsl:template match="*[local-name() = 'source']" mode="update_xml_pres"/>
|
13963
13967
|
|
13964
13968
|
<xsl:template match="*[local-name() = 'metanorma-extension']/*[local-name() = 'attachment']" mode="update_xml_step1">
|
13965
13969
|
<xsl:copy>
|
@@ -14242,6 +14246,20 @@
|
|
14242
14246
|
</xsl:element>
|
14243
14247
|
</xsl:template>
|
14244
14248
|
|
14249
|
+
<xsl:template match="*[local-name() = 'fmt-source']"/>
|
14250
|
+
<xsl:template match="*[local-name() = 'fmt-source']" mode="update_xml_step1">
|
14251
|
+
<xsl:element name="source" namespace="{$namespace_full}">
|
14252
|
+
<xsl:copy-of select="@*"/>
|
14253
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
14254
|
+
</xsl:element>
|
14255
|
+
</xsl:template>
|
14256
|
+
<xsl:template match="*[local-name() = 'fmt-source']" mode="update_xml_pres">
|
14257
|
+
<xsl:element name="source" namespace="{$namespace_full}">
|
14258
|
+
<xsl:copy-of select="@*"/>
|
14259
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
14260
|
+
</xsl:element>
|
14261
|
+
</xsl:template>
|
14262
|
+
|
14245
14263
|
<xsl:template match="*[local-name() = 'span'][ @class = 'fmt-caption-label' or @class = 'fmt-element-name' or @class = 'fmt-caption-delim' or @class = 'fmt-autonum-delim']" mode="update_xml_step1" priority="3">
|
14246
14264
|
<xsl:apply-templates mode="update_xml_step1"/>
|
14247
14265
|
</xsl:template>
|
@@ -15601,6 +15619,12 @@
|
|
15601
15619
|
</xsl:if>
|
15602
15620
|
</xsl:template>
|
15603
15621
|
|
15622
|
+
<xsl:template name="setIDforNamedDestinationInline">
|
15623
|
+
<xsl:if test="@named_dest">
|
15624
|
+
<fo:inline><xsl:call-template name="setIDforNamedDestination"/></fo:inline>
|
15625
|
+
</xsl:if>
|
15626
|
+
</xsl:template>
|
15627
|
+
|
15604
15628
|
<xsl:template name="setNamedDestination">
|
15605
15629
|
<!-- skip GUID, e.g. _33eac3cb-9663-4291-ae26-1d4b6f4635fc -->
|
15606
15630
|
<xsl:if test="@id and normalize-space(java:matches(java:java.lang.String.new(@id), '_[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}')) = 'false'">
|
@@ -2252,6 +2252,7 @@
|
|
2252
2252
|
<xsl:variable name="hair_space"> </xsl:variable>
|
2253
2253
|
<xsl:variable name="en_dash">–</xsl:variable>
|
2254
2254
|
<xsl:variable name="em_dash">—</xsl:variable>
|
2255
|
+
<xsl:variable name="nonbreak_space_em_dash_space"> — </xsl:variable>
|
2255
2256
|
<xsl:variable name="cr"> </xsl:variable>
|
2256
2257
|
<xsl:variable name="lf">
|
2257
2258
|
</xsl:variable>
|
@@ -10422,11 +10423,11 @@
|
|
10422
10423
|
</xsl:template>
|
10423
10424
|
|
10424
10425
|
<!-- figure/fn -->
|
10425
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'fn']" priority="2"/>
|
10426
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'fn']" priority="2"/>
|
10426
10427
|
<!-- figure/note -->
|
10427
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'note']" priority="2"/>
|
10428
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'note']" priority="2"/>
|
10428
10429
|
<!-- figure/example -->
|
10429
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'example']" priority="2"/>
|
10430
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'example']" priority="2"/>
|
10430
10431
|
|
10431
10432
|
<!-- figure/note[@type = 'units'] -->
|
10432
10433
|
<!-- image/note[@type = 'units'] -->
|
@@ -13960,6 +13961,9 @@
|
|
13960
13961
|
<xsl:template match="*[local-name() = 'quote']/*[local-name() = 'author']" mode="update_xml_pres"/>
|
13961
13962
|
<xsl:template match="*[local-name() = 'amend']" mode="update_xml_step1"/>
|
13962
13963
|
<xsl:template match="*[local-name() = 'amend']" mode="update_xml_pres"/>
|
13964
|
+
<!-- https://github.com/metanorma/isodoc/issues/687 -->
|
13965
|
+
<xsl:template match="*[local-name() = 'source']" mode="update_xml_step1"/>
|
13966
|
+
<xsl:template match="*[local-name() = 'source']" mode="update_xml_pres"/>
|
13963
13967
|
|
13964
13968
|
<xsl:template match="*[local-name() = 'metanorma-extension']/*[local-name() = 'attachment']" mode="update_xml_step1">
|
13965
13969
|
<xsl:copy>
|
@@ -14242,6 +14246,20 @@
|
|
14242
14246
|
</xsl:element>
|
14243
14247
|
</xsl:template>
|
14244
14248
|
|
14249
|
+
<xsl:template match="*[local-name() = 'fmt-source']"/>
|
14250
|
+
<xsl:template match="*[local-name() = 'fmt-source']" mode="update_xml_step1">
|
14251
|
+
<xsl:element name="source" namespace="{$namespace_full}">
|
14252
|
+
<xsl:copy-of select="@*"/>
|
14253
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
14254
|
+
</xsl:element>
|
14255
|
+
</xsl:template>
|
14256
|
+
<xsl:template match="*[local-name() = 'fmt-source']" mode="update_xml_pres">
|
14257
|
+
<xsl:element name="source" namespace="{$namespace_full}">
|
14258
|
+
<xsl:copy-of select="@*"/>
|
14259
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
14260
|
+
</xsl:element>
|
14261
|
+
</xsl:template>
|
14262
|
+
|
14245
14263
|
<xsl:template match="*[local-name() = 'span'][ @class = 'fmt-caption-label' or @class = 'fmt-element-name' or @class = 'fmt-caption-delim' or @class = 'fmt-autonum-delim']" mode="update_xml_step1" priority="3">
|
14246
14264
|
<xsl:apply-templates mode="update_xml_step1"/>
|
14247
14265
|
</xsl:template>
|
@@ -15601,6 +15619,12 @@
|
|
15601
15619
|
</xsl:if>
|
15602
15620
|
</xsl:template>
|
15603
15621
|
|
15622
|
+
<xsl:template name="setIDforNamedDestinationInline">
|
15623
|
+
<xsl:if test="@named_dest">
|
15624
|
+
<fo:inline><xsl:call-template name="setIDforNamedDestination"/></fo:inline>
|
15625
|
+
</xsl:if>
|
15626
|
+
</xsl:template>
|
15627
|
+
|
15604
15628
|
<xsl:template name="setNamedDestination">
|
15605
15629
|
<!-- skip GUID, e.g. _33eac3cb-9663-4291-ae26-1d4b6f4635fc -->
|
15606
15630
|
<xsl:if test="@id and normalize-space(java:matches(java:java.lang.String.new(@id), '_[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}')) = 'false'">
|
@@ -2252,6 +2252,7 @@
|
|
2252
2252
|
<xsl:variable name="hair_space"> </xsl:variable>
|
2253
2253
|
<xsl:variable name="en_dash">–</xsl:variable>
|
2254
2254
|
<xsl:variable name="em_dash">—</xsl:variable>
|
2255
|
+
<xsl:variable name="nonbreak_space_em_dash_space"> — </xsl:variable>
|
2255
2256
|
<xsl:variable name="cr"> </xsl:variable>
|
2256
2257
|
<xsl:variable name="lf">
|
2257
2258
|
</xsl:variable>
|
@@ -10422,11 +10423,11 @@
|
|
10422
10423
|
</xsl:template>
|
10423
10424
|
|
10424
10425
|
<!-- figure/fn -->
|
10425
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'fn']" priority="2"/>
|
10426
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'fn']" priority="2"/>
|
10426
10427
|
<!-- figure/note -->
|
10427
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'note']" priority="2"/>
|
10428
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'note']" priority="2"/>
|
10428
10429
|
<!-- figure/example -->
|
10429
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'example']" priority="2"/>
|
10430
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'example']" priority="2"/>
|
10430
10431
|
|
10431
10432
|
<!-- figure/note[@type = 'units'] -->
|
10432
10433
|
<!-- image/note[@type = 'units'] -->
|
@@ -13960,6 +13961,9 @@
|
|
13960
13961
|
<xsl:template match="*[local-name() = 'quote']/*[local-name() = 'author']" mode="update_xml_pres"/>
|
13961
13962
|
<xsl:template match="*[local-name() = 'amend']" mode="update_xml_step1"/>
|
13962
13963
|
<xsl:template match="*[local-name() = 'amend']" mode="update_xml_pres"/>
|
13964
|
+
<!-- https://github.com/metanorma/isodoc/issues/687 -->
|
13965
|
+
<xsl:template match="*[local-name() = 'source']" mode="update_xml_step1"/>
|
13966
|
+
<xsl:template match="*[local-name() = 'source']" mode="update_xml_pres"/>
|
13963
13967
|
|
13964
13968
|
<xsl:template match="*[local-name() = 'metanorma-extension']/*[local-name() = 'attachment']" mode="update_xml_step1">
|
13965
13969
|
<xsl:copy>
|
@@ -14242,6 +14246,20 @@
|
|
14242
14246
|
</xsl:element>
|
14243
14247
|
</xsl:template>
|
14244
14248
|
|
14249
|
+
<xsl:template match="*[local-name() = 'fmt-source']"/>
|
14250
|
+
<xsl:template match="*[local-name() = 'fmt-source']" mode="update_xml_step1">
|
14251
|
+
<xsl:element name="source" namespace="{$namespace_full}">
|
14252
|
+
<xsl:copy-of select="@*"/>
|
14253
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
14254
|
+
</xsl:element>
|
14255
|
+
</xsl:template>
|
14256
|
+
<xsl:template match="*[local-name() = 'fmt-source']" mode="update_xml_pres">
|
14257
|
+
<xsl:element name="source" namespace="{$namespace_full}">
|
14258
|
+
<xsl:copy-of select="@*"/>
|
14259
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
14260
|
+
</xsl:element>
|
14261
|
+
</xsl:template>
|
14262
|
+
|
14245
14263
|
<xsl:template match="*[local-name() = 'span'][ @class = 'fmt-caption-label' or @class = 'fmt-element-name' or @class = 'fmt-caption-delim' or @class = 'fmt-autonum-delim']" mode="update_xml_step1" priority="3">
|
14246
14264
|
<xsl:apply-templates mode="update_xml_step1"/>
|
14247
14265
|
</xsl:template>
|
@@ -15601,6 +15619,12 @@
|
|
15601
15619
|
</xsl:if>
|
15602
15620
|
</xsl:template>
|
15603
15621
|
|
15622
|
+
<xsl:template name="setIDforNamedDestinationInline">
|
15623
|
+
<xsl:if test="@named_dest">
|
15624
|
+
<fo:inline><xsl:call-template name="setIDforNamedDestination"/></fo:inline>
|
15625
|
+
</xsl:if>
|
15626
|
+
</xsl:template>
|
15627
|
+
|
15604
15628
|
<xsl:template name="setNamedDestination">
|
15605
15629
|
<!-- skip GUID, e.g. _33eac3cb-9663-4291-ae26-1d4b6f4635fc -->
|
15606
15630
|
<xsl:if test="@id and normalize-space(java:matches(java:java.lang.String.new(@id), '_[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}')) = 'false'">
|
@@ -2252,6 +2252,7 @@
|
|
2252
2252
|
<xsl:variable name="hair_space"> </xsl:variable>
|
2253
2253
|
<xsl:variable name="en_dash">–</xsl:variable>
|
2254
2254
|
<xsl:variable name="em_dash">—</xsl:variable>
|
2255
|
+
<xsl:variable name="nonbreak_space_em_dash_space"> — </xsl:variable>
|
2255
2256
|
<xsl:variable name="cr"> </xsl:variable>
|
2256
2257
|
<xsl:variable name="lf">
|
2257
2258
|
</xsl:variable>
|
@@ -10422,11 +10423,11 @@
|
|
10422
10423
|
</xsl:template>
|
10423
10424
|
|
10424
10425
|
<!-- figure/fn -->
|
10425
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'fn']" priority="2"/>
|
10426
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'fn']" priority="2"/>
|
10426
10427
|
<!-- figure/note -->
|
10427
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'note']" priority="2"/>
|
10428
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'note']" priority="2"/>
|
10428
10429
|
<!-- figure/example -->
|
10429
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'example']" priority="2"/>
|
10430
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'example']" priority="2"/>
|
10430
10431
|
|
10431
10432
|
<!-- figure/note[@type = 'units'] -->
|
10432
10433
|
<!-- image/note[@type = 'units'] -->
|
@@ -13960,6 +13961,9 @@
|
|
13960
13961
|
<xsl:template match="*[local-name() = 'quote']/*[local-name() = 'author']" mode="update_xml_pres"/>
|
13961
13962
|
<xsl:template match="*[local-name() = 'amend']" mode="update_xml_step1"/>
|
13962
13963
|
<xsl:template match="*[local-name() = 'amend']" mode="update_xml_pres"/>
|
13964
|
+
<!-- https://github.com/metanorma/isodoc/issues/687 -->
|
13965
|
+
<xsl:template match="*[local-name() = 'source']" mode="update_xml_step1"/>
|
13966
|
+
<xsl:template match="*[local-name() = 'source']" mode="update_xml_pres"/>
|
13963
13967
|
|
13964
13968
|
<xsl:template match="*[local-name() = 'metanorma-extension']/*[local-name() = 'attachment']" mode="update_xml_step1">
|
13965
13969
|
<xsl:copy>
|
@@ -14242,6 +14246,20 @@
|
|
14242
14246
|
</xsl:element>
|
14243
14247
|
</xsl:template>
|
14244
14248
|
|
14249
|
+
<xsl:template match="*[local-name() = 'fmt-source']"/>
|
14250
|
+
<xsl:template match="*[local-name() = 'fmt-source']" mode="update_xml_step1">
|
14251
|
+
<xsl:element name="source" namespace="{$namespace_full}">
|
14252
|
+
<xsl:copy-of select="@*"/>
|
14253
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
14254
|
+
</xsl:element>
|
14255
|
+
</xsl:template>
|
14256
|
+
<xsl:template match="*[local-name() = 'fmt-source']" mode="update_xml_pres">
|
14257
|
+
<xsl:element name="source" namespace="{$namespace_full}">
|
14258
|
+
<xsl:copy-of select="@*"/>
|
14259
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
14260
|
+
</xsl:element>
|
14261
|
+
</xsl:template>
|
14262
|
+
|
14245
14263
|
<xsl:template match="*[local-name() = 'span'][ @class = 'fmt-caption-label' or @class = 'fmt-element-name' or @class = 'fmt-caption-delim' or @class = 'fmt-autonum-delim']" mode="update_xml_step1" priority="3">
|
14246
14264
|
<xsl:apply-templates mode="update_xml_step1"/>
|
14247
14265
|
</xsl:template>
|
@@ -15601,6 +15619,12 @@
|
|
15601
15619
|
</xsl:if>
|
15602
15620
|
</xsl:template>
|
15603
15621
|
|
15622
|
+
<xsl:template name="setIDforNamedDestinationInline">
|
15623
|
+
<xsl:if test="@named_dest">
|
15624
|
+
<fo:inline><xsl:call-template name="setIDforNamedDestination"/></fo:inline>
|
15625
|
+
</xsl:if>
|
15626
|
+
</xsl:template>
|
15627
|
+
|
15604
15628
|
<xsl:template name="setNamedDestination">
|
15605
15629
|
<!-- skip GUID, e.g. _33eac3cb-9663-4291-ae26-1d4b6f4635fc -->
|
15606
15630
|
<xsl:if test="@id and normalize-space(java:matches(java:java.lang.String.new(@id), '_[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}')) = 'false'">
|
@@ -2252,6 +2252,7 @@
|
|
2252
2252
|
<xsl:variable name="hair_space"> </xsl:variable>
|
2253
2253
|
<xsl:variable name="en_dash">–</xsl:variable>
|
2254
2254
|
<xsl:variable name="em_dash">—</xsl:variable>
|
2255
|
+
<xsl:variable name="nonbreak_space_em_dash_space"> — </xsl:variable>
|
2255
2256
|
<xsl:variable name="cr"> </xsl:variable>
|
2256
2257
|
<xsl:variable name="lf">
|
2257
2258
|
</xsl:variable>
|
@@ -10422,11 +10423,11 @@
|
|
10422
10423
|
</xsl:template>
|
10423
10424
|
|
10424
10425
|
<!-- figure/fn -->
|
10425
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'fn']" priority="2"/>
|
10426
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'fn']" priority="2"/>
|
10426
10427
|
<!-- figure/note -->
|
10427
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'note']" priority="2"/>
|
10428
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'note']" priority="2"/>
|
10428
10429
|
<!-- figure/example -->
|
10429
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'example']" priority="2"/>
|
10430
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'example']" priority="2"/>
|
10430
10431
|
|
10431
10432
|
<!-- figure/note[@type = 'units'] -->
|
10432
10433
|
<!-- image/note[@type = 'units'] -->
|
@@ -13960,6 +13961,9 @@
|
|
13960
13961
|
<xsl:template match="*[local-name() = 'quote']/*[local-name() = 'author']" mode="update_xml_pres"/>
|
13961
13962
|
<xsl:template match="*[local-name() = 'amend']" mode="update_xml_step1"/>
|
13962
13963
|
<xsl:template match="*[local-name() = 'amend']" mode="update_xml_pres"/>
|
13964
|
+
<!-- https://github.com/metanorma/isodoc/issues/687 -->
|
13965
|
+
<xsl:template match="*[local-name() = 'source']" mode="update_xml_step1"/>
|
13966
|
+
<xsl:template match="*[local-name() = 'source']" mode="update_xml_pres"/>
|
13963
13967
|
|
13964
13968
|
<xsl:template match="*[local-name() = 'metanorma-extension']/*[local-name() = 'attachment']" mode="update_xml_step1">
|
13965
13969
|
<xsl:copy>
|
@@ -14242,6 +14246,20 @@
|
|
14242
14246
|
</xsl:element>
|
14243
14247
|
</xsl:template>
|
14244
14248
|
|
14249
|
+
<xsl:template match="*[local-name() = 'fmt-source']"/>
|
14250
|
+
<xsl:template match="*[local-name() = 'fmt-source']" mode="update_xml_step1">
|
14251
|
+
<xsl:element name="source" namespace="{$namespace_full}">
|
14252
|
+
<xsl:copy-of select="@*"/>
|
14253
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
14254
|
+
</xsl:element>
|
14255
|
+
</xsl:template>
|
14256
|
+
<xsl:template match="*[local-name() = 'fmt-source']" mode="update_xml_pres">
|
14257
|
+
<xsl:element name="source" namespace="{$namespace_full}">
|
14258
|
+
<xsl:copy-of select="@*"/>
|
14259
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
14260
|
+
</xsl:element>
|
14261
|
+
</xsl:template>
|
14262
|
+
|
14245
14263
|
<xsl:template match="*[local-name() = 'span'][ @class = 'fmt-caption-label' or @class = 'fmt-element-name' or @class = 'fmt-caption-delim' or @class = 'fmt-autonum-delim']" mode="update_xml_step1" priority="3">
|
14246
14264
|
<xsl:apply-templates mode="update_xml_step1"/>
|
14247
14265
|
</xsl:template>
|
@@ -15601,6 +15619,12 @@
|
|
15601
15619
|
</xsl:if>
|
15602
15620
|
</xsl:template>
|
15603
15621
|
|
15622
|
+
<xsl:template name="setIDforNamedDestinationInline">
|
15623
|
+
<xsl:if test="@named_dest">
|
15624
|
+
<fo:inline><xsl:call-template name="setIDforNamedDestination"/></fo:inline>
|
15625
|
+
</xsl:if>
|
15626
|
+
</xsl:template>
|
15627
|
+
|
15604
15628
|
<xsl:template name="setNamedDestination">
|
15605
15629
|
<!-- skip GUID, e.g. _33eac3cb-9663-4291-ae26-1d4b6f4635fc -->
|
15606
15630
|
<xsl:if test="@id and normalize-space(java:matches(java:java.lang.String.new(@id), '_[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}')) = 'false'">
|
@@ -2252,6 +2252,7 @@
|
|
2252
2252
|
<xsl:variable name="hair_space"> </xsl:variable>
|
2253
2253
|
<xsl:variable name="en_dash">–</xsl:variable>
|
2254
2254
|
<xsl:variable name="em_dash">—</xsl:variable>
|
2255
|
+
<xsl:variable name="nonbreak_space_em_dash_space"> — </xsl:variable>
|
2255
2256
|
<xsl:variable name="cr"> </xsl:variable>
|
2256
2257
|
<xsl:variable name="lf">
|
2257
2258
|
</xsl:variable>
|
@@ -10422,11 +10423,11 @@
|
|
10422
10423
|
</xsl:template>
|
10423
10424
|
|
10424
10425
|
<!-- figure/fn -->
|
10425
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'fn']" priority="2"/>
|
10426
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'fn']" priority="2"/>
|
10426
10427
|
<!-- figure/note -->
|
10427
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'note']" priority="2"/>
|
10428
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'note']" priority="2"/>
|
10428
10429
|
<!-- figure/example -->
|
10429
|
-
<xsl:template match="*[local-name() = 'figure']/*[local-name() = 'example']" priority="2"/>
|
10430
|
+
<xsl:template match="*[local-name() = 'figure'][not(@class = 'pseudocode')]/*[local-name() = 'example']" priority="2"/>
|
10430
10431
|
|
10431
10432
|
<!-- figure/note[@type = 'units'] -->
|
10432
10433
|
<!-- image/note[@type = 'units'] -->
|
@@ -13960,6 +13961,9 @@
|
|
13960
13961
|
<xsl:template match="*[local-name() = 'quote']/*[local-name() = 'author']" mode="update_xml_pres"/>
|
13961
13962
|
<xsl:template match="*[local-name() = 'amend']" mode="update_xml_step1"/>
|
13962
13963
|
<xsl:template match="*[local-name() = 'amend']" mode="update_xml_pres"/>
|
13964
|
+
<!-- https://github.com/metanorma/isodoc/issues/687 -->
|
13965
|
+
<xsl:template match="*[local-name() = 'source']" mode="update_xml_step1"/>
|
13966
|
+
<xsl:template match="*[local-name() = 'source']" mode="update_xml_pres"/>
|
13963
13967
|
|
13964
13968
|
<xsl:template match="*[local-name() = 'metanorma-extension']/*[local-name() = 'attachment']" mode="update_xml_step1">
|
13965
13969
|
<xsl:copy>
|
@@ -14242,6 +14246,20 @@
|
|
14242
14246
|
</xsl:element>
|
14243
14247
|
</xsl:template>
|
14244
14248
|
|
14249
|
+
<xsl:template match="*[local-name() = 'fmt-source']"/>
|
14250
|
+
<xsl:template match="*[local-name() = 'fmt-source']" mode="update_xml_step1">
|
14251
|
+
<xsl:element name="source" namespace="{$namespace_full}">
|
14252
|
+
<xsl:copy-of select="@*"/>
|
14253
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
14254
|
+
</xsl:element>
|
14255
|
+
</xsl:template>
|
14256
|
+
<xsl:template match="*[local-name() = 'fmt-source']" mode="update_xml_pres">
|
14257
|
+
<xsl:element name="source" namespace="{$namespace_full}">
|
14258
|
+
<xsl:copy-of select="@*"/>
|
14259
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
14260
|
+
</xsl:element>
|
14261
|
+
</xsl:template>
|
14262
|
+
|
14245
14263
|
<xsl:template match="*[local-name() = 'span'][ @class = 'fmt-caption-label' or @class = 'fmt-element-name' or @class = 'fmt-caption-delim' or @class = 'fmt-autonum-delim']" mode="update_xml_step1" priority="3">
|
14246
14264
|
<xsl:apply-templates mode="update_xml_step1"/>
|
14247
14265
|
</xsl:template>
|
@@ -15601,6 +15619,12 @@
|
|
15601
15619
|
</xsl:if>
|
15602
15620
|
</xsl:template>
|
15603
15621
|
|
15622
|
+
<xsl:template name="setIDforNamedDestinationInline">
|
15623
|
+
<xsl:if test="@named_dest">
|
15624
|
+
<fo:inline><xsl:call-template name="setIDforNamedDestination"/></fo:inline>
|
15625
|
+
</xsl:if>
|
15626
|
+
</xsl:template>
|
15627
|
+
|
15604
15628
|
<xsl:template name="setNamedDestination">
|
15605
15629
|
<!-- skip GUID, e.g. _33eac3cb-9663-4291-ae26-1d4b6f4635fc -->
|
15606
15630
|
<xsl:if test="@id and normalize-space(java:matches(java:java.lang.String.new(@id), '_[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}')) = 'false'">
|