summaryrefslogtreecommitdiffstats
path: root/extras/util
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--extras/util/compact.xsl14
1 files changed, 14 insertions, 0 deletions
diff --git a/extras/util/compact.xsl b/extras/util/compact.xsl
new file mode 100644
index 000000000..a54c7c9a3
--- /dev/null
+++ b/extras/util/compact.xsl
@@ -0,0 +1,14 @@
+<xsl:stylesheet version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:output method="xml" omit-xml-declaration="yes"/>
+
+ <xsl:strip-space elements="*"/>
+
+ <xsl:template match="@*|node()">
+ <xsl:copy>
+ <xsl:apply-templates select="@*|node()"/>
+ </xsl:copy>
+ </xsl:template>
+
+</xsl:stylesheet> \ No newline at end of file