]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix a few more docs XSL bugs related to the TOC
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 3 May 2013 19:56:04 +0000 (20:56 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 3 May 2013 19:57:24 +0000 (20:57 +0100)
Add missing 'html:' namespace prefix to a few more XSL
rules for generating the table of contents links

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
docs/page.xsl

index 20e4aa6bfb9c6539954b924bd36c94a01c19f032..7da34ff5a169a59a5a1f2980c27080f95ab3080f 100644 (file)
@@ -83,7 +83,7 @@
         <xsl:variable name="thish2" select="."/>
         <li>
           <a href="#{html:a/@name}"><xsl:value-of select="html:a/text()"/></a>
-          <xsl:if test="count(./following-sibling::h3[preceding-sibling::h2[1] = $thish2 and count(html:a) = 1]) > 0">
+          <xsl:if test="count(./following-sibling::html:h3[preceding-sibling::html:h2[1] = $thish2 and count(html:a) = 1]) > 0">
             <ul>
               <xsl:for-each select="./following-sibling::html:h3[preceding-sibling::html:h2[1] = $thish2 and count(html:a) = 1]">
                 <xsl:variable name="thish3" select="."/>
                       <xsl:for-each select="./following-sibling::html:h4[preceding-sibling::html:h3[1] = $thish3 and count(html:a) = 1]">
                         <xsl:variable name="thish4" select="."/>
                         <li>
-                          <a href="#{html:a/@name}"><xsl:value-of select="a/text()"/></a>
+                          <a href="#{html:a/@name}"><xsl:value-of select="html:a/text()"/></a>
                           <xsl:if test="count(./following-sibling::html:h5[preceding-sibling::html:h4[1] = $thish4 and count(html:a) = 1]) > 0">
                             <ul>
                               <xsl:for-each select="./following-sibling::html:h5[preceding-sibling::html:h4[1] = $thish4 and count(html:a) = 1]">
                                 <xsl:variable name="thish5" select="."/>
                                 <li>
-                                  <a href="#{html:a/@name}"><xsl:value-of select="a/text()"/></a>
+                                  <a href="#{html:a/@name}"><xsl:value-of select="html:a/text()"/></a>
                                   <xsl:if test="count(./following-sibling::html:h6[preceding-sibling::html:h5[1] = $thish5 and count(html:a) = 1]) > 0">
                                     <ul>
                                       <xsl:for-each select="./following-sibling::html:h6[preceding-sibling::html:h5[1] = $thish5 and count(html:a) = 1]">