Skip to content

Commit

Permalink
common.xsl updated for preferred style for Ribose documents, metanorm…
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelligent2013 committed Jan 10, 2025
1 parent 2b49ccc commit 87d1cd1
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions xslt_src/common.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -16841,9 +16841,17 @@
</xsl:template>

<xsl:template name="setStyle_preferred">
<xsl:if test="*[local-name() = 'strong']">
<xsl:attribute name="font-weight">normal</xsl:attribute>
</xsl:if>
<xsl:choose>
<xsl:when test="$namespace = 'rsd'">
<xsl:attribute name="font-weight">normal</xsl:attribute>
<xsl:attribute name="color">black</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:if test="*[local-name() = 'strong']">
<xsl:attribute name="font-weight">normal</xsl:attribute>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</xsl:template>

<!-- regarding ISO 10241-1:2011, If there is more than one preferred term, each preferred term follows the previous one on a new line. -->
Expand Down

0 comments on commit 87d1cd1

Please sign in to comment.