forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Fabian Müller)
Subject Re: docbook documentation splittet in several chunk
Date Fri, 11 Nov 2005 15:15:20 GMT
Ross Gardler <> writes:

> OK, a single document, unskinned by Forrest. You never said you want
> it unskinned (or at least I never noticed).

To be sure what you mean by "skinned by Forrest" I created a photo
Well, I think that looks very nice and if it's possible to create a
page in this way I would like to do this.
But I am interested in how the unskinned way could be accomplished as

> However, because you want this unskinned you don't want Forrest
> processing your files at all. What you want is something like:
> <map:match pattern="mypattern.html">
>    <map generate="my/docbook.xml"/>
>    <map:transform src="my/docbook-to-XHTML.xsl"/>
>    <map:serialize type="html"/>
> </map:match>

I tryed several things but still cannot get it to work. I still use
absolute pathnames to eliminate the possibility to make a mistake with
the pathnames. But thanx for the advice Ross.

First I had to change <map generate="my/docbook.xml"/> in your example
to <map:generate src="my/docbook.xml"/>. The first version gives this
error message when I try to access the tutorial:

Invalid namespace '' at file:/home/fabian/homepages/

In my sitemap.xmap I tryed a lot of different configurations. Here is
one of them:

<map:sitemap xmlns:map="">
<map:match pattern="tutorial.html">
   <map:generate src="/home/fabian/homepages/"/>
   <map:transform src="/usr/share/apps/ksgmltools2/docbook/xsl/html/chunk.xsl"/>
   <map:serialize type="html"/>

When I try to access tutorial.html I get a blank page.
When I try to access index.html I get the following error message:

Must set a generator before setting serializer 'html' at [unknown location]

When I take out "<map:serialize/>" the error message disappears and
the blank page persists.
When I replace
I get the documentation in one page again.
I also tryed to replace
but it did not change anything.

I tryed a lot of other things but nothing worked.

BTW: Is it necassary to restart the Jetty server each time after I
made a change to sitemap.xmap?

Fabian Müller

View raw message