[yelp-xsl] Exclude various xmlns declarations from output



commit cc6d3b51457c9d335033dff6a57bda52121606cd
Author: Shaun McCance <shaunm gnome org>
Date:   Mon Mar 1 23:13:04 2010 -0600

    Exclude various xmlns declarations from output

 xslt/mallard/common/mal-link.xsl      |    1 +
 xslt/mallard/html/mal2html-block.xsl  |    1 +
 xslt/mallard/html/mal2html-inline.xsl |    1 +
 xslt/mallard/html/mal2html-list.xsl   |    1 +
 xslt/mallard/html/mal2html-media.xsl  |    1 +
 xslt/mallard/html/mal2html-page.xsl   |    3 ++-
 xslt/mallard/html/mal2html-table.xsl  |    2 +-
 7 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/xslt/mallard/common/mal-link.xsl b/xslt/mallard/common/mal-link.xsl
index 2f8fb95..1df5a1d 100644
--- a/xslt/mallard/common/mal-link.xsl
+++ b/xslt/mallard/common/mal-link.xsl
@@ -21,6 +21,7 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
                 xmlns:mal="http://projectmallard.org/1.0/";
                 xmlns:exsl="http://exslt.org/common";
                 xmlns:str="http://exslt.org/strings";
+                exclude-result-prefixes="mal str"
                 version="1.0">
 
 <!--!!==========================================================================
diff --git a/xslt/mallard/html/mal2html-block.xsl b/xslt/mallard/html/mal2html-block.xsl
index be53610..2296f77 100644
--- a/xslt/mallard/html/mal2html-block.xsl
+++ b/xslt/mallard/html/mal2html-block.xsl
@@ -19,6 +19,7 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                 xmlns:mal="http://projectmallard.org/1.0/";
                 xmlns="http://www.w3.org/1999/xhtml";
+                exclude-result-prefixes="mal"
                 version="1.0">
 
 <!--!!==========================================================================
diff --git a/xslt/mallard/html/mal2html-inline.xsl b/xslt/mallard/html/mal2html-inline.xsl
index 7103d61..ad69ed2 100644
--- a/xslt/mallard/html/mal2html-inline.xsl
+++ b/xslt/mallard/html/mal2html-inline.xsl
@@ -20,6 +20,7 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
                 xmlns:mal="http://projectmallard.org/1.0/";
                 xmlns:e="http://projectmallard.org/experimental/";
                 xmlns="http://www.w3.org/1999/xhtml";
+                exclude-result-prefixes="mal e"
                 version="1.0">
 
 <!--!!==========================================================================
diff --git a/xslt/mallard/html/mal2html-list.xsl b/xslt/mallard/html/mal2html-list.xsl
index 1c0de60..2b1987a 100644
--- a/xslt/mallard/html/mal2html-list.xsl
+++ b/xslt/mallard/html/mal2html-list.xsl
@@ -19,6 +19,7 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                 xmlns:mal="http://projectmallard.org/1.0/";
                 xmlns="http://www.w3.org/1999/xhtml";
+                exclude-result-prefixes="mal"
                 version="1.0">
 
 <!--!!==========================================================================
diff --git a/xslt/mallard/html/mal2html-media.xsl b/xslt/mallard/html/mal2html-media.xsl
index 10d841b..a077121 100644
--- a/xslt/mallard/html/mal2html-media.xsl
+++ b/xslt/mallard/html/mal2html-media.xsl
@@ -19,6 +19,7 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                 xmlns:mal="http://projectmallard.org/1.0/";
                 xmlns="http://www.w3.org/1999/xhtml";
+                exclude-result-prefixes="mal"
                 version="1.0">
 
 <!--!!==========================================================================
diff --git a/xslt/mallard/html/mal2html-page.xsl b/xslt/mallard/html/mal2html-page.xsl
index a07dd4d..7c04f0f 100644
--- a/xslt/mallard/html/mal2html-page.xsl
+++ b/xslt/mallard/html/mal2html-page.xsl
@@ -18,9 +18,10 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                 xmlns:mal="http://projectmallard.org/1.0/";
-                xmlns:str="http://exslt.org/strings";
                 xmlns:exsl="http://exslt.org/common";
                 xmlns="http://www.w3.org/1999/xhtml";
+                extension-element-prefixes="exsl"
+                exclude-result-prefixes="mal"
                 version="1.0">
 
 <!--!!==========================================================================
diff --git a/xslt/mallard/html/mal2html-table.xsl b/xslt/mallard/html/mal2html-table.xsl
index 2c6ec82..c07a4f2 100644
--- a/xslt/mallard/html/mal2html-table.xsl
+++ b/xslt/mallard/html/mal2html-table.xsl
@@ -20,7 +20,7 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
                 xmlns:mal="http://projectmallard.org/1.0/";
                 xmlns:str="http://exslt.org/strings";
                 xmlns="http://www.w3.org/1999/xhtml";
-                extension-element-prefixes="str"
+                exclude-result-prefixes="mal str"
                 version="1.0">
 
 <!--!!==========================================================================



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]