[yelp-xsl] [db-xref] Handle qandaentry xrefs for DocBook 5



commit 982a9104d1b163d8644aaba04d4b2cc87a395e74
Author: brian m. carlson <sandals crustytoothpaste ath cx>
Date:   Sat Apr 10 18:30:46 2010 +0000

    [db-xref] Handle qandaentry xrefs for DocBook 5
    
    Signed-off-by: brian m. carlson <sandals crustytoothpaste ath cx>

 xslt/docbook/common/db-xref.xsl |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/xslt/docbook/common/db-xref.xsl b/xslt/docbook/common/db-xref.xsl
index 3b537d1..f86f6ad 100644
--- a/xslt/docbook/common/db-xref.xsl
+++ b/xslt/docbook/common/db-xref.xsl
@@ -287,7 +287,8 @@ REMARK: Document this mode
 <xsl:template mode="db.xref.content.mode" match="qandaentry | db:qandaentry">
   <xsl:param name="xrefstyle"/>
   <xsl:param name="role" select="substring-after($xrefstyle, 'role:')"/>
-  <xsl:apply-templates mode="db.xref.content.mode" select="question">
+  <xsl:apply-templates mode="db.xref.content.mode"
+                       select="question | db:question">
     <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
     <xsl:with-param name="role" select="$role"/>
   </xsl:apply-templates>



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