OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Extra <div> under headings in chunked


On Thu, May 08, 2003 at 09:04:55PM -0500, David Pratt wrote:
> I am chunking xhtml output using 1.60.1 and now 1.61.0 and get an 
> extra set of <div> just following each heading. 
> 
> This occurs in both xhtml or html versions using the chunk.xsl 
> 
> I have been through the sections.xsl where this all seems to be 
> occuring but can't identify the source of the extra element to correct 
> this in a customization. 
> 
> Assistance appreciated. 
> 
> The output looks like this: 
> 
>               <div class="titlepage"> 
>                 <div> 
>                   <div> 
>                     <h3 class="title"><a 
> id="id520476"></a>2.1.1. Overview of Chapter 2</h3> 
>                   </div> 
>                 </div> 
>                 <div></div>  <-- this is the element set I want to 
> remove 
>               </div> 
> 

The titlepages are driven by the templates
in titlepage.templates.xsl.  In this case:

<xsl:template name="section.titlepage">
  <div class="titlepage">
    <div>
    <xsl:call-template name="section.titlepage.before.recto"/>
    <xsl:call-template name="section.titlepage.recto"/>
    </div>
    <div>
    <xsl:call-template name="section.titlepage.before.verso"/>
    <xsl:call-template name="section.titlepage.verso"/>
    </div>
    <xsl:call-template name="section.titlepage.separator"/>
  </div>
</xsl:template>

The empty div is the 'verso' processing, which is
generally useless in HTML processing since there are
no page sides.  But it does add an empty div.

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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]