summaryrefslogtreecommitdiff
path: root/officecfg/util/schema_trim.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'officecfg/util/schema_trim.xsl')
-rwxr-xr-xofficecfg/util/schema_trim.xsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/officecfg/util/schema_trim.xsl b/officecfg/util/schema_trim.xsl
index 6d58e97cccce..fce8b3895804 100755
--- a/officecfg/util/schema_trim.xsl
+++ b/officecfg/util/schema_trim.xsl
@@ -77,8 +77,8 @@
<!-- copy all other values with content -->
<xsl:template match="value">
<xsl:copy>
- <xsl:apply-templates select="*|@*"/>
- <xsl:value-of select="."/>
+ <xsl:apply-templates select="@*"/>
+ <xsl:copy-of select="node()"/>
</xsl:copy>
</xsl:template>