From: <nw...@us...> - 2007-11-27 17:22:02
|
Revision: 7572 http://docbook.svn.sourceforge.net/docbook/?rev=7572&view=rev Author: nwalsh Date: 2007-11-27 09:21:53 -0800 (Tue, 27 Nov 2007) Log Message: ----------- Improve id generation Modified Paths: -------------- trunk/xsl2/base/html/table.xsl Modified: trunk/xsl2/base/html/table.xsl =================================================================== --- trunk/xsl2/base/html/table.xsl 2007-11-27 17:21:24 UTC (rev 7571) +++ trunk/xsl2/base/html/table.xsl 2007-11-27 17:21:53 UTC (rev 7572) @@ -23,7 +23,7 @@ <xsl:with-param name="longdesc" select="db:textobject[not(db:phrase)]"/> <xsl:with-param name="object" as="element()"> <div class="{local-name(.)}"> - <xsl:call-template name="id"/> + <!-- don't put the ID here, it'll be generated on the table --> <xsl:call-template name="class"/> <xsl:choose> @@ -46,7 +46,7 @@ <xsl:with-param name="longdesc" select="db:textobject[not(db:phrase)]"/> <xsl:with-param name="object" as="element()"> <div class="{local-name(.)}"> - <xsl:call-template name="id"/> + <!-- don't put the ID here, it'll be generated on the table --> <xsl:call-template name="class"/> <xsl:choose> @@ -91,6 +91,7 @@ <xsl:element name="{local-name(..)}" namespace="{namespace-uri(..)}"> <xsl:copy-of select="../@*"/> + <xsl:copy-of select="../*[not(self::db:tgroup)]"/> <xsl:apply-templates select="." mode="m:cals-phase-1"/> </xsl:element> </xsl:variable> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |