[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Help needed on XSL
Hi, I have the following xsl file: <?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:import href="/usr/local/docbook-xsl-1.60.1/html/docbook.xsl"/> <xsl:param name="htmlID"/> <xsl:template match="/"> <html id="{$htmlID}"> <head> <title>testing only</title> </head> <body> <table id="mainText" width="100%"> <tbody> <tr> <td class="leftPadding"> <xsl:apply-templates/> </td> </tr> </tbody> </table> </body> </html> </xsl:template> <!-- This is to remove horizontal line above the title --> <xsl:template name="article.titlepage.separator"> </xsl:template> </xsl:stylesheet> What I am trying to do is: (1) Insert the value of $htmlID to html id (2) Create a table with the id value of "mainText" (3) Convert docbook xml into html that goes inside the above table. The above xsl is doing fine in simple document's case (sect1, para, list etc), but in the case of documents with table/s inside, process goes on and on. I am using saxon, and as Michael Kay, the creator of saxon, suggested, my xsl seems on a loop. Is there any thing wrong with my xsl file? Any help would be highly appreciated. Damar
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]