Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 7b18074

Browse files
committed
Don't wrap element content in a variable
Fix #6
1 parent ef3bb28 commit 7b18074

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/resources/content/transpile.xsl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,8 @@ SOFTWARE.
454454
<xsl:attribute name="select" select="@value"/>
455455
</xsl:when>
456456
<xsl:otherwise>
457-
<xsl:apply-templates select="node()" mode="variable-content"/>
457+
<xsl:attribute name="as">element()*</xsl:attribute>
458+
<xsl:apply-templates select="*" mode="variable-content"/>
458459
</xsl:otherwise>
459460
</xsl:choose>
460461
</xsl:element>

0 commit comments

Comments
 (0)