metanorma-ribose 2.9.1.pre.alpha.3 → 2.9.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: 8e82f93a39e05c021ea90cbce6799ce94fe58957c925e7311292a22d0cc6c60f
4
- data.tar.gz: c0d1ed117b86b3ace5fd4e9d7aa4e48fe78b85c3a7f38abef9745e7a0e2dec7a
3
+ metadata.gz: 60225fb4f55eeafe7ba3924acdd12bf307ded800c77f2bce5aab24960ef8cfc7
4
+ data.tar.gz: 0c2470229ebb9fc80e24525420794b5472e64970b01b52a922fed498b6d63110
5
5
  SHA512:
6
- metadata.gz: 1cd6db417f169c8f9b1fc9b2883c3786e1d924595a02dcd19c617c20c4148faaeb668518a4f74206857eb7dc5c3cf277669f5dd796133dc41623022f8d7f7857
7
- data.tar.gz: 8e3f3194ba22cf8aaea4ad38f6da8adac9234fdcefb091a03cbb9b636f7abbf1b8cdd6f1e6a9a6337af9e7c5b86e5e58e370758ddae092200c2d593289adc8f6
6
+ metadata.gz: 8f091cf633cb2b7b9be134b3993f7694c6963be679a11b2b726fc35b2e4bb222345c86de6f27d3e15ddd86be4ead8323c2e310d195245e3722247eeae78d91e9
7
+ data.tar.gz: 237062fc687eb9ae763170c1bb10f5a427b49a0ee0d27cfb0db255d51a5f1e1439a202d1c03197f64d577cd4065412712959b283e80b17e49515abeae8597927
@@ -16748,6 +16748,23 @@
16748
16748
  </xsl:choose>
16749
16749
  </xsl:template>
16750
16750
 
16751
+ <xsl:template name="getVariable">
16752
+ <xsl:param name="variable"/>
16753
+ <!-- Note: need insert <xsl:variable name="setVariable" select="java:org.metanorma.fop.global.Variables.setVariable('num', $num)"/> before
16754
+ in the iteration <xsl:for-each select="xalan:nodeset($updated_xml)//mn:metanorma"> -->
16755
+ <xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
16756
+ <xsl:value-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]"/>
16757
+ </xsl:template>
16758
+
16759
+ <!-- get variable value with the internal elements(nodes), e.g. formatting -->
16760
+ <xsl:template name="getVariableCopyOf">
16761
+ <xsl:param name="variable"/>
16762
+ <!-- Note: need insert <xsl:variable name="setVariable" select="java:org.metanorma.fop.global.Variables.setVariable('num', $num)"/> before
16763
+ in the iteration <xsl:for-each select="xalan:nodeset($updated_xml)//mn:metanorma"> -->
16764
+ <xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
16765
+ <xsl:copy-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]/node()"/>
16766
+ </xsl:template>
16767
+
16751
16768
  <!-- ============================================= -->
16752
16769
  <!-- mode="print_as_xml", for debug purposes -->
16753
16770
  <!-- ============================================= -->
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ribose
3
- VERSION = "2.9.1.pre.alpha.3".freeze
3
+ VERSION = "2.9.1".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-ribose
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.1.pre.alpha.3
4
+ version: 2.9.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-27 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-generic