Return-Path: Delivered-To: apmail-forrest-user-archive@www.apache.org Received: (qmail 43292 invoked from network); 24 May 2006 22:57:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 May 2006 22:57:54 -0000 Received: (qmail 69864 invoked by uid 500); 24 May 2006 22:57:54 -0000 Delivered-To: apmail-forrest-user-archive@forrest.apache.org Received: (qmail 69650 invoked by uid 500); 24 May 2006 22:57:53 -0000 Mailing-List: contact user-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@forrest.apache.org List-Id: Delivered-To: mailing list user@forrest.apache.org Received: (qmail 69641 invoked by uid 99); 24 May 2006 22:57:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 May 2006 15:57:53 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of Eric.Johnson@iona.com designates 65.223.216.181 as permitted sender) Received: from [65.223.216.181] (HELO amereast-smg1.iona.com) (65.223.216.181) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 May 2006 15:57:52 -0700 Received: from amereast-ems2.IONAGLOBAL.COM ([10.65.6.84]) by amereast-smg1.iona.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id k4OMvUhh000086 for ; Wed, 24 May 2006 18:57:30 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Using Docbook Date: Wed, 24 May 2006 18:57:29 -0400 Message-ID: <244F5835C09CB641AE1D928BB2B0B9D802208885@amereast-ems2.IONAGLOBAL.COM> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Using Docbook Thread-Index: AcZ4qAVcNx+6x70oReCTTB2rdpKrdwG3HxHA From: "Johnson, Eric" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm using the sitemap that Brian suggested, but with a local copy of the stylesheets. Most of the transform works great there are a few bugs though: The document title gets repeated so if the source starts of like:
Foo ... The resulting HTML page from Forrest starts of: Foo ----- Foo All of the entries in the TOC are doubled up. So for each Bar ... The TOC entry is: BarBar All HTML generated from the and tags in docbook result in doubled up output. Is there a way to figure out if the errors are in the docbook xslt or in the Forrest xslt? Is there a way to fix this? Cheers, Eric > -----Original Message----- > From: Brian M Dube [mailto:brian.dube@gmail.com] > Sent: Tuesday, May 16, 2006 1:21 AM > To: user@forrest.apache.org > Subject: Re: Using Docbook >=20 > Johnson, Eric wrote: > > I'm trying to use docbook files as part of the source to Forrest (v7.0). > > I want to be able to use docbook and document v2.0. I've tried to get a > > match and transform working, but to date all I can get is an empty html > > file as output. > > > > Here is the match from my projects sitemap.xml: > > > > > > > > > > > > > src=3D"org.apache.forrest.sourcetype.SourceTypeAction"> > > > > > XML V4.1.2//EN" /> > > > > > > > > > > > > > name=3D"parameter" = src=3D"org.apache.cocoon.selection.ParameterSelector" /> > > > > > > > > > > > > > > > > > > > > > > > > > mime-type=3D"text/html"/> > > > > > > > > > > > > > > > > > > > /> > > > > > > > src=3D"http://docbook.sourceforge.net/release/xsl/current/html/docbook.xs= l > > " /> > > > > > > > > > > > > > > >=20 > The following worked for me, although I tested it with v0.8-dev. The > stylesheet naming convention has changed since v0.7 and I included the > backwards change in the pasted copy below, but I did not test this with > v0.7. >=20 > You may also want to use local copies of the DocBook stylesheets as well. >=20 >=20 > >=20 > > > src=3D"org.apache.forrest.sourcetype.SourceTypeAction"> > > V4.1.2//EN" /> > > > >=20 > > name=3D"parameter" > src=3D"org.apache.cocoon.selection.ParameterSelector" /> > > >=20 > > >=20 > > > > >=20 > > > > > > >=20 > > >=20 > > > value=3D"{sourcetype}" /> > > src=3D"http://docbook.sourceforge.net/release/xsl/current/html/docbook.xs= l " > /> > > > > > > > >=20 > > >