Skip to content

Commit

Permalink
Make sch:let use element content as value
Browse files Browse the repository at this point in the history
  • Loading branch information
dmj committed Apr 6, 2024
1 parent ec8a9c6 commit e3da887
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/resources/content/transpile.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,9 @@ SOFTWARE.
<xsl:attribute name="select" select="@value"/>
</xsl:when>
<xsl:otherwise>
<xsl:if test="not(@as)">
<xsl:attribute name="as">node()*</xsl:attribute>
</xsl:if>
<xsl:apply-templates select="node()" mode="schxslt:copy-verbatim"/>
</xsl:otherwise>
</xsl:choose>
Expand All @@ -446,6 +449,9 @@ SOFTWARE.
<xsl:attribute name="select" select="@value"/>
</xsl:when>
<xsl:otherwise>
<xsl:if test="not(@as)">
<xsl:attribute name="as">node()*</xsl:attribute>
</xsl:if>
<xsl:apply-templates select="node()" mode="schxslt:copy-verbatim"/>
</xsl:otherwise>
</xsl:choose>
Expand Down

0 comments on commit e3da887

Please sign in to comment.