Skip to main content
hadih26673991
Inspiring
Dec 12, 2019 4:39 PM UTC
Question

Where is the best position to insert indexterm elements?

I am having issues with indexterm elements in DITA 1.3. Apparently and in general, one should use the prolog to place his/her indexterm elements. FrameMaker lets me do that but after publishing the ditamap, my index page is empty! Now if I place the indexterms in the body of for instance paragraph elements, the indexes appear properly. But I am worried it is going to cause problems lateron in translation.

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

hadih26673991
Inspiring
Dec 13, 2019 8:22 AM UTC

Thanks Jeff. Yes I am using FM.

Translate
Jeff_Coatsworth
Community Expert
Community Expert
Dec 12, 2019 4:59 PM UTC

Ok, I'm 99% sure you're using FM and not the discontinued XML Author program, so I've edited your tags to reflect that.

Translate
frameexpert
Community Expert
Community Expert
Dec 12, 2019 4:50 PM UTC

I hate to answer a question with a question, but I not sure about this. Can an XSLT transform be applied during the publishing process? If so, a simple XSLT stylesheet could be used to move the indexterm elements from the prolog to the body just for the output file. But I am not sure if there is a way to apply a transform at the publishing process.

Translate
www.frameexpert.com
Adobe Employee
Dec 13, 2019 5:13 AM UTC

@frameexpert

Rick, you could capture the pre-publish event and then use an extendscript to run the required XSLT as required. That can easily be achieved.

 

thanks,

Amitoj Singh

 

Translate