Next in thread → Next in month →

Re: [docbook-apps] Programlistingco creates table in HTMLHelp but not in XHTML

From
Bob Stayton <>
Date
2003-09-04T16:10:00+00:00
ID
Thread
Re: [docbook-apps] Programlistingco creates table in HTMLHelp but not in XHTML
On Thu, Sep 04, 2003 at 04:50:44PM +0200, Kenneth Johansson wrote:
> From: "Kenneth Johansson" <>
> To: "DOCBOOK-APPS" <>
> Subject: Programlistingco creates table in HTMLHelp but not in XHTML
> Date: Thu, 4 Sep 2003 16:50:44 +0200
> 
> This mail was caught by SpamAssassin before. I'll try to send it again.
> 
> Why isn't it the same in HTMLHelp and XHTML?
> 
> For HTMLHelp I use Saxon with a customized template: java
> com.icl.saxon.StyleSheet writing-documentation.xml
> ./../lib/docbook-xsl/custom_stylesheets/stylesheets/htmlhelp/customhtmlhelp
> .xsl html.stylesheet=docbook.css use.extensions=1
> 
> For XHTML I use Saxon with the standard docbook-template.
> 
> HTMLHelp:
> <div class="programlistingco"><table border="0"
> bgcolor="#ffffff"><tr><td><pre class="programlisting">sub do_nothing_useful
> {
>     my($a, $b, $c);
> 
>     $a = new A;  </pre></td></tr></table> <span class="co"><img
> src="/images/callouts/1.png" alt="(1)"></span>
> .....
> 
> 
> XHTML:
> <div class="programlistingco"><pre class="programlisting">sub
> do_nothing_useful {
>     my($a, $b, $c);
> 
>     $a = new A;              <span xmlns="" class="co"><img
> src="images/callouts/1.png" alt="(1)"/></span>
> .....

I can't duplicate this problem.  When I process a programlistingco
with htmlhelp/htmlhelp.xsl, I get the same as XHTML:

<div class="programlistingco"><pre class="programlisting">

The <table> element is used for the calloutlist below the
<pre> in both cases.  

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: 
Next in thread → Next in month →