D4P transform - word 2 dita output file naming

Post here questions and problems related to editing and publishing DITA content.
oootini
Posts: 5
Joined: Thu Apr 21, 2016 1:55 pm

D4P transform - word 2 dita output file naming

Post by oootini »

Hi,

Getting to grips with the OOXML DOCX DITA transform. Wondering is there an easy way to customize the output dita file names and map references to be more "readable".

At the moment, i get output like topic1.dita, topic1_1.dit, topic1_2.dita, etc. It would be real nice if the file names reflected the topic titles for example.

I have no idea how feasible or not this is :D
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: D4P transform - word 2 dita output file naming

Post by Radu »

Hi,

You can search using the Oxygen Find/Replace in Files in the set of DITA for Publishers XSLTs:

OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins\net.sourceforge.dita4publishers.word2dita

and look where the parameter called fileNamePrefix is used. Not sure how easy what you want can be achieved though...
Maybe you could also ask around on the Yahoo Groups DITA Users List. Eliot Kimber, the maker of the DITA for Publishers project is registered on it and he may have more suggestions for you.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
oootini
Posts: 5
Joined: Thu Apr 21, 2016 1:55 pm

Re: D4P transform - word 2 dita output file naming

Post by oootini »

OK cool, thank you.
Post Reply