Re: [docbook-apps] Auto-generating an index

From
Thomas Schraitle <>
Date
2011-02-04T13:01:39+00:00
ID
1477980845.5981728.1296824489575.JavaMail.fmail@mwmweb025
Thread
Re: [docbook-apps] Auto-generating an index
Hi,

>On Fri, Feb 4, 2011 at 06:20, Ron Catterall <> wrote:
> [...]
>> If the text  already exists you could of course do a global search and
>> replace on your text:
>
>Thanks, Ron.  That's the point: the text already exists, and the
>original bulk of it (not my responsibility then) I converted from html
>to DB, so no index markup.  I have to go through it and add DB index
>markup.  I'm doing what you suggest but more auto via a Perl script--a
>rough cut to be sure but it should save some effort.

Why not using a XSLT stylesheet? In that case you can just add your
indexterms to whatever elements you need.
As you have to go through it anyway, you can just add some 
condition="noidx" as I've suggested in one of my last mails.

Tom