From 7ee85c9900a6327649bb933403ac132d908786be Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Fri, 3 May 2013 16:57:05 +0100 Subject: [PATCH] Fix docs generator regression in previous commit The previous commit failed to update the XSL to take account of fact that in XHTML mode the elements need namespace prefixes. This caused every web page to be blank! --- docs/drvqemu.html.in | 2 +- docs/page.xsl | 64 +++++++++++++++++++++++--------------------- docs/site.xsl | 1 + 3 files changed, 35 insertions(+), 32 deletions(-) diff --git a/docs/drvqemu.html.in b/docs/drvqemu.html.in index 3a5c4dfedc..fee2819d1d 100644 --- a/docs/drvqemu.html.in +++ b/docs/drvqemu.html.in @@ -560,6 +560,7 @@ $ virsh domxml-to-native qemu-argv demo.xml possible to add an element <qemu:commandline> under driver, with the following sub-elements repeated as often as needed: +

qemu:arg
Add an additional command-line argument to the qemu @@ -572,7 +573,6 @@ $ virsh domxml-to-native qemu-argv demo.xml pair recorded in the attributes name and optional value.
-

Example:

 <domain type='qemu' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
   <name>QEmu-fedora-i686</name>
diff --git a/docs/page.xsl b/docs/page.xsl
index bc8ea2a1bf..20e4aa6bfb 100644
--- a/docs/page.xsl
+++ b/docs/page.xsl
@@ -1,14 +1,16 @@
 
 
 
   
-  
+  
 
-  
+  
     
     
   
@@ -20,17 +22,17 @@
   
 
 
-  
+  
     
   
 
   
-  
+  
     
     
     
    - +
  • - + active @@ -51,21 +53,21 @@ the immediate 'a' tag has href matching the current pagename --> - - + + - - + + - + - - + + @@ -77,33 +79,33 @@
      - +
    • - - + +
        - +
      • - - + +
          - +
        • - - + +
            - +
          • - - + +
              - +
            • - +
            @@ -136,7 +138,7 @@ - libvirt: <xsl:value-of select="html/body/h1"/> + libvirt: <xsl:value-of select="html:html/html:body/html:h1"/> @@ -153,13 +155,13 @@
    - +