Skip to content

Commit

Permalink
JIS xslt updated for cover page, metanorma/laozi#5
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelligent2013 committed Jan 15, 2025
1 parent fb272cb commit f9c2ce4
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions xslt_src/jis.international-standard.core.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1379,23 +1379,25 @@
<fo:table-column column-width="proportional-column-width(3)"/>
<fo:table-column column-width="proportional-column-width(2.2)"/>
<fo:table-column column-width="proportional-column-width(3)"/>
<xsl:variable name="publisher" select="/*/jis:bibdata/jis:contributor[jis:role/@type = 'publisher']/jis:organization/jis:name/jis:variant[@language = 'ja']"/>
<xsl:variable name="authorizer" select="/*/jis:bibdata/jis:contributor[jis:role/@type = 'authorizer']//jis:organization/jis:name"/>
<fo:table-body>
<fo:table-row height="50mm">
<fo:table-cell>
<fo:block><xsl:value-of select="/*/jis:bibdata/jis:contributor[jis:role/@type = 'publisher']/jis:organization/jis:name/jis:variant[@language = 'ja']"/></fo:block>
<fo:block><xsl:value-of select="$publisher"/></fo:block>
</fo:table-cell>
<fo:table-cell><fo:block>&#xa0;</fo:block></fo:table-cell>
<fo:table-cell>
<fo:block><xsl:value-of select="/*/jis:bibdata/jis:contributor[jis:role/@type = 'authorizer']//jis:organization/jis:name"/></fo:block>
<fo:block><xsl:value-of select="$authorizer"/></fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block>発行</fo:block>
<fo:block><xsl:if test="normalize-space($publisher) != ''">発行</xsl:if></fo:block>
</fo:table-cell>
<fo:table-cell><fo:block>&#xa0;</fo:block></fo:table-cell>
<fo:table-cell>
<fo:block>審議</fo:block>
<fo:block><xsl:if test="normalize-space($authorizer) != ''">審議</xsl:if></fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
Expand Down Expand Up @@ -1494,7 +1496,8 @@
</fo:block>

<fo:block margin-top="6.5mm" font-size="8pt" font-weight="500">
<fo:inline padding-right="5mm"><xsl:apply-templates select="/*/jis:bibdata/jis:date[@type = 'published']/text()"/></fo:inline>改正
<xsl:variable name="revised_date"><xsl:apply-templates select="/*/jis:bibdata/jis:date[@type = 'revised']/text()"/></xsl:variable>
<xsl:if test="normalize-space($revised_date) != ''"><fo:inline padding-right="5mm"><xsl:copy-of select="$revised_date"/></fo:inline>改正</xsl:if>&#xa0;
</fo:block>

</fo:flow>
Expand Down

0 comments on commit f9c2ce4

Please sign in to comment.