Skip to main content
hadih26673991
Inspiring
December 12, 2019
質問

Where is the best position to insert indexterm elements?

  • December 12, 2019
  • 返信数 3.
  • 529 ビュー

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.

このトピックへの返信は締め切られました。

返信数 3

hadih26673991
hadih26673991作成者
Inspiring
December 13, 2019

Thanks Jeff. Yes I am using FM.

Jeff_Coatsworth
Community Expert
Community Expert
December 12, 2019

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.

frameexpert
Community Expert
Community Expert
December 12, 2019

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.

www.frameexpert.com
Adobe Employee
December 13, 2019

@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