Skip to content

Commit

Permalink
ISO xslt updated for stage name, metanorma/metanorma-iso#1259
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelligent2013 committed Dec 27, 2024
1 parent bc61372 commit 86aaea2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions xslt_src/iso.international-standard.core.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1909,6 +1909,12 @@
<xsl:choose>
<xsl:when test="$stage-abbreviation = 'DIS'"> <!-- or $stage-abbreviation = 'DAMD' or $stage-abbreviation = 'DAM' -->
<xsl:choose>
<xsl:when test="$stagename_localized != '' and contains($stagename_localized, ' ')">
<!-- Draft International Standard to DRAFT -->
<xsl:value-of select="java:toUpperCase(java:java.lang.String.new(substring-before($stagename_localized, ' ')))"/>
<xsl:value-of select="$linebreak"/>
<xsl:value-of select="substring-after($stagename_localized, ' ')"/>
</xsl:when>
<xsl:when test="contains($stagename, ' ')">
<!-- Draft International Standard to DRAFT -->
<xsl:value-of select="java:toUpperCase(java:java.lang.String.new(substring-before($stagename, ' ')))"/>
Expand Down

0 comments on commit 86aaea2

Please sign in to comment.