metanorma-ogc 2.8.8 → 2.8.9
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/ogc.abstract-specification-topic.xsl +17 -2
- data/lib/isodoc/ogc/ogc.best-practice.xsl +17 -2
- data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +17 -2
- data/lib/isodoc/ogc/ogc.community-practice.xsl +17 -2
- data/lib/isodoc/ogc/ogc.community-standard.xsl +17 -2
- data/lib/isodoc/ogc/ogc.discussion-paper.xsl +17 -2
- data/lib/isodoc/ogc/ogc.draft-standard.xsl +17 -2
- data/lib/isodoc/ogc/ogc.engineering-report.xsl +17 -2
- data/lib/isodoc/ogc/ogc.other.xsl +17 -2
- data/lib/isodoc/ogc/ogc.policy.xsl +17 -2
- data/lib/isodoc/ogc/ogc.reference-model.xsl +17 -2
- data/lib/isodoc/ogc/ogc.release-notes.xsl +17 -2
- data/lib/isodoc/ogc/ogc.standard.xsl +17 -2
- data/lib/isodoc/ogc/ogc.test-suite.xsl +17 -2
- data/lib/isodoc/ogc/ogc.user-guide.xsl +17 -2
- data/lib/isodoc/ogc/ogc.white-paper.xsl +17 -2
- data/lib/metanorma/ogc/biblio.rng +4 -4
- data/lib/metanorma/ogc/cleanup.rb +0 -24
- data/lib/metanorma/ogc/front.rb +16 -20
- data/lib/metanorma/ogc/isodoc.rng +27 -10
- 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: dec3dc50e132ee4bd40085164615736d9f0f69205f2dad6e12eaf31c4c9c140b
|
|
4
|
+
data.tar.gz: 34cd722fe70225f76e1501bf8793d8b07ae90a772f2d14940b1d26e4876e6ded
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7d8d334d2ed79cf6965e2076b3ea5ec744c615299ced4715cf39df4a347b89e91f03394a54b93fcc3fec59164ca822585d5e8847f29274d011f46bb962db0cb8
|
|
7
|
+
data.tar.gz: cc0ec7155b376e85edc75b72211409b175b0d549a41ea919d0083739a776911d9b399d53974b1cbea5375d3e1d7c41474155f22d69279c3c622255499e76017c
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,6 +14195,20 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,6 +14195,20 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,6 +14195,20 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,6 +14195,20 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,6 +14195,20 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,6 +14195,20 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,6 +14195,20 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,6 +14195,20 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,6 +14195,20 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,6 +14195,20 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,6 +14195,20 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,6 +14195,20 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,6 +14195,20 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,6 +14195,20 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
@@ -12071,10 +12071,10 @@
|
|
|
12071
12071
|
<!-- END Admonition -->
|
|
12072
12072
|
<!-- ================ -->
|
|
12073
12073
|
|
|
12074
|
-
<xsl:attribute-set name="
|
|
12074
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
12075
12075
|
</xsl:attribute-set>
|
|
12076
12076
|
|
|
12077
|
-
<xsl:template name="
|
|
12077
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
12078
12078
|
</xsl:template>
|
|
12079
12079
|
|
|
12080
12080
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -14115,6 +14115,7 @@
|
|
|
14115
14115
|
<!-- ===================================== -->
|
|
14116
14116
|
|
|
14117
14117
|
<xsl:attribute-set name="annex-title-style">
|
|
14118
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
14118
14119
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
14119
14120
|
|
|
14120
14121
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -14194,6 +14195,20 @@
|
|
|
14194
14195
|
<xsl:if test="$level >= 5">
|
|
14195
14196
|
<xsl:attribute name="font-size">11pt</xsl:attribute>
|
|
14196
14197
|
</xsl:if>
|
|
14198
|
+
|
|
14199
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
14200
|
+
<xsl:variable name="annex_title_styles">
|
|
14201
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
14202
|
+
</xsl:variable>
|
|
14203
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
14204
|
+
</xsl:if>
|
|
14205
|
+
|
|
14206
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
14207
|
+
<xsl:variable name="bibliography_title_styles">
|
|
14208
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
14209
|
+
</xsl:variable>
|
|
14210
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
14211
|
+
</xsl:if>
|
|
14197
14212
|
<!-- $namespace = 'ogc' -->
|
|
14198
14213
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
14199
14214
|
</xsl:template> <!-- refine_title-style -->
|
|
@@ -10786,10 +10786,10 @@
|
|
|
10786
10786
|
<!-- END Admonition -->
|
|
10787
10787
|
<!-- ================ -->
|
|
10788
10788
|
|
|
10789
|
-
<xsl:attribute-set name="
|
|
10789
|
+
<xsl:attribute-set name="bibliography-title-style">
|
|
10790
10790
|
</xsl:attribute-set>
|
|
10791
10791
|
|
|
10792
|
-
<xsl:template name="
|
|
10792
|
+
<xsl:template name="refine_bibliography-title-style">
|
|
10793
10793
|
</xsl:template>
|
|
10794
10794
|
|
|
10795
10795
|
<!-- bibitem in Normative References (references/@normative="true") -->
|
|
@@ -12824,6 +12824,7 @@
|
|
|
12824
12824
|
<!-- ===================================== -->
|
|
12825
12825
|
|
|
12826
12826
|
<xsl:attribute-set name="annex-title-style">
|
|
12827
|
+
<xsl:attribute name="keep-with-next">always</xsl:attribute>
|
|
12827
12828
|
</xsl:attribute-set> <!-- annex-title-style -->
|
|
12828
12829
|
|
|
12829
12830
|
<xsl:template name="refine_annex-title-style">
|
|
@@ -12893,6 +12894,20 @@
|
|
|
12893
12894
|
<xsl:attribute name="margin-top">6pt</xsl:attribute>
|
|
12894
12895
|
<xsl:attribute name="margin-bottom">8pt</xsl:attribute>
|
|
12895
12896
|
</xsl:if>
|
|
12897
|
+
|
|
12898
|
+
<xsl:if test="parent::mn:annex"><!-- Annex title -->
|
|
12899
|
+
<xsl:variable name="annex_title_styles">
|
|
12900
|
+
<styles xsl:use-attribute-sets="annex-title-style"><xsl:call-template name="refine_annex-title-style"/></styles>
|
|
12901
|
+
</xsl:variable>
|
|
12902
|
+
<xsl:copy-of select="xalan:nodeset($annex_title_styles)/styles/@*"/>
|
|
12903
|
+
</xsl:if>
|
|
12904
|
+
|
|
12905
|
+
<xsl:if test="parent::mn:references[not(@normative='true')]"><!-- Bibliography section title -->
|
|
12906
|
+
<xsl:variable name="bibliography_title_styles">
|
|
12907
|
+
<styles xsl:use-attribute-sets="bibliography-title-style"><xsl:call-template name="refine_bibliography-title-style"/></styles>
|
|
12908
|
+
</xsl:variable>
|
|
12909
|
+
<xsl:copy-of select="xalan:nodeset($bibliography_title_styles)/styles/@*"/>
|
|
12910
|
+
</xsl:if>
|
|
12896
12911
|
<!-- 'ogc-white-paper' -->
|
|
12897
12912
|
<xsl:attribute name="role">H<xsl:value-of select="$level"/></xsl:attribute>
|
|
12898
12913
|
</xsl:template> <!-- refine_title-style -->
|
|
@@ -690,7 +690,7 @@ Examples include GRID, LEI, CrossRef, and Ringgold</a:documentation>
|
|
|
690
690
|
<define name="CitationType">
|
|
691
691
|
<attribute name="bibitemid">
|
|
692
692
|
<a:documentation>Bibliographic item that the citation applies to, referenced as the anchor of a bibliographic description</a:documentation>
|
|
693
|
-
<
|
|
693
|
+
<ref name="IdRefType"/>
|
|
694
694
|
</attribute>
|
|
695
695
|
<choice>
|
|
696
696
|
<zeroOrMore>
|
|
@@ -1296,17 +1296,17 @@ for which this claim of validity is made, if applicable</a:documentation>
|
|
|
1296
1296
|
</define>
|
|
1297
1297
|
<define name="validityBegins">
|
|
1298
1298
|
<element name="validityBegins">
|
|
1299
|
-
<ref name="
|
|
1299
|
+
<ref name="ISO8601DateTime"/>
|
|
1300
1300
|
</element>
|
|
1301
1301
|
</define>
|
|
1302
1302
|
<define name="validityEnds">
|
|
1303
1303
|
<element name="validityEnds">
|
|
1304
|
-
<ref name="
|
|
1304
|
+
<ref name="ISO8601DateTime"/>
|
|
1305
1305
|
</element>
|
|
1306
1306
|
</define>
|
|
1307
1307
|
<define name="validityRevision">
|
|
1308
1308
|
<element name="revision">
|
|
1309
|
-
<ref name="
|
|
1309
|
+
<ref name="ISO8601DateTime"/>
|
|
1310
1310
|
</element>
|
|
1311
1311
|
</define>
|
|
1312
1312
|
<define name="TypedTitleString">
|
|
@@ -72,30 +72,6 @@ module Metanorma
|
|
|
72
72
|
end
|
|
73
73
|
end
|
|
74
74
|
|
|
75
|
-
# KILL
|
|
76
|
-
def section_names_terms_cleanupx(xml)
|
|
77
|
-
@i18n or return
|
|
78
|
-
replace_title(xml, "//definitions[@type = 'symbols']", @i18n.symbols)
|
|
79
|
-
replace_title(xml, "//definitions[@type = 'abbreviated_terms']",
|
|
80
|
-
@i18n.abbrev)
|
|
81
|
-
replace_title(xml, "//definitions[not(@type)]", @i18n.symbolsabbrev)
|
|
82
|
-
replace_title(xml, "//sections//terms#{SYM_NO_ABBR} | " \
|
|
83
|
-
"//sections//clause[.//terms]#{SYM_NO_ABBR}",
|
|
84
|
-
@i18n.termsdefsymbols, true)
|
|
85
|
-
replace_title(xml, "//sections//terms#{ABBR_NO_SYM} | " \
|
|
86
|
-
"//sections//clause[.//terms]#{ABBR_NO_SYM}",
|
|
87
|
-
@i18n.termsdefabbrev, true)
|
|
88
|
-
replace_title(xml, "//sections//terms#{SYMABBR} | " \
|
|
89
|
-
"//sections//clause[.//terms]#{SYMABBR}",
|
|
90
|
-
@i18n.termsdefsymbolsabbrev, true)
|
|
91
|
-
replace_title(xml, "//sections//terms#{NO_SYMABBR} | " \
|
|
92
|
-
"//sections//clause[.//terms]#{NO_SYMABBR}",
|
|
93
|
-
@i18n.termsdefsymbolsabbrev, true)
|
|
94
|
-
replace_title(xml, "//sections//terms[not(.//definitions)] | " \
|
|
95
|
-
"//sections//clause[.//terms][not(.//definitions)]",
|
|
96
|
-
@i18n.termsdef, true)
|
|
97
|
-
end
|
|
98
|
-
|
|
99
75
|
# as in standoc, but do not rename annex terms
|
|
100
76
|
def section_names_terms1_cleanup(xml)
|
|
101
77
|
auto_name_terms(xml) or return
|
data/lib/metanorma/ogc/front.rb
CHANGED
|
@@ -5,12 +5,6 @@ require "fileutils"
|
|
|
5
5
|
module Metanorma
|
|
6
6
|
module Ogc
|
|
7
7
|
class Converter < Standoc::Converter
|
|
8
|
-
def safe_xml_string(node, key, value)
|
|
9
|
-
node.send key do |n|
|
|
10
|
-
n << value
|
|
11
|
-
end
|
|
12
|
-
end
|
|
13
|
-
|
|
14
8
|
def org_author(node, xml)
|
|
15
9
|
node.attr("submitting-organizations") or return
|
|
16
10
|
csv_split(@c.decode(node.attr("submitting-organizations")),
|
|
@@ -18,7 +12,7 @@ module Metanorma
|
|
|
18
12
|
xml.contributor do |c|
|
|
19
13
|
c.role type: "author"
|
|
20
14
|
c.organization do |a|
|
|
21
|
-
|
|
15
|
+
add_noko_elem(a, "name", org)
|
|
22
16
|
end
|
|
23
17
|
end
|
|
24
18
|
end
|
|
@@ -40,7 +34,7 @@ module Metanorma
|
|
|
40
34
|
type = node.attr("role#{suffix}")&.downcase || "editor"
|
|
41
35
|
if type == "contributor"
|
|
42
36
|
contrib.role type: "author" do |r|
|
|
43
|
-
|
|
37
|
+
add_noko_elem(r, "description", type)
|
|
44
38
|
end
|
|
45
39
|
else contrib.role type: type
|
|
46
40
|
end
|
|
@@ -52,7 +46,7 @@ module Metanorma
|
|
|
52
46
|
c.role type: "editor"
|
|
53
47
|
c.person do |p|
|
|
54
48
|
p.name do |n|
|
|
55
|
-
n
|
|
49
|
+
add_noko_elem(n, "completename", node.attr("editor"))
|
|
56
50
|
end
|
|
57
51
|
end
|
|
58
52
|
end
|
|
@@ -71,10 +65,10 @@ module Metanorma
|
|
|
71
65
|
|
|
72
66
|
def personal_author_name(node, xml, suffix)
|
|
73
67
|
if node.attr("fullname#{suffix}")
|
|
74
|
-
|
|
68
|
+
add_noko_elem(xml, "completename", node.attr("fullname#{suffix}"))
|
|
75
69
|
else
|
|
76
|
-
|
|
77
|
-
|
|
70
|
+
add_noko_elem(xml, "forename", node.attr("givenname#{suffix}"))
|
|
71
|
+
add_noko_elem(xml, "surname", node.attr("surname#{suffix}"))
|
|
78
72
|
end
|
|
79
73
|
end
|
|
80
74
|
|
|
@@ -108,12 +102,15 @@ module Metanorma
|
|
|
108
102
|
end
|
|
109
103
|
|
|
110
104
|
def metadata_id(node, xml)
|
|
111
|
-
|
|
105
|
+
add_noko_elem(xml, "docidentifier", externalid(node),
|
|
106
|
+
type: "ogc-external")
|
|
112
107
|
node.attr("referenceurlid") and
|
|
113
|
-
xml
|
|
114
|
-
|
|
115
|
-
id = node.attr("docidentifier") || docnumber
|
|
116
|
-
|
|
108
|
+
add_noko_elem(xml, "docidentifier", externalurl(node),
|
|
109
|
+
type: "ogc-external")
|
|
110
|
+
id = node.attr("docidentifier") || node.attr("docnumber") ||
|
|
111
|
+
node.attr("docreference")
|
|
112
|
+
add_noko_elem(xml, "docidentifier", id, type: "ogc-internal",
|
|
113
|
+
primary: "true")
|
|
117
114
|
end
|
|
118
115
|
|
|
119
116
|
def externalurl(node)
|
|
@@ -126,8 +123,7 @@ module Metanorma
|
|
|
126
123
|
|
|
127
124
|
def metadata_source(node, xml)
|
|
128
125
|
super
|
|
129
|
-
node.attr("previous-uri")
|
|
130
|
-
type: "previous")
|
|
126
|
+
add_noko_elem(xml, "uri", node.attr("previous-uri"), type: "previous")
|
|
131
127
|
end
|
|
132
128
|
|
|
133
129
|
def metadata_copyright(node, xml)
|
|
@@ -146,7 +142,7 @@ module Metanorma
|
|
|
146
142
|
def ogc_date(node, xml, ogcname, metanormaname)
|
|
147
143
|
if node.attr(ogcname)
|
|
148
144
|
xml.date type: metanormaname do |d|
|
|
149
|
-
d
|
|
145
|
+
add_noko_elem(d, "on", node.attr(ogcname))
|
|
150
146
|
end
|
|
151
147
|
end
|
|
152
148
|
end
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
|
3
|
-
<!-- VERSION v2.1.
|
|
3
|
+
<!-- VERSION v2.1.4 -->
|
|
4
4
|
|
|
5
5
|
<!--
|
|
6
6
|
ALERT: cannot have root comments, because of https://github.com/metanorma/metanorma/issues/437
|
|
@@ -905,15 +905,32 @@ titlecase, or lowercase</a:documentation>
|
|
|
905
905
|
</element>
|
|
906
906
|
</define>
|
|
907
907
|
<define name="image" combine="choice">
|
|
908
|
-
<
|
|
909
|
-
<
|
|
910
|
-
|
|
911
|
-
<
|
|
912
|
-
|
|
913
|
-
<
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
908
|
+
<choice>
|
|
909
|
+
<element name="image">
|
|
910
|
+
<ref name="RequiredId"/>
|
|
911
|
+
<ref name="ImageAttributes"/>
|
|
912
|
+
<optional>
|
|
913
|
+
<element name="svg">
|
|
914
|
+
<a:documentation>Allow svg in image/svg, for consistency</a:documentation>
|
|
915
|
+
<oneOrMore>
|
|
916
|
+
<choice>
|
|
917
|
+
<text/>
|
|
918
|
+
<ref name="AnyElement"/>
|
|
919
|
+
</choice>
|
|
920
|
+
</oneOrMore>
|
|
921
|
+
</element>
|
|
922
|
+
</optional>
|
|
923
|
+
</element>
|
|
924
|
+
<element name="svg">
|
|
925
|
+
<a:documentation>Add svg mark up to image</a:documentation>
|
|
926
|
+
<oneOrMore>
|
|
927
|
+
<choice>
|
|
928
|
+
<text/>
|
|
929
|
+
<ref name="AnyElement"/>
|
|
930
|
+
</choice>
|
|
931
|
+
</oneOrMore>
|
|
932
|
+
</element>
|
|
933
|
+
</choice>
|
|
917
934
|
</define>
|
|
918
935
|
<define name="ParagraphFnBody" combine="interleave">
|
|
919
936
|
<ref name="BlockSource">
|
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: 2.8.
|
|
4
|
+
version: 2.8.9
|
|
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-
|
|
11
|
+
date: 2025-11-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: iso-639
|