Reply to: Using xml:lang Values to Control Spell CheckingMay 26, 2010 at 12:35 pm
It works beautifully. Moreover, the performance gained by freeing XMetaL from the need to draw lines under so many words more than offsets any performance lost by doing the test. When I first started using XMetaL 6.0 with some real documents, the performance was noticeably worse than before unless I turned off the interactive spell checking. Now the performance is back to normal even with interactive spell checking on.
This will be great too in that it rewards the writer for doing semantic markup and l10n prep. We use a localize attribute to indicate whether the contents of an element should be translated. We programmatically add the localize attribute to certain elements, but the writer can override the default behavior by manually adding localize=”yes” or localize=”no” to an element.