[yelp-xsl] [db2html-inline] Handle interface and shortcut for DocBook 5



commit ed06033768290b2479e8533d438f84b10db871ee
Author: brian m. carlson <sandals crustytoothpaste ath cx>
Date:   Wed Apr 7 19:55:04 2010 +0000

    [db2html-inline] Handle interface and shortcut for DocBook 5
    
    Signed-off-by: brian m. carlson <sandals crustytoothpaste ath cx>

 xslt/docbook/html/db2html-inline.xsl |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/xslt/docbook/html/db2html-inline.xsl b/xslt/docbook/html/db2html-inline.xsl
index d326240..aa7a7ac 100644
--- a/xslt/docbook/html/db2html-inline.xsl
+++ b/xslt/docbook/html/db2html-inline.xsl
@@ -607,7 +607,7 @@ FIXME
 </xsl:template>
 
 <!-- = interface = -->
-<xsl:template match="interface">
+<xsl:template match="interface | db:interface">
   <xsl:call-template name="db2html.inline">
     <xsl:with-param name="class" select="'gui'"/>
   </xsl:call-template>
@@ -760,9 +760,9 @@ FIXME
     </xsl:if>
     <xsl:apply-templates select="."/>
   </xsl:for-each>
-  <xsl:if test="shortcut">
+  <xsl:if test="shortcut or db:shortcut">
     <xsl:text> </xsl:text>
-    <xsl:apply-templates select="shortcut"/>
+    <xsl:apply-templates select="shortcut | db:shortcut"/>
   </xsl:if>
 </xsl:template>
 



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