[yelp-xsl] [db2html-callout] Adding DocBook 5 support
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl] [db2html-callout] Adding DocBook 5 support
- Date: Fri, 21 May 2010 23:31:47 +0000 (UTC)
commit 67b93257935d47aacbf66ec5718b6e9e1f5e761e
Author: brian m. carlson <sandals crustytoothpaste ath cx>
Date: Tue Mar 16 22:57:12 2010 +0000
[db2html-callout] Adding DocBook 5 support
Signed-off-by: brian m. carlson <sandals crustytoothpaste ath cx>
xslt/docbook/html/db2html-callout.xsl | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/xslt/docbook/html/db2html-callout.xsl b/xslt/docbook/html/db2html-callout.xsl
index bba6006..f944ae0 100644
--- a/xslt/docbook/html/db2html-callout.xsl
+++ b/xslt/docbook/html/db2html-callout.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">
@@ -85,7 +86,7 @@ REMARK: Describe this template
<xsl:template name="db2html.co.dingbat">
<xsl:param name="co" select="."/>
<span class="co">
- <xsl:value-of select="count(preceding::co) + 1"/>
+ <xsl:value-of select="count(preceding::co) + count(preceding::db:co) + 1"/>
</span>
</xsl:template>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]