[yelp-xsl] [db2html-footnote] Properly handle DocBook 5 footnotes



commit 6d6c1c44fcb6e60b0fb1d843c2feb17e27538268
Author: brian m. carlson <sandals crustytoothpaste ath cx>
Date:   Fri Apr 2 19:14:22 2010 +0000

    [db2html-footnote] Properly handle DocBook 5 footnotes
    
    Signed-off-by: brian m. carlson <sandals crustytoothpaste ath cx>

 xslt/docbook/html/db2html-footnote.xsl |    2 +-
 xslt/docbook/html/db2html-title.xsl    |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/xslt/docbook/html/db2html-footnote.xsl b/xslt/docbook/html/db2html-footnote.xsl
index c20842c..76ff6c5 100644
--- a/xslt/docbook/html/db2html-footnote.xsl
+++ b/xslt/docbook/html/db2html-footnote.xsl
@@ -226,7 +226,7 @@ a.footnote-ref { text-decoration: none; }
 <!-- == Matched Templates == -->
 
 <!-- = footnote = -->
-<xsl:template match="footnote">
+<xsl:template match="footnote | db:footnote">
   <xsl:call-template name="db2html.footnote.ref"/>
 </xsl:template>
 
diff --git a/xslt/docbook/html/db2html-title.xsl b/xslt/docbook/html/db2html-title.xsl
index 1673b0c..efd183f 100644
--- a/xslt/docbook/html/db2html-title.xsl
+++ b/xslt/docbook/html/db2html-title.xsl
@@ -99,7 +99,8 @@ This template is going away
 
 
 <!-- = equation/title = -->
-<xsl:template match="equation/title | db:equation/db:title">
+<xsl:template match="equation/title | db:equation/db:title |
+                     db:equation/db:info/db:title">
   <xsl:call-template name="db2html.title.block"/>
 </xsl:template>
 



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