Skip to content

Commit

Permalink
sts2mn adoc xslt updated for localiity 'requirement', #133
Browse files Browse the repository at this point in the history
  • Loading branch information
Intelligent2013 committed Mar 28, 2022
1 parent 958988b commit facdf53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/resources/sts2mn.adoc.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1898,6 +1898,7 @@
<!-- <xsl:if test="following-sibling::localityConj[1][. = 'to']">
<xsl:text>from!</xsl:text>
</xsl:if> -->
<xsl:if test="@droploc = 'true'">droploc%</xsl:if>
<xsl:value-of select="$locality"/>
</xsl:otherwise>
</xsl:choose>
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/sts2mn.common.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,9 @@
<xsl:when test="translate(substring($pairs, 1, 1), '0123456789', '') = ''">
<locality>clause</locality>
</xsl:when>
<xsl:when test="substring($pairs, 1, 1) = 'R'">
<locality droploc="true">locality:requirement</locality>
</xsl:when>
<xsl:otherwise>
<locality>annex</locality>
</xsl:otherwise>
Expand Down

0 comments on commit facdf53

Please sign in to comment.