forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: Help with sitemap.xmap - Docbook Plugin
Date Sat, 30 Oct 2004 07:42:28 GMT
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.

-- 
David Crossley


Mime
View raw message