This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: indexdiv/title not rendering in cleaned-up FO index
- From: Bob Stayton <bobs at sco dot com>
- To: "Paul A. Hoadley" <paulh at logicsquad dot net>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 17 Mar 2003 02:55:35 -0800
- Subject: Re: DOCBOOK-APPS: indexdiv/title not rendering in cleaned-up FO index
- References: <20030317081212.GE58303@grover.logicsquad.net>
On Mon, Mar 17, 2003 at 06:42:12PM +1030, Paul A. Hoadley wrote:
> Hello,
>
> I'm using the 1.60.0 XSL stylesheets. I've been using the
> fo/pdf2index script for the first time, following Bob Stayton's
> instructions at:
>
> http://www.sagehill.net/xml/docbookxsl/SolveProblems.html#GenerateIndex
>
> I have generated a standalone index, and I am including it in the
> source to the book as an entity. When I process the XML source for
> the final time with the entity in place, Saxon tells me that:
>
> No template for "/book/index/indexdiv/title" (or any of its leaves) exists
> in the context named "title" in the "en" localization.
> No template for "/book/index/indexdiv/title" (or any of its leaves) exists
> in the context named "title" in the "en" localization.
>
> And of course, I get no indexdiv/titles rendered. psgml confirms the
> structure is valid (after hand-pasting the index into the place where
> the entity is in the source). indexdiv/titles are rendered properly
> if I get the stylesheets to auto-generate an index. Is this a problem
> someone else has solved, or should I investigate this further?
Yes, this is a known problem. I saw it with xsltproc
as well. I haven't tracked down the cause of it yet.
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs at sco dot com