Hi,
It is me again.
When I try the conversion with docbook.xsl directly, I got the same
result. I means it is either the problem of docbook.xsl itself or my xml
structure. As a newbie, I assume it is my xml structure. The following
is my table structure that is causing the problem:
<table>
<title></title>
<tgroup cols="2">
<tbody>
<row>
<entry>File Type</entry>
<entry>Owner attributes</entry>
<entry>Group attributes</entry>
<entry>Other atributes</entry>
</row>
<row>
<entry>-</entry>
<entry>rw-</entry>
<entry>rw-</entry>
<entry>r--</entry>
</row>
</tbody>
</tgroup>
</table>
Is my table structure correct?
Thanks,
Damar
damar thapa wrote:
> 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
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
>
>