This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] index links for chunked HTMLbroken
- From: Dave Pawson <davep at dpawson dot co dot uk>
- To: Denis Bradford <denis dot bradford at verizon dot net>
- Cc: Docbook-Apps <docbook-apps at lists dot oasis-open dot org>
- Date: Sun, 09 Jan 2005 08:44:27 +0000
- Subject: Re: [docbook-apps] DOCBOOK-APPS: index links for chunked HTMLbroken
- References: <41E0712E.3060206@verizon.net>
- Reply-to: davep at dpawson dot co dot uk
On Sat, 2005-01-08 at 18:47 -0500, Denis Bradford wrote:
> Is the generated book index supposed to find HTML chunks when you create them
> in different directories from the root (using either the dbhtml PI
> or the use.id.as.filename param)?
>
>
> I have a document like this:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "docbookx.dtd" [
> <!ENTITY dummy SYSTEM "dummy.xml">
> <!ENTITY about SYSTEM "about.xml">
> <!ENTITY journal SYSTEM "journal/journal.xml">
> ]>
> <book>
> &dummy;
> &about;
> &journal;
> <index/>
> </book>
>
> No matter what I try, the index links include only the filename, not
> the path information, as in <a href="journal.html#content"
>
> Am I missing something, or do I need to customize the stylesheets?
I think you're missing something Denis.
The link should be to the HTML, which, by the looks of it,
is generated in the current directory,
not to the xml which is elsewhere?
HTH
--
Regards,
Dave Pawson
XSLT + Docbook FAQ
http://www.dpawson.co.uk