metanorma-iso 3.5.1.pre.alpha.4 → 3.5.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: 743661292939ee8527d318189cc5078605b168f5320358d7648b10c9c730fda4
4
- data.tar.gz: 648a0397c58c6106979298e2cb7e19b23314ec5bab76b36ece1ba6b8cc5e5649
3
+ metadata.gz: 831161353a536b05475fec90f22cef8b2709f3e602ba8efe93d8ffdcf1d6ed24
4
+ data.tar.gz: 1cb5e973d0fc7952fe56a26415f647fdf90242d95e54556a2f581f3b5c5695e5
5
5
  SHA512:
6
- metadata.gz: 8ef7060608d4b3459fb57d6cca90612de8fb5f045372aee9c4d1a104f12fab29567c5604f3d0b46c2364814fe6301a1ce9bb0bcf20728c02960c79f650732a53
7
- data.tar.gz: 87032d0839ea375fef716993c732db6aa15e26716f05de2a739859b1a6425009e6d0dc858502398b3504f86c78305f3d51fdee77ee4e9a1b53c47ca96f1237ea
6
+ metadata.gz: 2bdda034c20c33f234a65a4b07c4adaaf8b2269c61e493366b720ac84e155330b40918c34534742fb545faf5f5198810a9f8f70c6ff7a51968bf3903dbdf3755
7
+ data.tar.gz: 15a94ad86c2d8dc3bc997d23baeb3b0c758317f6ca685d044beab8f8b5c2b93ca4f037ef74705ae2f67beac1063d6b078e1cca5146f873e0b5e893f6af720210
@@ -476,12 +476,6 @@
476
476
  </xsl:variable>
477
477
  <xsl:variable name="variables" select="xalan:nodeset($variables_)"/>
478
478
 
479
- <xsl:template name="getVariable">
480
- <xsl:param name="variable"/>
481
- <xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
482
- <xsl:value-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]"/>
483
- </xsl:template>
484
-
485
479
  <xsl:variable name="COLUMN_GAP">8.5mm</xsl:variable>
486
480
 
487
481
  <xsl:variable name="PROOF_TEXT">PROOF/ÉPREUVE</xsl:variable>
@@ -22530,6 +22524,23 @@
22530
22524
  </xsl:choose>
22531
22525
  </xsl:template>
22532
22526
 
22527
+ <xsl:template name="getVariable">
22528
+ <xsl:param name="variable"/>
22529
+ <!-- Note: need insert <xsl:variable name="setVariable" select="java:org.metanorma.fop.global.Variables.setVariable('num', $num)"/> before
22530
+ in the iteration <xsl:for-each select="xalan:nodeset($updated_xml)//mn:metanorma"> -->
22531
+ <xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
22532
+ <xsl:value-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]"/>
22533
+ </xsl:template>
22534
+
22535
+ <!-- get variable value with the internal elements(nodes), e.g. formatting -->
22536
+ <xsl:template name="getVariableCopyOf">
22537
+ <xsl:param name="variable"/>
22538
+ <!-- Note: need insert <xsl:variable name="setVariable" select="java:org.metanorma.fop.global.Variables.setVariable('num', $num)"/> before
22539
+ in the iteration <xsl:for-each select="xalan:nodeset($updated_xml)//mn:metanorma"> -->
22540
+ <xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
22541
+ <xsl:copy-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]/node()"/>
22542
+ </xsl:template>
22543
+
22533
22544
  <!-- ============================================= -->
22534
22545
  <!-- mode="print_as_xml", for debug purposes -->
22535
22546
  <!-- ============================================= -->
@@ -476,12 +476,6 @@
476
476
  </xsl:variable>
477
477
  <xsl:variable name="variables" select="xalan:nodeset($variables_)"/>
478
478
 
479
- <xsl:template name="getVariable">
480
- <xsl:param name="variable"/>
481
- <xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
482
- <xsl:value-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]"/>
483
- </xsl:template>
484
-
485
479
  <xsl:variable name="COLUMN_GAP">8.5mm</xsl:variable>
486
480
 
487
481
  <xsl:variable name="PROOF_TEXT">PROOF/ÉPREUVE</xsl:variable>
@@ -22530,6 +22524,23 @@
22530
22524
  </xsl:choose>
22531
22525
  </xsl:template>
22532
22526
 
22527
+ <xsl:template name="getVariable">
22528
+ <xsl:param name="variable"/>
22529
+ <!-- Note: need insert <xsl:variable name="setVariable" select="java:org.metanorma.fop.global.Variables.setVariable('num', $num)"/> before
22530
+ in the iteration <xsl:for-each select="xalan:nodeset($updated_xml)//mn:metanorma"> -->
22531
+ <xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
22532
+ <xsl:value-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]"/>
22533
+ </xsl:template>
22534
+
22535
+ <!-- get variable value with the internal elements(nodes), e.g. formatting -->
22536
+ <xsl:template name="getVariableCopyOf">
22537
+ <xsl:param name="variable"/>
22538
+ <!-- Note: need insert <xsl:variable name="setVariable" select="java:org.metanorma.fop.global.Variables.setVariable('num', $num)"/> before
22539
+ in the iteration <xsl:for-each select="xalan:nodeset($updated_xml)//mn:metanorma"> -->
22540
+ <xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
22541
+ <xsl:copy-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]/node()"/>
22542
+ </xsl:template>
22543
+
22533
22544
  <!-- ============================================= -->
22534
22545
  <!-- mode="print_as_xml", for debug purposes -->
22535
22546
  <!-- ============================================= -->
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Iso
3
- VERSION = "3.5.1.pre.alpha.4".freeze
3
+ VERSION = "3.5.1".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-iso
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.1.pre.alpha.4
4
+ version: 3.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-10-28 00:00:00.000000000 Z
11
+ date: 2026-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-document