This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Programlistingco creates table in HTMLHelp but not in XHTML
- From: Bob Stayton <bobs at sco dot com>
- To: Kenneth Johansson <ke-joh at sectra dot se>
- Cc: DOCBOOK-APPS <docbook-apps at lists dot oasis-open dot org>
- Date: Thu, 4 Sep 2003 08:35:25 -0700
- Subject: Re: [docbook-apps] Programlistingco creates table in HTMLHelp but not in XHTML
- References: <OF5F6E612B.8CDC109A-ONC1256D97.005167AD@sectra.se>
On Thu, Sep 04, 2003 at 04:50:44PM +0200, Kenneth Johansson wrote:
> From: "Kenneth Johansson" <ke-joh@sectra.se>
> To: "DOCBOOK-APPS" <docbook-apps@lists.oasis-open.org>
> 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: bobs@sco.com
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.