This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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" <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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]