From: <bob...@us...> - 2009-12-03 06:04:57
|
Revision: 8548 http://docbook.svn.sourceforge.net/docbook/?rev=8548&view=rev Author: bobstayton Date: 2009-12-03 06:04:51 +0000 (Thu, 03 Dec 2009) Log Message: ----------- If a colspec has a colname attribute, add it to the HTML col element as a class attribute so it can be styled. Modified Paths: -------------- trunk/xsl/html/table.xsl Modified: trunk/xsl/html/table.xsl =================================================================== --- trunk/xsl/html/table.xsl 2009-12-03 05:59:45 UTC (rev 8547) +++ trunk/xsl/html/table.xsl 2009-12-03 06:04:51 UTC (rev 8548) @@ -1073,11 +1073,18 @@ <xsl:value-of select="$colspec/@char"/> </xsl:attribute> </xsl:if> + <xsl:if test="$colspec/@charoff"> <xsl:attribute name="charoff"> <xsl:value-of select="$colspec/@charoff"/> </xsl:attribute> </xsl:if> + + <xsl:if test="$colspec/@colname"> + <xsl:attribute name="class"> + <xsl:value-of select="$colspec/@colname"/> + </xsl:attribute> + </xsl:if> </col> </xsl:when> <xsl:otherwise> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |