Skip to content

Commit

Permalink
Fix attribute parameter. Resolves issue Schematron#29.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Mar 7, 2017
1 parent 44fbf79 commit 68daa83
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ which require a preprocess.
which I find a bit surprising but anyway I'll use the longr faster version.
-->
<xsl:variable name="context-xpath">
<xsl:if test="$attributes='true' and parent::node() ">@*|</xsl:if>
<xsl:if test="$attributes='true'">@*|</xsl:if>
<xsl:choose>
<xsl:when test="$only-child-elements='true'">*</xsl:when>
<xsl:when test="$visit-text='true'">node()</xsl:when>
Expand Down

0 comments on commit 68daa83

Please sign in to comment.