[yelp-xsl] [db2html-ebnf] Adding DocBook 5 support



commit 059c937d8b516c9b0cd11c8bc21f69edc888fa71
Author: brian m. carlson <sandals crustytoothpaste ath cx>
Date:   Thu Mar 18 16:53:42 2010 +0000

    [db2html-ebnf] Adding DocBook 5 support
    
    Signed-off-by: brian m. carlson <sandals crustytoothpaste ath cx>

 xslt/docbook/html/db2html-ebnf.xsl |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/xslt/docbook/html/db2html-ebnf.xsl b/xslt/docbook/html/db2html-ebnf.xsl
index 73a1af3..78b2455 100644
--- a/xslt/docbook/html/db2html-ebnf.xsl
+++ b/xslt/docbook/html/db2html-ebnf.xsl
@@ -17,6 +17,7 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 -->
 
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
+                xmlns:db="http://docbook.org/ns/docbook";
                 xmlns="http://www.w3.org/1999/xhtml";
                 version="1.0">
 
@@ -44,12 +45,13 @@ REMARK: Describe this module
 <!-- = productionrecap = -->
 
 <!-- = productionset = -->
-<xsl:template match="productionset">
+<xsl:template match="productionset | db:productionset">
   <div class="productionset">
     <xsl:call-template name="db2html.anchor"/>
     <xsl:apply-templates select="title"/>
     <table class="productionset">
-      <xsl:apply-templates select="production | productionrecap"/>
+      <xsl:apply-templates select="production    | productionrecap |
+                                   db:production | db:productionrecap"/>
     </table>
   </div>
 </xsl:template>



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