forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Wheller <s...@inwords.co.za>
Subject Re: Help with sitemap.xmap - Docbook Plugin
Date Sat, 30 Oct 2004 08:51:02 GMT
On Saturday 30 October 2004 09:42, David Crossley wrote:
> Sean Wheller wrote:
> > Ok Ross,
> >
> > My map:transform is now like this:
> >
> > <map:resources>
> >         <map:resource name="transform-to-xhtml">
> >             <map:act type="sourcetype" src="{src}">
> >                 <map:select type="parameter">
> >                     <map:parameter name="parameter-selector-test"
> > value="{sourcetype}"/>
> >                     <map:when test="docbook-v4.3">
> >                         <map:transform
> > src="{forrest:plugins}/docbook/resources/stylesheets/1.66.1/html/docbook.
> >xsl"/> <map:transform
> > src="{forrest:stylesheets}/html2document.xsl"/>
> >                        
> >                     </map:when>
> >                     <map:otherwise/>
> >                 </map:select>
> >             </map:act>
> >         </map:resource>
> >     </map:resources>
> >
> > I get a title only in the body.
>
> I remember answering this one or two weeks ago.
> The trouble i saw was that the docbook.xsl wraps
> the whole content in div elements. I thought of inserting
> a little stylesheet before html2document, to strip those
> outer divs. Alas, no time to experiment.

 Yes you're right. However, Do you really want to strip the "div" elements. 
Doing that breaks the CSS provided with docbook.

If we are able to go the route of DB -> XHTML1.0 then I don't think it is 
worth breaking the CSS. Let me know what is required in order to use XHTML1.0 
instead of Document and I will start hacking it.

-- 
Sean Wheller
Technical Author
sean@inwords.co.za
http://www.inwords.co.za

Mime
View raw message