aboutsummaryrefslogtreecommitdiffstats
path: root/test/layoutengine/testcase2fo.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'test/layoutengine/testcase2fo.xsl')
-rw-r--r--test/layoutengine/testcase2fo.xsl8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/layoutengine/testcase2fo.xsl b/test/layoutengine/testcase2fo.xsl
index 0b677471d..522f53fa7 100644
--- a/test/layoutengine/testcase2fo.xsl
+++ b/test/layoutengine/testcase2fo.xsl
@@ -50,16 +50,12 @@ value as subsitution value.
</xsl:when>
<xsl:otherwise>
<!-- if variable isn't defined, just copy -->
- <xsl:copy>
- <xsl:apply-templates select="node()" mode="copy"/>
- </xsl:copy>
+ <xsl:copy-of select="." />
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
- <xsl:copy>
- <xsl:apply-templates select="node()" mode="copy"/>
- </xsl:copy>
+ <xsl:copy-of select="." />
</xsl:otherwise>
</xsl:choose>
</xsl:template>