summaryrefslogtreecommitdiff
path: root/extras/util
diff options
context:
space:
mode:
authorBence Babati <b.baabsi@gmail.com>2012-08-13 12:34:08 +0200
committerAndras Timar <atimar@suse.com>2012-08-13 17:04:22 +0200
commit7a8763dad3e2dac5c5ad49b77dda7187ceaa2a40 (patch)
treee57e5336e02ad536b863f8b4ec2204206404e70e /extras/util
parente49926725f95eab4d6a215db093cc1c724b1a064 (diff)
fdo#49527 unzip autocorrect files, store contents in git
Change-Id: I3fa844bbfe0a80d824a3edb47615d828988f2200
Diffstat (limited to 'extras/util')
-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 000000000000..a54c7c9a3680
--- /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