Re: [xep-support] creating index with XEP extensions

From: Eliot Kimber <ekimber@innodata-isogen.com>
Date: Fri Apr 08 2005 - 13:59:37 PDT

Bob Stayton wrote:
> It is likely that there are situations in your
> stylesheet where the indexterm is not outputting its anchor for some reason.
> Perhaps indexterm in certain element templates is not reached, or a template
> handles certain children but not others.

A real common cause of this bug is using value-of when you should be
using apply-templates. As a rule, you should only use value-of to
process element content when you are 100% sure it will never have
subelements, and since you can't guarantee that, the implication is that
you should never use value-of to process PCDATA content :-)

Another likely source of bugs is processing content in a different mode
in which the index processing has not been accounted for.

Cheers,

Eliot

-- 
W. Eliot Kimber
Professional Services
Innodata Isogen
9390 Research Blvd, #410
Austin, TX 78759
(512) 372-8155
ekimber@innodata-isogen.com
www.innodata-isogen.com
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
Received on Fri Apr 8 14:33:44 2005

This archive was generated by hypermail 2.1.8 : Fri Apr 08 2005 - 14:33:46 PDT