diff options
| author | Daniil Baturin <daniil@baturin.org> | 2013-11-10 16:49:48 +0100 |
|---|---|---|
| committer | Daniil Baturin <daniil@baturin.org> | 2013-11-10 16:49:48 +0100 |
| commit | 071afe00de758ec2e35bb0e5078bf177589a5328 (patch) | |
| tree | b9d4fb81a87bae1aba4907dd4383b243bf260386 /src | |
| parent | 4239c148c128942975563a96956eb0b806ed1216 (diff) | |
| download | vyatta-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')
| -rw-r--r-- | src/xsl/show_firewall.xsl | 2 | ||||
| -rw-r--r-- | src/xsl/show_firewall_detail.xsl | 2 | ||||
| -rw-r--r-- | src/xsl/show_firewall_statistics.xsl | 2 | ||||
| -rw-r--r-- | src/xsl/show_firewall_statistics_brief.xsl | 2 |
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="' '"/> |
