metanorma-plateau 0.2.0 → 0.2.1
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fad86c30ca216b3f72f5d1a0a1e98174196edd55c2647d02d517597c3c57f7dd
|
|
4
|
+
data.tar.gz: 9fa218900c22975dcd9386d0a5ce6813cf408788bd251a7a40c29bc81efea8bc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b676fea6a044ac18402d7ccc7dc62d0b16862fcaa168b8a2fdfe24e4147b9a4efd3ad14c10b0a9a6103233f57e9c79d60dc078073ffce4f0a00ca3a89adecefa
|
|
7
|
+
data.tar.gz: c005bd268ffc2eed5ed01726917903535bbb07c12647019a403c7165ae583a0177add3a3ab14eb6676543d23edb4c89215d3a5e81caaa2aac1fa3ff23b43851d
|
|
@@ -186,33 +186,40 @@
|
|
|
186
186
|
<xsl:apply-templates mode="update_xml_pres"/>
|
|
187
187
|
</xsl:variable>
|
|
188
188
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
<
|
|
192
|
-
|
|
193
|
-
|
|
189
|
+
<xsl:if test="$debug = 'true'">
|
|
190
|
+
<xsl:message>start redirect</xsl:message>
|
|
191
|
+
<redirect:write file="update_xml_pres.xml">
|
|
192
|
+
<xsl:copy-of select="$updated_xml_pres"/>
|
|
193
|
+
</redirect:write>
|
|
194
|
+
<xsl:message>end redirect</xsl:message>
|
|
195
|
+
</xsl:if>
|
|
194
196
|
|
|
195
197
|
<xsl:variable name="updated_xml_step1">
|
|
196
198
|
<!-- <xsl:apply-templates mode="update_xml_step1"/> -->
|
|
197
199
|
<xsl:apply-templates select="xalan:nodeset($updated_xml_pres)" mode="update_xml_step1"/>
|
|
198
200
|
</xsl:variable>
|
|
199
201
|
<!-- DEBUG: updated_xml_step1=<xsl:copy-of select="$updated_xml_step1"/> -->
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
<
|
|
203
|
-
|
|
204
|
-
|
|
202
|
+
<xsl:if test="$debug = 'true'">
|
|
203
|
+
<xsl:message>start redirect</xsl:message>
|
|
204
|
+
<redirect:write file="update_xml_step1.xml">
|
|
205
|
+
<xsl:copy-of select="$updated_xml_step1"/>
|
|
206
|
+
</redirect:write>
|
|
207
|
+
<xsl:message>end redirect</xsl:message>
|
|
208
|
+
</xsl:if>
|
|
205
209
|
|
|
206
210
|
<xsl:variable name="updated_xml_step2_">
|
|
207
211
|
<xsl:apply-templates select="xalan:nodeset($updated_xml_step1)" mode="update_xml_step2"/>
|
|
208
212
|
</xsl:variable>
|
|
209
213
|
<xsl:variable name="updated_xml_step2" select="xalan:nodeset($updated_xml_step2_)"/>
|
|
210
214
|
<!-- DEBUG: updated_xml_step2=<xsl:copy-of select="$updated_xml_step2"/> -->
|
|
211
|
-
|
|
212
|
-
<
|
|
213
|
-
<xsl:
|
|
214
|
-
|
|
215
|
-
|
|
215
|
+
|
|
216
|
+
<xsl:if test="$debug = 'true'">
|
|
217
|
+
<xsl:message>start redirect</xsl:message>
|
|
218
|
+
<redirect:write file="update_xml_step2.xml">
|
|
219
|
+
<xsl:copy-of select="$updated_xml_step2"/>
|
|
220
|
+
</redirect:write>
|
|
221
|
+
<xsl:message>end redirect</xsl:message>
|
|
222
|
+
</xsl:if>
|
|
216
223
|
|
|
217
224
|
<xsl:for-each select="$updated_xml_step2//plateau:metanorma">
|
|
218
225
|
<xsl:variable name="num"><xsl:number level="any" count="plateau:metanorma"/></xsl:variable>
|
|
@@ -1699,7 +1706,7 @@
|
|
|
1699
1706
|
<xsl:template match="plateau:table/plateau:p[@class = 'ListTitle']" priority="2" mode="update_xml_step1"/>
|
|
1700
1707
|
|
|
1701
1708
|
<!-- added to fix conflict with previous update in update_xml_pres -->
|
|
1702
|
-
<xsl:template match="*[local-name() = 'preferred'] |
|
|
1709
|
+
<xsl:template match="*[local-name() = 'preferred'] | *[local-name() = 'admitted'] | *[local-name() = 'deprecates'] | *[local-name() = 'definition'] | *[local-name() = 'termsource'] | *[local-name() = 'term'][@unnumbered = 'true'] | *[local-name() = 'identifier'] | *[local-name() = 'eref'] | *[local-name() = 'xref'] | *[local-name() = 'link'] | *[local-name() = 'origin']" mode="update_xml_step1" priority="2">
|
|
1703
1710
|
<xsl:copy>
|
|
1704
1711
|
<xsl:apply-templates select="@*|node()" mode="update_xml_step1"/>
|
|
1705
1712
|
</xsl:copy>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-plateau
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-02-
|
|
11
|
+
date: 2025-02-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: metanorma-jis
|