summaryrefslogtreecommitdiff
path: root/src/xsl/show_firewall_detail.xsl
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 /src/xsl/show_firewall_detail.xsl
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.
Diffstat (limited to 'src/xsl/show_firewall_detail.xsl')
-rw-r--r--src/xsl/show_firewall_detail.xsl2
1 files changed, 2 insertions, 0 deletions
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="' '"/>