Skip to content

Commit

Permalink
xslt update based on metanorma/mn-native-pdf@ca5a79c
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelligent2013 committed Jul 8, 2024
1 parent fc538b5 commit 5a89720
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions lib/isodoc/ieee/ieee.amendment.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -11553,8 +11553,11 @@
</xsl:template>

<xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'strong']" mode="contents_item">
<xsl:param name="element"/>
<xsl:copy>
<xsl:apply-templates mode="contents_item"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:copy>
</xsl:template>

Expand Down Expand Up @@ -11621,7 +11624,10 @@

<!-- Note: to enable the addition of character span markup with semantic styling for DIS Word output -->
<xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'span']" mode="contents_item">
<xsl:apply-templates mode="contents_item"/>
<xsl:param name="element"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:template>

<!-- =============== -->
Expand Down
10 changes: 8 additions & 2 deletions lib/isodoc/ieee/ieee.standard.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -11553,8 +11553,11 @@
</xsl:template>

<xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'strong']" mode="contents_item">
<xsl:param name="element"/>
<xsl:copy>
<xsl:apply-templates mode="contents_item"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:copy>
</xsl:template>

Expand Down Expand Up @@ -11621,7 +11624,10 @@

<!-- Note: to enable the addition of character span markup with semantic styling for DIS Word output -->
<xsl:template xmlns:redirect="http://xml.apache.org/xalan/redirect" match="*[local-name() = 'span']" mode="contents_item">
<xsl:apply-templates mode="contents_item"/>
<xsl:param name="element"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:template>

<!-- =============== -->
Expand Down

0 comments on commit 5a89720

Please sign in to comment.