On 07/22/2010 08:56 AM, Nikolay Rastegaev wrote: > When I create new DITA topic, I need that topic ID value is became the > same as topic file name automaticaly. > Could I program plugin or something else to XMLmind XML Editor on Java > myself, or only you could implement this feature? >
This feature is already implemented in next version (4.6.1 to be released at the end of this month). However it works slightly differently than what's described above. A topic is automatically given an ID based on the basename of the file which contains it, if, when you *save* this topic to disk, this ID is missing or invalid (e.g. id="???"). The basic idea is to let some authors assign an ID of their own before automatically generating one for them. FYI, this feature is implemented using a ValidateHook, which is part of the public, documented, API of XMLmind XML Editor. See http://www.xmlmind.com/xmleditor/_distrib/doc/dev/validatehook.html See http://www.xmlmind.com/xmleditor/_distrib/doc/api/com/xmlmind/xmleditapp/validatehook/package-summary.html > Sincerely, > Nikolay Rastegaev, > XMLmind XML Editor russian translator. > > -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

