xsl file which creates eclipse help index.xml file

34 views
Skip to first unread message

Daniel Purnell

unread,
Apr 24, 2014, 2:22:45 PM4/24/14
to dita-o...@googlegroups.com
To whom it may concern:

Greetings! As the title implies, I am looking for the file in the DITA-OT which creates the file in Eclipse Help called index.xml. I use XmetaL 8 to generate eclipse help with DITA-OT, and the version of DITA-OT that comes with XMetaL 8 creates an index.xml file which has no line indentation (i.e., just 1 long line of xml). I sometimes need to edit these files, so having them generated indented would be a huge help. Thank to anyone in advance for any help they can provide.

Regards,
Dan  

Robert Echlin

unread,
Apr 29, 2014, 4:02:06 PM4/29/14
to dita-o...@googlegroups.com
This probably depends on the version of DITA OT.
I am using 1.5.4.

I think the index output is actually processed in dost.jar.
I had to change it, too.

I processed a list of topics based on, IIRC, the fullditatopiclist in temp/dita.list
I parsed the topics looking for keywords in the prolog that had an indexterm in them.
I generated output into a temp variable, with a copy to disk just for debugging, with the info I needed to create the index.xml file.
Then I processed that variable to get the summary data I needed in the index.xml file.

I had to override the Ant as well.
The target I needed to overwrite was dita.out.map.eclipse.index.

Reply all
Reply to author
Forward
0 new messages