Dr. Martin Goik wrote:
> I frequently use <code> or <tag> elements in my Docbook docs. The
> contained text for example in a <tag class="starttag">cydxfceds</tag> is
> flagged by xmlmind as a spell checking error. Is there a way e.g. by
> setting attributes to manually exclude element content from spell checking?
> 

Please, edit XXE_install_dir/addon/config/docbook5/docbook5.xxe using a 
text editor and add "db:code db:tag" to skippedElements="...".

This gives:
---
   <cfg:spellCheckOptions xmlns=""
     useAutomaticSpellChecker="true"
     languageAttribute="xml:lang"
     skippedElements="db:address db:funcsynopsisinfo db:classsynopsisinfo
                      db:literallayout db:programlisting db:screen
                      db:synopsis
                      db:code db:tag xi:include" />
---

This is clearly an omission from our part (i.e. it doesn't make sense to 
spell check code and tag). I've fixed it in both the DocBook 4 (code, 
sgmltag) and DocBook 5 (code, tag) configurations bundled with XXE v3.7.0.


Reply via email to