xsl-list
[Top] [All Lists]

Re: Finding and processing index terms

2006-02-15 09:16:11
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(_at_)kosek(_dot_)cz     http://www.kosek.cz
------------------------------------------------------------------
  Profesionální školení a poradenství v oblasti technologií XML.
     Podívejte se na náš nově spuštěný web http://DocBook.cz
       Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                   Nejbližší termíny školení:
     ** XSLT 13.-16.3.2006 ** XML schémata 24.-26.4.2006 **
       ** DocBook 15.-17.5.2006 ** XSL-FO 12.-13.6.2006 **
------------------------------------------------------------------

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature