forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: Docbook instead of document-v11?
Date Wed, 19 Feb 2003 10:09:09 GMT
On Wed, Feb 19, 2003 at 12:35:10AM -0800, Nick Chalko wrote:
> I tried this to get docbook to use the standard docbook stylesheets but 
> no luck

Try adding:

> <!-- if the file is present as dbk, use the docbook stylesheets... -->
>            <map:act type="resource-exists">
>               <map:parameter name="url" value="content/xdocs/{1}.dbk" />
>               <map:generate src="content/xdocs/{../1}.dbk" />

                <map:serialize type="xml"/>

>               <map:transform 
> src="file://P:/xml/docbook-xsl-1.60.1/docbook-xsl-1.60.1/xhtml/docbook.xsl" 
> />
>               <map:transform src="library/xslt/html2htmlbody.xsl" />
>               <map:transform type="linkrewriter" src="cocoon:/linkmap" />
>               <map:serialize type="xml" />
>            </map:act>


And then request http://localhost:8080/forrest/body-index.xml and see
what the intermediate XML output is.  If it looks good, move the
serializer down one.  I suspect that path is wrong..

Or talk Nicola into committing his Docbook stuff into into a branch.

--Jeff

 
> Any Ideas?
> 
> I don't really know what I am doing. but I am trying.
> 
> R,
> Nick
> 

Mime
View raw message