[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Finding and processing index terms


Subject: Re: [xsl] Finding and processing index terms
From: Jirka Kosek <jirka@xxxxxxxx>
Date: Wed, 15 Feb 2006 17:16:11 +0100

Dan Vint wrote:

> My difficulty is occurring in trying to get the embedded <indexterm>
> information for just those areas that are now in the membersOnly
> sections. So

I would recommend you to do this in two steps. During the first step
just filter content and then do real processing in the second stage.
This will significantly simplify things.

> I have a template that follows that gathers all the index terms together
> and try's to group them with the saxon:group function (I'm still using
> XSLT v1 at this point).

Generating index with all bells and whistles is not an easy task. I
would suggest you to convert your document to DocBook and use existing
stylesheets (http://docbook.sf.net/) that support both conditional
processing and indexes out-of-the box. It seems that your document can
be converted to DocBook in a pretty straightforward way.

				Jirka

--
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka@xxxxxxxx     http://www.kosek.cz
------------------------------------------------------------------
   Profesionalnm 9kolenm a poradenstvm v oblasti technologim XML.
      Podmvejte se na na9 novl spu9tln} web http://DocBook.cz
        Podrobn} pxehled 9kolenm http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                    Nejbli>9m termmny 9kolenm:
      ** XSLT 13.-16.3.2006 ** XML schimata 24.-26.4.2006 **
        ** DocBook 15.-17.5.2006 ** XSL-FO 12.-13.6.2006 **
------------------------------------------------------------------

[demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]


Current Thread
Keywords