forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Wheller <>
Subject Using Docbook XSL's
Date Tue, 13 Apr 2004 12:12:49 GMT

I am new to forrest and enjoying it very much. However, I would like to find a 
solution to use the Norman Walsh stylesheets for HTML and FO 

I have read the FAQ, but I am afraid that this is very vague. It referenced to 
the sitemap.xmap and I am not sure that this has anything to do with my 
problem. Perhaps I am wrong. I have also searched the mail-archive, where I 
found a thread that almost made it clear to me, but when I try I get errors.

The problem is that I do NOT want Forrest to transform to Docbook XML 4.2 
content to the Apache XHTML. The stylesheets supplied with, forrest while 
doing a reasonable job, do not handle many of the docbook tags.

I have copied the *.xmap to documentation/

For HTML I have modified forrest.xmap to point to my local installation of 

The default forrest default is:
<map:when test="docbook-v4.2">
    <map:transform src="resources/stylesheets/docbook2document.xsl" />

After modification:
<map:when test="docbook-v4.2">
    <map:transform src="/usr/share/sgml/docbook/
docbook-xsl-stylesheets-1.61.3/html/docbook.xsl" />

When I run "forrest" in the project everything runs fine until it comes time 
to create the output. It exits with 

* [0]   1.432s 766b    favicon.ico
X [0]                       index.html  BROKEN: java.lang.NullPointerException
Total time: 0 minutes 20 seconds

/usr/local/forrest/ Java returned: 1

This is for HTML. Once I fix this problem I will move on to how to get PDF.

Any ideas what may be wrong.

Sean Wheller

View raw message