[yelp-xsl] [db2html-table] Add DocBook 5 support for colspec and spanspec
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl] [db2html-table] Add DocBook 5 support for colspec and spanspec
- Date: Fri, 21 May 2010 23:34:13 +0000 (UTC)
commit 6cc401a730c848b303e56954ec7bf67dae8cbb09
Author: brian m. carlson <sandals crustytoothpaste ath cx>
Date: Wed Apr 7 19:24:33 2010 +0000
[db2html-table] Add DocBook 5 support for colspec and spanspec
Signed-off-by: brian m. carlson <sandals crustytoothpaste ath cx>
xslt/docbook/html/db2html-table.xsl | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/xslt/docbook/html/db2html-table.xsl b/xslt/docbook/html/db2html-table.xsl
index 4ac527a..0132a8f 100644
--- a/xslt/docbook/html/db2html-table.xsl
+++ b/xslt/docbook/html/db2html-table.xsl
@@ -992,14 +992,14 @@ REMARK: This template needs to be explained in detail, but I forgot how it works
</xsl:attribute>
</xsl:if>
<xsl:apply-templates select="thead | db:thead">
- <xsl:with-param name="colspecs" select="colspec"/>
- <xsl:with-param name="spanspecs" select="spanspec"/>
+ <xsl:with-param name="colspecs" select="colspec | db:colspec"/>
+ <xsl:with-param name="spanspecs" select="spanspec | db:spanspec"/>
<xsl:with-param name="colsep" select="$colsep"/>
<xsl:with-param name="rowsep" select="$rowsep"/>
</xsl:apply-templates>
<xsl:apply-templates select="tbody | db:tbody">
- <xsl:with-param name="colspecs" select="colspec"/>
- <xsl:with-param name="spanspecs" select="spanspec"/>
+ <xsl:with-param name="colspecs" select="colspec | db:colspec"/>
+ <xsl:with-param name="spanspecs" select="spanspec | db:spanspec"/>
<xsl:with-param name="colsep" select="$colsep"/>
<xsl:with-param name="rowsep" select="$rowsep"/>
</xsl:apply-templates>
@@ -1120,20 +1120,20 @@ REMARK: This template needs to be explained in detail, but I forgot how it works
</xsl:attribute>
</xsl:if>
<xsl:apply-templates select="thead | db:thead">
- <xsl:with-param name="colspecs" select="colspec"/>
- <xsl:with-param name="spanspecs" select="spanspec"/>
+ <xsl:with-param name="colspecs" select="colspec | db:colspec"/>
+ <xsl:with-param name="spanspecs" select="spanspec | db:spanspec"/>
<xsl:with-param name="colsep" select="$colsep"/>
<xsl:with-param name="rowsep" select="$rowsep"/>
</xsl:apply-templates>
<xsl:apply-templates select="tbody | db:tbody">
- <xsl:with-param name="colspecs" select="colspec"/>
- <xsl:with-param name="spanspecs" select="spanspec"/>
+ <xsl:with-param name="colspecs" select="colspec | db:colspec"/>
+ <xsl:with-param name="spanspecs" select="spanspec | db:spanspec"/>
<xsl:with-param name="colsep" select="$colsep"/>
<xsl:with-param name="rowsep" select="$rowsep"/>
</xsl:apply-templates>
<xsl:apply-templates select="tfoot | db:tfoot">
- <xsl:with-param name="colspecs" select="colspec"/>
- <xsl:with-param name="spanspecs" select="spanspec"/>
+ <xsl:with-param name="colspecs" select="colspec | db:colspec"/>
+ <xsl:with-param name="spanspecs" select="spanspec | db:spanspec"/>
<xsl:with-param name="colsep" select="$colsep"/>
<xsl:with-param name="rowsep" select="$rowsep"/>
</xsl:apply-templates>
@@ -1169,8 +1169,8 @@ REMARK: This template needs to be explained in detail, but I forgot how it works
<xsl:when test="colspec | db:colspec">
<xsl:call-template name="db2html.row">
<xsl:with-param name="row" select="row[1] | db:row[1]"/>
- <xsl:with-param name="colspecs" select="colspec"/>
- <xsl:with-param name="spanspecs" select="spanspec"/>
+ <xsl:with-param name="colspecs" select="colspec | db:colspec"/>
+ <xsl:with-param name="spanspecs" select="spanspec | db:spanspec"/>
<xsl:with-param name="colsep" select="$colsep"/>
<xsl:with-param name="rowsep" select="$rowsep"/>
</xsl:call-template>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]