This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Producing an Index
- To: docbook at lists dot oasis-open dot org, kenw at ddd dot co dot za
- Subject: Re: DOCBOOK: Producing an Index
- From: Bob Stayton <bobs at caldera dot com>
- Date: Fri, 05 Oct 2001 02:18:46 -0700 (PDT)
- List-Id: <docbook.lists.oasis-open.org>
> From: Ken Walton <kenw@ddd.co.za>
>
> I am using DocBook 4.1.2. with Xalan and chunk.xsl to produce html files. Is
> there an application that can produce an index marked up in DocBook?
The chunk.xsl stylesheet is already set up to produce
an HTML index from the index entries in your document. All
you need to do is add an empty <index/> element to your
document. Your output will include an index HTML file.
If you look in chunk.xsl, you'll see that it first imports
'autoidx.xsl', which is a customization that does the
automatic indexing.
It doesn't produce a XML index file marked up in
Docbook xml, since it processes it entirely in memory from
the document tree. But you do get an HTML index
along with your other HTML output.
If that isn't what you want, and your really need
a DocBook XML index file, I think you would
have to write your own XSL stylesheet to do that.
bobs
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>