Giuseppe P. wrote:

I have a question about the automatic rename of file .dita

For example I  have  a list as the following :

[screenshot showing topicrefs]

I would have an automatic way  to add to the all  files   , the title of

I'm sorry but I don't understand. Add what precisely?




the topics (for example   content_d0e11.dita, audience_d0e22.dita and so
on ); is it possible

Almost everything is possible provided that you write a few ".xed" and ".xslt" scripts adjusting the output of w2x to your needs.




and how much?

I'm sorry but I don't understand what you mean by "how much".




More generally, the "d0e11", "d0e22", etc, are automatically generated IDs added when a topic does not already have an ID. These IDs whether found on a topic or automatically added by "w2x_install_dir/xslt/topic.xslt" are used as the basenames of the generated ".dita" file.

Therefore the simplest is to use MS-Word to add bookmarks to all your headings.

If you cannot do that, another relatively simple solution is to write a ".xed" script automatically giving IDs of your choice to all the h1, h2, ..., h6 created by "w2x_install_dir/xed/headings.xed". (The h1, h2, ..., h6, are then converted topic titles.)

As already explained to your coworker, please understand that purchasing a 245 Euros product does not include a customization service for free. You are really expected to read the documentation:

Customizing the output of w2x
http://www.xmlmind.com/w2x/_distrib/doc/manual/index.html#customize

and write ".xed" and ".xslt" scripts adjusting the output of w2x to your needs.





---
PS: The style mapper found in to be released w2x-app 1.2 will not allow to solve the above problem.

--
XMLmind Word To XML Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/w2x-support

Reply via email to