Skip to content

Commit

Permalink
IEC xslt updated, language processing added, metanorma/isodoc#354
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelligent2013 committed Dec 13, 2021
1 parent e2bcbe4 commit 485a071
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions xslt_src/common.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -4721,6 +4721,7 @@

<xsl:template match="*[local-name()='dd']"/>
<xsl:template match="*[local-name()='dd']" mode="process">
<xsl:apply-templates select="@language"/>
<xsl:apply-templates />
</xsl:template>

Expand Down Expand Up @@ -9252,6 +9253,10 @@
</fo:inline>
</xsl:template>

<xsl:template match="@language">
<xsl:copy-of select="."/>
</xsl:template>

<!-- convert YYYY-MM-DD to 'Month YYYY' or 'Month DD, YYYY' -->
<xsl:template name="convertDate">
<xsl:param name="date"/>
Expand Down
1 change: 1 addition & 0 deletions xslt_src/iec.international-standard.core.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -2078,6 +2078,7 @@
<!-- <xsl:if test="ancestor::iec:dl and ancestor::iec:figure">
<xsl:attribute name="margin-bottom">10pt</xsl:attribute>
</xsl:if> -->
<xsl:apply-templates select="@language"/>
<xsl:apply-templates />
</xsl:element>
</xsl:when>
Expand Down

0 comments on commit 485a071

Please sign in to comment.