metanorma-iho 0.6.6 → 0.6.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4af6ef284c4a564646a9b84cb3ae8a69a534e939948728a0a6e132e83aa7008
4
- data.tar.gz: 6e14800eab27b7c2febb9a09a99f8ba9036c1c4894ade61d726c697dcaccc200
3
+ metadata.gz: 4f5e4888a0661e05c4d13e5bcf641e3581d01f61e7186e8d051aab8a44c92234
4
+ data.tar.gz: 9ed6b8024a02d01e251a3f062b6adc09641ed80d1467bf0f303027121baa1aac
5
5
  SHA512:
6
- metadata.gz: 35ce6de13b73198e4f6837d1f0223239274aa29113f8122da891f0fdb972e60fb9056ae822231daeac9ae42a6ae824f785ee7a832d491161ea49a4559e812641
7
- data.tar.gz: a9cede9cd799c2e77fc42e1f6439a4edb790d0b8ab434008985ac6a3bb2d4860612967cf15a05df83f7a2eef1a56b8ec14577d08dfa582f04f6a31f19d4e48af
6
+ metadata.gz: cb1a9a9b055e809ed5a4d1b6c0016861ea90f1694e6bbf9a8b520d1ecdf9662303c0af8f84692ef57c7e1601512a9e33edc5d292847e1ab4bf3d18daebff7dae
7
+ data.tar.gz: 95c22f60355c57089e47f409725e0a5a7b06555e96df0ccdcd4de6b1cdd96f89b697cadb7eee8cedc9eaf04f3235cb33067394d462f8103ae6acac8facb99a43
@@ -1206,6 +1206,9 @@
1206
1206
  <xsl:attribute-set name="import-style">
1207
1207
  </xsl:attribute-set>
1208
1208
 
1209
+ <xsl:attribute-set name="component-style">
1210
+ </xsl:attribute-set>
1211
+
1209
1212
  <xsl:attribute-set name="recommendation-style">
1210
1213
 
1211
1214
  </xsl:attribute-set>
@@ -7044,41 +7047,47 @@
7044
7047
  </fo:block>
7045
7048
  </xsl:template>
7046
7049
 
7047
- <xsl:template match="*[local-name() = 'inherit'] | *[local-name() = 'component'][@class = 'inherit']">
7050
+ <xsl:template match="*[local-name() = 'inherit'] | *[local-name() = 'component'][@class = 'inherit'] | *[local-name() = 'div'][@type = 'requirement-inherit'] | *[local-name() = 'div'][@type = 'recommendation-inherit'] | *[local-name() = 'div'][@type = 'permission-inherit']">
7048
7051
  <fo:block xsl:use-attribute-sets="inherit-style">
7049
7052
  <xsl:text>Dependency </xsl:text><xsl:apply-templates/>
7050
7053
  </fo:block>
7051
7054
  </xsl:template>
7052
7055
 
7053
- <xsl:template match="*[local-name() = 'description'] | *[local-name() = 'component'][@class = 'description']">
7056
+ <xsl:template match="*[local-name() = 'description'] | *[local-name() = 'component'][@class = 'description'] | *[local-name() = 'div'][@type = 'requirement-description'] | *[local-name() = 'div'][@type = 'recommendation-description'] | *[local-name() = 'div'][@type = 'permission-description']">
7054
7057
  <fo:block xsl:use-attribute-sets="description-style">
7055
7058
  <xsl:apply-templates/>
7056
7059
  </fo:block>
7057
7060
  </xsl:template>
7058
7061
 
7059
- <xsl:template match="*[local-name() = 'specification'] | *[local-name() = 'component'][@class = 'specification']">
7062
+ <xsl:template match="*[local-name() = 'specification'] | *[local-name() = 'component'][@class = 'specification'] | *[local-name() = 'div'][@type = 'requirement-specification'] | *[local-name() = 'div'][@type = 'recommendation-specification'] | *[local-name() = 'div'][@type = 'permission-specification']">
7060
7063
  <fo:block xsl:use-attribute-sets="specification-style">
7061
7064
  <xsl:apply-templates/>
7062
7065
  </fo:block>
7063
7066
  </xsl:template>
7064
7067
 
7065
- <xsl:template match="*[local-name() = 'measurement-target'] | *[local-name() = 'component'][@class = 'measurement-target']">
7068
+ <xsl:template match="*[local-name() = 'measurement-target'] | *[local-name() = 'component'][@class = 'measurement-target'] | *[local-name() = 'div'][@type = 'requirement-measurement-target'] | *[local-name() = 'div'][@type = 'recommendation-measurement-target'] | *[local-name() = 'div'][@type = 'permission-measurement-target']">
7066
7069
  <fo:block xsl:use-attribute-sets="measurement-target-style">
7067
7070
  <xsl:apply-templates/>
7068
7071
  </fo:block>
7069
7072
  </xsl:template>
7070
7073
 
7071
- <xsl:template match="*[local-name() = 'verification'] | *[local-name() = 'component'][@class = 'verification']">
7074
+ <xsl:template match="*[local-name() = 'verification'] | *[local-name() = 'component'][@class = 'verification'] | *[local-name() = 'div'][@type = 'requirement-verification'] | *[local-name() = 'div'][@type = 'recommendation-verification'] | *[local-name() = 'div'][@type = 'permission-verification']">
7072
7075
  <fo:block xsl:use-attribute-sets="verification-style">
7073
7076
  <xsl:apply-templates/>
7074
7077
  </fo:block>
7075
7078
  </xsl:template>
7076
7079
 
7077
- <xsl:template match="*[local-name() = 'import'] | *[local-name() = 'component'][@class = 'import']">
7080
+ <xsl:template match="*[local-name() = 'import'] | *[local-name() = 'component'][@class = 'import'] | *[local-name() = 'div'][@type = 'requirement-import'] | *[local-name() = 'div'][@type = 'recommendation-import'] | *[local-name() = 'div'][@type = 'permission-import']">
7078
7081
  <fo:block xsl:use-attribute-sets="import-style">
7079
7082
  <xsl:apply-templates/>
7080
7083
  </fo:block>
7081
7084
  </xsl:template>
7085
+
7086
+ <xsl:template match="*[local-name() = 'div'][starts-with(@type, 'requirement-component')] | *[local-name() = 'div'][starts-with(@type, 'recommendation-component')] | *[local-name() = 'div'][starts-with(@type, 'permission-component')]">
7087
+ <fo:block xsl:use-attribute-sets="component-style">
7088
+ <xsl:apply-templates/>
7089
+ </fo:block>
7090
+ </xsl:template>
7082
7091
  <!-- ========== -->
7083
7092
  <!-- END -->
7084
7093
  <!-- ========== -->
@@ -1206,6 +1206,9 @@
1206
1206
  <xsl:attribute-set name="import-style">
1207
1207
  </xsl:attribute-set>
1208
1208
 
1209
+ <xsl:attribute-set name="component-style">
1210
+ </xsl:attribute-set>
1211
+
1209
1212
  <xsl:attribute-set name="recommendation-style">
1210
1213
 
1211
1214
  </xsl:attribute-set>
@@ -7044,41 +7047,47 @@
7044
7047
  </fo:block>
7045
7048
  </xsl:template>
7046
7049
 
7047
- <xsl:template match="*[local-name() = 'inherit'] | *[local-name() = 'component'][@class = 'inherit']">
7050
+ <xsl:template match="*[local-name() = 'inherit'] | *[local-name() = 'component'][@class = 'inherit'] | *[local-name() = 'div'][@type = 'requirement-inherit'] | *[local-name() = 'div'][@type = 'recommendation-inherit'] | *[local-name() = 'div'][@type = 'permission-inherit']">
7048
7051
  <fo:block xsl:use-attribute-sets="inherit-style">
7049
7052
  <xsl:text>Dependency </xsl:text><xsl:apply-templates/>
7050
7053
  </fo:block>
7051
7054
  </xsl:template>
7052
7055
 
7053
- <xsl:template match="*[local-name() = 'description'] | *[local-name() = 'component'][@class = 'description']">
7056
+ <xsl:template match="*[local-name() = 'description'] | *[local-name() = 'component'][@class = 'description'] | *[local-name() = 'div'][@type = 'requirement-description'] | *[local-name() = 'div'][@type = 'recommendation-description'] | *[local-name() = 'div'][@type = 'permission-description']">
7054
7057
  <fo:block xsl:use-attribute-sets="description-style">
7055
7058
  <xsl:apply-templates/>
7056
7059
  </fo:block>
7057
7060
  </xsl:template>
7058
7061
 
7059
- <xsl:template match="*[local-name() = 'specification'] | *[local-name() = 'component'][@class = 'specification']">
7062
+ <xsl:template match="*[local-name() = 'specification'] | *[local-name() = 'component'][@class = 'specification'] | *[local-name() = 'div'][@type = 'requirement-specification'] | *[local-name() = 'div'][@type = 'recommendation-specification'] | *[local-name() = 'div'][@type = 'permission-specification']">
7060
7063
  <fo:block xsl:use-attribute-sets="specification-style">
7061
7064
  <xsl:apply-templates/>
7062
7065
  </fo:block>
7063
7066
  </xsl:template>
7064
7067
 
7065
- <xsl:template match="*[local-name() = 'measurement-target'] | *[local-name() = 'component'][@class = 'measurement-target']">
7068
+ <xsl:template match="*[local-name() = 'measurement-target'] | *[local-name() = 'component'][@class = 'measurement-target'] | *[local-name() = 'div'][@type = 'requirement-measurement-target'] | *[local-name() = 'div'][@type = 'recommendation-measurement-target'] | *[local-name() = 'div'][@type = 'permission-measurement-target']">
7066
7069
  <fo:block xsl:use-attribute-sets="measurement-target-style">
7067
7070
  <xsl:apply-templates/>
7068
7071
  </fo:block>
7069
7072
  </xsl:template>
7070
7073
 
7071
- <xsl:template match="*[local-name() = 'verification'] | *[local-name() = 'component'][@class = 'verification']">
7074
+ <xsl:template match="*[local-name() = 'verification'] | *[local-name() = 'component'][@class = 'verification'] | *[local-name() = 'div'][@type = 'requirement-verification'] | *[local-name() = 'div'][@type = 'recommendation-verification'] | *[local-name() = 'div'][@type = 'permission-verification']">
7072
7075
  <fo:block xsl:use-attribute-sets="verification-style">
7073
7076
  <xsl:apply-templates/>
7074
7077
  </fo:block>
7075
7078
  </xsl:template>
7076
7079
 
7077
- <xsl:template match="*[local-name() = 'import'] | *[local-name() = 'component'][@class = 'import']">
7080
+ <xsl:template match="*[local-name() = 'import'] | *[local-name() = 'component'][@class = 'import'] | *[local-name() = 'div'][@type = 'requirement-import'] | *[local-name() = 'div'][@type = 'recommendation-import'] | *[local-name() = 'div'][@type = 'permission-import']">
7078
7081
  <fo:block xsl:use-attribute-sets="import-style">
7079
7082
  <xsl:apply-templates/>
7080
7083
  </fo:block>
7081
7084
  </xsl:template>
7085
+
7086
+ <xsl:template match="*[local-name() = 'div'][starts-with(@type, 'requirement-component')] | *[local-name() = 'div'][starts-with(@type, 'recommendation-component')] | *[local-name() = 'div'][starts-with(@type, 'permission-component')]">
7087
+ <fo:block xsl:use-attribute-sets="component-style">
7088
+ <xsl:apply-templates/>
7089
+ </fo:block>
7090
+ </xsl:template>
7082
7091
  <!-- ========== -->
7083
7092
  <!-- END -->
7084
7093
  <!-- ========== -->
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module IHO
3
- VERSION = "0.6.6".freeze
3
+ VERSION = "0.6.7".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-iho
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.6
4
+ version: 0.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-08-08 00:00:00.000000000 Z
11
+ date: 2022-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-generic