[yelp-xsl] [db2html-division] Properly handle DocBook 5 titles



commit a36603b292abdf00acbd08c83b566b11470936ae
Author: brian m. carlson <sandals crustytoothpaste ath cx>
Date:   Sat Mar 13 19:24:27 2010 +0000

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

 xslt/docbook/html/db2html-division.xsl |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/xslt/docbook/html/db2html-division.xsl b/xslt/docbook/html/db2html-division.xsl
index 2114046..5ba05bd 100644
--- a/xslt/docbook/html/db2html-division.xsl
+++ b/xslt/docbook/html/db2html-division.xsl
@@ -1124,9 +1124,11 @@ REMARK: Describe this template
     <xsl:with-param name="info" select="bookinfo | db:info"/>
     <!-- Unlike other elements in DocBook, title comes before bookinfo -->
     <xsl:with-param name="title_node"
-                    select="(title | bookinfo/title)[1]"/>
+                    select="(title    | bookinfo/title |
+                             db:title | db:info/db:title)[1]"/>
     <xsl:with-param name="subtitle_node"
-                    select="(subtitle | bookinfo/subtitle)[1]"/>
+                    select="(subtitle    | bookinfo/subtitle |
+                             db:subtitle | db:info/db:subtitle)[1]"/>
     <xsl:with-param name="depth_in_chunk" select="$depth_in_chunk"/>
     <xsl:with-param name="depth_of_chunk" select="$depth_of_chunk"/>
     <xsl:with-param name="autotoc_depth" select="2"/>



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