Mariusz Idzikowski wrote: > > I wonder if it would be possible to change the spell checking > algorithm to recognize also the default and fixed language attributes > defined in a DTD or schema? I work with multilanguage documents in > which the name of a particular element explicitly determines the > language of its content. Adding a lang attribute and setting it to the > correct language for each element is out of the question because of the > size and complexity of the documents. It would be nice to set the > language for each element once in the DTD. >
Just an idea. You don't need to specify by hand the language of each newly inserted element. [1] Insert an element. [2] Specify its language by hand. This is done once for all. [3] Select the element. [4] Use "Options > Customize Configuration > Save Selected Element As Template" to make it a (possibly named; possibly default) element template. (Of course, this implies that you have created an XXE configuration for you custom DTD.) After that, each time you'll insert this element, it will have the right language. See http://www.xmlmind.com/xmleditor/_distrib/doc/help/optionsMenu.html#customizeConfigurationMenu See http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.kit.part.SaveElementAsTemplateAction.Prompt.html

