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

[libvirt] [PATCH] docs/page.xls: remove unnecessary namespace attribute



It breaks the build on RHEL-5.10 and because it's only optional we
could remove it from the code. The default namespace will be used.
This hunk was introduced by commit 237a088ba44633b08e0528fe5103d99b1e213b71.

Signed-off-by: Pavel Hrdina <phrdina redhat com>
---
 docs/page.xsl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/page.xsl b/docs/page.xsl
index d560c09..7de238e 100644
--- a/docs/page.xsl
+++ b/docs/page.xsl
@@ -187,7 +187,7 @@
   </xsl:template>
 
   <xsl:template match="html:h2 | html:h3 | html:h4 | html:h5 | html:h6" mode="content">
-    <xsl:element name="{name()}" namespace="{namespace-uri()}">
+    <xsl:element name="{name()}">
       <xsl:apply-templates mode="copy" />
       <xsl:if test="./html:a/@name">
         <a class="headerlink" href="#{html:a/@name}" title="Permalink to this headline">&#xb6;</a>
@@ -200,7 +200,7 @@
   </xsl:template>
 
   <xsl:template match="node()" mode="copy">
-    <xsl:element name="{name()}" namespace="{namespace-uri()}">
+    <xsl:element name="{name()}">
       <xsl:copy-of select="./@*"/>
       <xsl:apply-templates mode="copy" />
     </xsl:element>
-- 
1.8.3.1


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