metanorma-bipm 2.1.6 → 2.1.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: 2eaa8cfc70d8183ce34fdef96cb8ff4e75d414d9c7934c82a35f1a8223ea9e94
4
- data.tar.gz: 1a0fcfda81b1353fc0765c9868138d82bd4d35b699aa6d0e148ad70d1e94ba8c
3
+ metadata.gz: 210ce8f201d4f7a26ccca311ab2ab90f54875eb4d4a2bd8b22cce75b76217766
4
+ data.tar.gz: 0cd1ff65480380c86647776390850a9ac1afb2be7edf1b0993e254a2b307add1
5
5
  SHA512:
6
- metadata.gz: bebb35ab586fb9e96c283ce235c24862405eef34a2cf1836dc75f6aa9ce64d616985dada6360e7354a3d22a9e0b17608d0a132bb4c0df257457adf9ed64f0fe4
7
- data.tar.gz: 59067db38c7248f52a4a2081ee6bcb7a975461a8ce7f0167ef6cfeb00c7d74960c5523d42dd6bbffc921ba7f9a3af4809f9bdc1c847a2e9b901684d3b9567547
6
+ metadata.gz: d248dcd205817bb826a3e301ddd3e5a6411814beff9cbb03d96e9633bbb13172a1096ab44caedb9cced760311825a86c0e1452391f57649ba4b7894bc35cdf4a
7
+ data.tar.gz: 33b03eae6907d23d5b4e820af0b8a084967e813336c2b34e0c402e65fd6ff676d751de26777a4fca7054e3bdcb0dbd578573c4246ea1d4db82602856a347f7bc
@@ -4212,6 +4212,9 @@
4212
4212
  <xsl:attribute-set name="import-style">
4213
4213
  </xsl:attribute-set>
4214
4214
 
4215
+ <xsl:attribute-set name="component-style">
4216
+ </xsl:attribute-set>
4217
+
4215
4218
  <xsl:attribute-set name="recommendation-style">
4216
4219
 
4217
4220
  </xsl:attribute-set>
@@ -10196,41 +10199,47 @@
10196
10199
  </fo:block>
10197
10200
  </xsl:template>
10198
10201
 
10199
- <xsl:template match="*[local-name() = 'inherit'] | *[local-name() = 'component'][@class = 'inherit']">
10202
+ <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']">
10200
10203
  <fo:block xsl:use-attribute-sets="inherit-style">
10201
10204
  <xsl:text>Dependency </xsl:text><xsl:apply-templates/>
10202
10205
  </fo:block>
10203
10206
  </xsl:template>
10204
10207
 
10205
- <xsl:template match="*[local-name() = 'description'] | *[local-name() = 'component'][@class = 'description']">
10208
+ <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']">
10206
10209
  <fo:block xsl:use-attribute-sets="description-style">
10207
10210
  <xsl:apply-templates/>
10208
10211
  </fo:block>
10209
10212
  </xsl:template>
10210
10213
 
10211
- <xsl:template match="*[local-name() = 'specification'] | *[local-name() = 'component'][@class = 'specification']">
10214
+ <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']">
10212
10215
  <fo:block xsl:use-attribute-sets="specification-style">
10213
10216
  <xsl:apply-templates/>
10214
10217
  </fo:block>
10215
10218
  </xsl:template>
10216
10219
 
10217
- <xsl:template match="*[local-name() = 'measurement-target'] | *[local-name() = 'component'][@class = 'measurement-target']">
10220
+ <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']">
10218
10221
  <fo:block xsl:use-attribute-sets="measurement-target-style">
10219
10222
  <xsl:apply-templates/>
10220
10223
  </fo:block>
10221
10224
  </xsl:template>
10222
10225
 
10223
- <xsl:template match="*[local-name() = 'verification'] | *[local-name() = 'component'][@class = 'verification']">
10226
+ <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']">
10224
10227
  <fo:block xsl:use-attribute-sets="verification-style">
10225
10228
  <xsl:apply-templates/>
10226
10229
  </fo:block>
10227
10230
  </xsl:template>
10228
10231
 
10229
- <xsl:template match="*[local-name() = 'import'] | *[local-name() = 'component'][@class = 'import']">
10232
+ <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']">
10230
10233
  <fo:block xsl:use-attribute-sets="import-style">
10231
10234
  <xsl:apply-templates/>
10232
10235
  </fo:block>
10233
10236
  </xsl:template>
10237
+
10238
+ <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')]">
10239
+ <fo:block xsl:use-attribute-sets="component-style">
10240
+ <xsl:apply-templates/>
10241
+ </fo:block>
10242
+ </xsl:template>
10234
10243
  <!-- ========== -->
10235
10244
  <!-- END -->
10236
10245
  <!-- ========== -->
@@ -4212,6 +4212,9 @@
4212
4212
  <xsl:attribute-set name="import-style">
4213
4213
  </xsl:attribute-set>
4214
4214
 
4215
+ <xsl:attribute-set name="component-style">
4216
+ </xsl:attribute-set>
4217
+
4215
4218
  <xsl:attribute-set name="recommendation-style">
4216
4219
 
4217
4220
  </xsl:attribute-set>
@@ -10196,41 +10199,47 @@
10196
10199
  </fo:block>
10197
10200
  </xsl:template>
10198
10201
 
10199
- <xsl:template match="*[local-name() = 'inherit'] | *[local-name() = 'component'][@class = 'inherit']">
10202
+ <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']">
10200
10203
  <fo:block xsl:use-attribute-sets="inherit-style">
10201
10204
  <xsl:text>Dependency </xsl:text><xsl:apply-templates/>
10202
10205
  </fo:block>
10203
10206
  </xsl:template>
10204
10207
 
10205
- <xsl:template match="*[local-name() = 'description'] | *[local-name() = 'component'][@class = 'description']">
10208
+ <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']">
10206
10209
  <fo:block xsl:use-attribute-sets="description-style">
10207
10210
  <xsl:apply-templates/>
10208
10211
  </fo:block>
10209
10212
  </xsl:template>
10210
10213
 
10211
- <xsl:template match="*[local-name() = 'specification'] | *[local-name() = 'component'][@class = 'specification']">
10214
+ <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']">
10212
10215
  <fo:block xsl:use-attribute-sets="specification-style">
10213
10216
  <xsl:apply-templates/>
10214
10217
  </fo:block>
10215
10218
  </xsl:template>
10216
10219
 
10217
- <xsl:template match="*[local-name() = 'measurement-target'] | *[local-name() = 'component'][@class = 'measurement-target']">
10220
+ <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']">
10218
10221
  <fo:block xsl:use-attribute-sets="measurement-target-style">
10219
10222
  <xsl:apply-templates/>
10220
10223
  </fo:block>
10221
10224
  </xsl:template>
10222
10225
 
10223
- <xsl:template match="*[local-name() = 'verification'] | *[local-name() = 'component'][@class = 'verification']">
10226
+ <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']">
10224
10227
  <fo:block xsl:use-attribute-sets="verification-style">
10225
10228
  <xsl:apply-templates/>
10226
10229
  </fo:block>
10227
10230
  </xsl:template>
10228
10231
 
10229
- <xsl:template match="*[local-name() = 'import'] | *[local-name() = 'component'][@class = 'import']">
10232
+ <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']">
10230
10233
  <fo:block xsl:use-attribute-sets="import-style">
10231
10234
  <xsl:apply-templates/>
10232
10235
  </fo:block>
10233
10236
  </xsl:template>
10237
+
10238
+ <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')]">
10239
+ <fo:block xsl:use-attribute-sets="component-style">
10240
+ <xsl:apply-templates/>
10241
+ </fo:block>
10242
+ </xsl:template>
10234
10243
  <!-- ========== -->
10235
10244
  <!-- END -->
10236
10245
  <!-- ========== -->
@@ -4212,6 +4212,9 @@
4212
4212
  <xsl:attribute-set name="import-style">
4213
4213
  </xsl:attribute-set>
4214
4214
 
4215
+ <xsl:attribute-set name="component-style">
4216
+ </xsl:attribute-set>
4217
+
4215
4218
  <xsl:attribute-set name="recommendation-style">
4216
4219
 
4217
4220
  </xsl:attribute-set>
@@ -10196,41 +10199,47 @@
10196
10199
  </fo:block>
10197
10200
  </xsl:template>
10198
10201
 
10199
- <xsl:template match="*[local-name() = 'inherit'] | *[local-name() = 'component'][@class = 'inherit']">
10202
+ <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']">
10200
10203
  <fo:block xsl:use-attribute-sets="inherit-style">
10201
10204
  <xsl:text>Dependency </xsl:text><xsl:apply-templates/>
10202
10205
  </fo:block>
10203
10206
  </xsl:template>
10204
10207
 
10205
- <xsl:template match="*[local-name() = 'description'] | *[local-name() = 'component'][@class = 'description']">
10208
+ <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']">
10206
10209
  <fo:block xsl:use-attribute-sets="description-style">
10207
10210
  <xsl:apply-templates/>
10208
10211
  </fo:block>
10209
10212
  </xsl:template>
10210
10213
 
10211
- <xsl:template match="*[local-name() = 'specification'] | *[local-name() = 'component'][@class = 'specification']">
10214
+ <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']">
10212
10215
  <fo:block xsl:use-attribute-sets="specification-style">
10213
10216
  <xsl:apply-templates/>
10214
10217
  </fo:block>
10215
10218
  </xsl:template>
10216
10219
 
10217
- <xsl:template match="*[local-name() = 'measurement-target'] | *[local-name() = 'component'][@class = 'measurement-target']">
10220
+ <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']">
10218
10221
  <fo:block xsl:use-attribute-sets="measurement-target-style">
10219
10222
  <xsl:apply-templates/>
10220
10223
  </fo:block>
10221
10224
  </xsl:template>
10222
10225
 
10223
- <xsl:template match="*[local-name() = 'verification'] | *[local-name() = 'component'][@class = 'verification']">
10226
+ <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']">
10224
10227
  <fo:block xsl:use-attribute-sets="verification-style">
10225
10228
  <xsl:apply-templates/>
10226
10229
  </fo:block>
10227
10230
  </xsl:template>
10228
10231
 
10229
- <xsl:template match="*[local-name() = 'import'] | *[local-name() = 'component'][@class = 'import']">
10232
+ <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']">
10230
10233
  <fo:block xsl:use-attribute-sets="import-style">
10231
10234
  <xsl:apply-templates/>
10232
10235
  </fo:block>
10233
10236
  </xsl:template>
10237
+
10238
+ <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')]">
10239
+ <fo:block xsl:use-attribute-sets="component-style">
10240
+ <xsl:apply-templates/>
10241
+ </fo:block>
10242
+ </xsl:template>
10234
10243
  <!-- ========== -->
10235
10244
  <!-- END -->
10236
10245
  <!-- ========== -->
@@ -4212,6 +4212,9 @@
4212
4212
  <xsl:attribute-set name="import-style">
4213
4213
  </xsl:attribute-set>
4214
4214
 
4215
+ <xsl:attribute-set name="component-style">
4216
+ </xsl:attribute-set>
4217
+
4215
4218
  <xsl:attribute-set name="recommendation-style">
4216
4219
 
4217
4220
  </xsl:attribute-set>
@@ -10196,41 +10199,47 @@
10196
10199
  </fo:block>
10197
10200
  </xsl:template>
10198
10201
 
10199
- <xsl:template match="*[local-name() = 'inherit'] | *[local-name() = 'component'][@class = 'inherit']">
10202
+ <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']">
10200
10203
  <fo:block xsl:use-attribute-sets="inherit-style">
10201
10204
  <xsl:text>Dependency </xsl:text><xsl:apply-templates/>
10202
10205
  </fo:block>
10203
10206
  </xsl:template>
10204
10207
 
10205
- <xsl:template match="*[local-name() = 'description'] | *[local-name() = 'component'][@class = 'description']">
10208
+ <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']">
10206
10209
  <fo:block xsl:use-attribute-sets="description-style">
10207
10210
  <xsl:apply-templates/>
10208
10211
  </fo:block>
10209
10212
  </xsl:template>
10210
10213
 
10211
- <xsl:template match="*[local-name() = 'specification'] | *[local-name() = 'component'][@class = 'specification']">
10214
+ <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']">
10212
10215
  <fo:block xsl:use-attribute-sets="specification-style">
10213
10216
  <xsl:apply-templates/>
10214
10217
  </fo:block>
10215
10218
  </xsl:template>
10216
10219
 
10217
- <xsl:template match="*[local-name() = 'measurement-target'] | *[local-name() = 'component'][@class = 'measurement-target']">
10220
+ <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']">
10218
10221
  <fo:block xsl:use-attribute-sets="measurement-target-style">
10219
10222
  <xsl:apply-templates/>
10220
10223
  </fo:block>
10221
10224
  </xsl:template>
10222
10225
 
10223
- <xsl:template match="*[local-name() = 'verification'] | *[local-name() = 'component'][@class = 'verification']">
10226
+ <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']">
10224
10227
  <fo:block xsl:use-attribute-sets="verification-style">
10225
10228
  <xsl:apply-templates/>
10226
10229
  </fo:block>
10227
10230
  </xsl:template>
10228
10231
 
10229
- <xsl:template match="*[local-name() = 'import'] | *[local-name() = 'component'][@class = 'import']">
10232
+ <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']">
10230
10233
  <fo:block xsl:use-attribute-sets="import-style">
10231
10234
  <xsl:apply-templates/>
10232
10235
  </fo:block>
10233
10236
  </xsl:template>
10237
+
10238
+ <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')]">
10239
+ <fo:block xsl:use-attribute-sets="component-style">
10240
+ <xsl:apply-templates/>
10241
+ </fo:block>
10242
+ </xsl:template>
10234
10243
  <!-- ========== -->
10235
10244
  <!-- END -->
10236
10245
  <!-- ========== -->
@@ -2136,6 +2136,9 @@
2136
2136
  <xsl:attribute-set name="import-style">
2137
2137
  </xsl:attribute-set>
2138
2138
 
2139
+ <xsl:attribute-set name="component-style">
2140
+ </xsl:attribute-set>
2141
+
2139
2142
  <xsl:attribute-set name="recommendation-style">
2140
2143
 
2141
2144
  </xsl:attribute-set>
@@ -8091,41 +8094,47 @@
8091
8094
  </fo:block>
8092
8095
  </xsl:template>
8093
8096
 
8094
- <xsl:template match="*[local-name() = 'inherit'] | *[local-name() = 'component'][@class = 'inherit']">
8097
+ <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']">
8095
8098
  <fo:block xsl:use-attribute-sets="inherit-style">
8096
8099
  <xsl:text>Dependency </xsl:text><xsl:apply-templates/>
8097
8100
  </fo:block>
8098
8101
  </xsl:template>
8099
8102
 
8100
- <xsl:template match="*[local-name() = 'description'] | *[local-name() = 'component'][@class = 'description']">
8103
+ <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']">
8101
8104
  <fo:block xsl:use-attribute-sets="description-style">
8102
8105
  <xsl:apply-templates/>
8103
8106
  </fo:block>
8104
8107
  </xsl:template>
8105
8108
 
8106
- <xsl:template match="*[local-name() = 'specification'] | *[local-name() = 'component'][@class = 'specification']">
8109
+ <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']">
8107
8110
  <fo:block xsl:use-attribute-sets="specification-style">
8108
8111
  <xsl:apply-templates/>
8109
8112
  </fo:block>
8110
8113
  </xsl:template>
8111
8114
 
8112
- <xsl:template match="*[local-name() = 'measurement-target'] | *[local-name() = 'component'][@class = 'measurement-target']">
8115
+ <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']">
8113
8116
  <fo:block xsl:use-attribute-sets="measurement-target-style">
8114
8117
  <xsl:apply-templates/>
8115
8118
  </fo:block>
8116
8119
  </xsl:template>
8117
8120
 
8118
- <xsl:template match="*[local-name() = 'verification'] | *[local-name() = 'component'][@class = 'verification']">
8121
+ <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']">
8119
8122
  <fo:block xsl:use-attribute-sets="verification-style">
8120
8123
  <xsl:apply-templates/>
8121
8124
  </fo:block>
8122
8125
  </xsl:template>
8123
8126
 
8124
- <xsl:template match="*[local-name() = 'import'] | *[local-name() = 'component'][@class = 'import']">
8127
+ <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']">
8125
8128
  <fo:block xsl:use-attribute-sets="import-style">
8126
8129
  <xsl:apply-templates/>
8127
8130
  </fo:block>
8128
8131
  </xsl:template>
8132
+
8133
+ <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')]">
8134
+ <fo:block xsl:use-attribute-sets="component-style">
8135
+ <xsl:apply-templates/>
8136
+ </fo:block>
8137
+ </xsl:template>
8129
8138
  <!-- ========== -->
8130
8139
  <!-- END -->
8131
8140
  <!-- ========== -->
@@ -10,7 +10,7 @@ module Metanorma
10
10
  def output_formats
11
11
  super.merge(
12
12
  html: "html",
13
- pdf: "pdf"
13
+ pdf: "pdf",
14
14
  ).tap { |hs| hs.delete(:doc) }
15
15
  end
16
16
 
@@ -37,14 +37,17 @@ module Metanorma
37
37
  "Metanorma::BIPM #{Metanorma::BIPM::VERSION}"
38
38
  end
39
39
 
40
- def output(isodoc_node, inname, outname, format, options={})
40
+ def output(isodoc_node, inname, outname, format, options = {})
41
41
  case format
42
42
  when :html
43
- IsoDoc::BIPM::HtmlConvert.new(options).convert(inname, isodoc_node, nil, outname)
43
+ IsoDoc::BIPM::HtmlConvert.new(options)
44
+ .convert(inname, isodoc_node, nil, outname)
44
45
  when :presentation
45
- IsoDoc::BIPM::PresentationXMLConvert.new(options).convert(inname, isodoc_node, nil, outname)
46
+ IsoDoc::BIPM::PresentationXMLConvert.new(options)
47
+ .convert(inname, isodoc_node, nil, outname)
46
48
  when :pdf
47
- IsoDoc::BIPM::PdfConvert.new(options).convert(inname, isodoc_node, nil, outname)
49
+ IsoDoc::BIPM::PdfConvert.new(options)
50
+ .convert(inname, isodoc_node, nil, outname)
48
51
  else
49
52
  super
50
53
  end
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module BIPM
3
- VERSION = "2.1.6".freeze
3
+ VERSION = "2.1.7".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-bipm
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.6
4
+ version: 2.1.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