aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/codegen/enumgen.xsl3
-rw-r--r--src/codegen/properties.xsl3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/codegen/enumgen.xsl b/src/codegen/enumgen.xsl
index 5b1cb9a64..12d2cde71 100644
--- a/src/codegen/enumgen.xsl
+++ b/src/codegen/enumgen.xsl
@@ -8,6 +8,9 @@
<xsl:output method="text" />
+<!-- zap text content -->
+<xsl:template match="text()"/>
+
<xsl:template match="property[not(@type='generic')]">
<xsl:variable name="classname">
<xsl:choose>
diff --git a/src/codegen/properties.xsl b/src/codegen/properties.xsl
index 4b7b9f1c1..5f0d252ee 100644
--- a/src/codegen/properties.xsl
+++ b/src/codegen/properties.xsl
@@ -301,6 +301,9 @@ public class <xsl:value-of select="$classname"/> extends <xsl:value-of select="
</xsl:if> <!-- need to create a class -->
</xsl:template>
+<!-- avoid unwanted output to placeholder file -->
+<xsl:template match="localname"/>
+
</xsl:stylesheet>