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: map:transform to docbook xsl
Date Mon, 04 Oct 2004 13:54:09 GMT
On Monday 04 October 2004 09:10, David Crossley wrote:
> > > David Crossley wrote:
> > > > Add an extra transformation after the DocBook one to use
> > > > core/context/resources/stylesheets/html2document.xsl
> > >
> > > You might also need ...<map:serialize type="html"/>
> >
> > Will test this.

David,

Adding another map:transform does nothing but bring up a part of the HTML 
output from the docbook.xsl

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 
Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<document>
<header>
<title>XML Solves Tech Publishing Problems</title> <!-- <meta content="DocBook

XSL Stylesheets V1.64.1" name="generator"> --> </header>
<body></body>
</document>

As you see BODY is blank.

The sitemap looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
    <map:pipelines>
        <map:pipeline>
            <map:match pattern="db-*.html">
                <map:generate src="{project:content.xdocs}db-{1}.xml"/>
                <map:transform 
src="/usr/share/xml/docbook/stylesheet/nwalsh/1.64.1/html/docbook.xsl"/>
                <map:transform 
src="/home/sean/projects/forrest/src/core/context/resources/stylesheets/html2document.xsl"/>
                <map:serialize type="html"/>
            </map:match>
        </map:pipeline>
    </map:pipelines>
</map:sitemap>

Did you mean to add the map:transform here?

The aim here is to have a document with all forrest adorning.
I have tried several configurations with a seed project sitemap, but nothing 
happens.

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

Mime
View raw message