nix4 wrote:

> <sect1><title>titleA</title></sect1>

> To this:

>
<sect1><title>titleA</title><indexterm><primary>titleA</primary></indexterm>
> </sect1>

  Then you want to do 2 things when encountering a title: copy it and
create an indexterm:

    <xsl:template match="">
       <xsl:copy-of select="."/>
       <indexterm>
          <primary>
             <xsl:value-of select="."/>
          </primary>
       </indexterm>
    </xsl:template>

  For the overall architecture of the stylesheet, I guess you want to
use the Modified Identity Transform pattern.

  Regards,

--drkm



















      
_____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to