We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aebb270 commit a63ee84Copy full SHA for a63ee84
web/src/main/webapp/WEB-INF/classes/schematron/iso_svrl_for_xslt2.xsl
@@ -544,7 +544,7 @@
544
<xsl:template name="svrl-text">
545
<svrl:text>
546
<xsl:choose>
547
- <xsl:when test="contains(., '$loc/strings/')">
+ <xsl:when test="starts-with(., '$loc') or contains(., '$loc/strings/')">
548
<xsl:element name="xsl:copy-of">
549
<xsl:attribute name="select">
550
<xsl:apply-templates mode="text"/>
@@ -589,7 +589,7 @@
589
<xsl:if test=" string( $name )">
590
<axsl:attribute name="name">
591
592
- <xsl:when test="contains($name, '$loc/strings/')">
+ <xsl:when test="starts-with(., '$loc') or contains($name, '$loc/strings/')">
593
<axsl:value-of>
594
595
<xsl:value-of select="$name"/>
0 commit comments