summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2013-11-10 16:49:48 +0100
committerDaniil Baturin <daniil@baturin.org>2013-11-10 16:49:48 +0100
commit071afe00de758ec2e35bb0e5078bf177589a5328 (patch)
treeb9d4fb81a87bae1aba4907dd4383b243bf260386
parent4239c148c128942975563a96956eb0b806ed1216 (diff)
downloadvyatta-op-firewall-071afe00de758ec2e35bb0e5078bf177589a5328.tar.gz
vyatta-op-firewall-071afe00de758ec2e35bb0e5078bf177589a5328.zip
Add omit-xml-declaration to XSLs to prevent XSLT processors from
adding XML header to the output.
-rw-r--r--src/xsl/show_firewall.xsl2
-rw-r--r--src/xsl/show_firewall_detail.xsl2
-rw-r--r--src/xsl/show_firewall_statistics.xsl2
-rw-r--r--src/xsl/show_firewall_statistics_brief.xsl2
4 files changed, 8 insertions, 0 deletions
diff --git a/src/xsl/show_firewall.xsl b/src/xsl/show_firewall.xsl
index 236fd2f..e855902 100644
--- a/src/xsl/show_firewall.xsl
+++ b/src/xsl/show_firewall.xsl
@@ -33,6 +33,8 @@
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:output omit-xml-declaration="yes" />
+
<xsl:variable name="pad6" select="' '"/>
<xsl:variable name="pad6_len" select="string-length($pad6)"/>
<xsl:variable name="pad10" select="' '"/>
diff --git a/src/xsl/show_firewall_detail.xsl b/src/xsl/show_firewall_detail.xsl
index 2cef154..ea388e0 100644
--- a/src/xsl/show_firewall_detail.xsl
+++ b/src/xsl/show_firewall_detail.xsl
@@ -33,6 +33,8 @@
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:output omit-xml-declaration="yes" />
+
<xsl:variable name="pad10" select="' '"/>
<xsl:variable name="pad10_len" select="string-length($pad10)"/>
<xsl:variable name="pad20" select="' '"/>
diff --git a/src/xsl/show_firewall_statistics.xsl b/src/xsl/show_firewall_statistics.xsl
index 611fcea..79e95cf 100644
--- a/src/xsl/show_firewall_statistics.xsl
+++ b/src/xsl/show_firewall_statistics.xsl
@@ -33,6 +33,8 @@
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:output omit-xml-declaration="yes" />
+
<xsl:variable name="pad6" select="' '"/>
<xsl:variable name="pad6_len" select="string-length($pad6)"/>
<xsl:variable name="pad8" select="' '"/>
diff --git a/src/xsl/show_firewall_statistics_brief.xsl b/src/xsl/show_firewall_statistics_brief.xsl
index fb03dc1..3840b09 100644
--- a/src/xsl/show_firewall_statistics_brief.xsl
+++ b/src/xsl/show_firewall_statistics_brief.xsl
@@ -33,6 +33,8 @@
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:output omit-xml-declaration="yes" />
+
<xsl:variable name="pad6" select="' '"/>
<xsl:variable name="pad6_len" select="string-length($pad6)"/>
<xsl:variable name="pad7" select="' '"/>