NAME

Apache::AxKit::Language::SpellCheck - XML Text Spell Checker

SYNOPSIS

AxAddStyleMap text/x-spell-check Apache::AxKit::Language::SpellCheck

Alias /spell/ /path/to/docroot
<Location /spell/>
    SetHandler axkit
    AxResetProcessors
    AxAddProcessor text/x-spell-check NULL
</Location>

SetHandler axkit
AxAddProcessor text/xsl           /stylesheets/scrub-xml.xsl
AxAddProcessor text/x-spell-check NULL
AxAddProcessor text/xsl           /stylesheets/display-html.xsl

DESCRIPTION

This language module processes an incoming XML document, either loaded from disk or returned from the previous pipeline stage, and processes its text nodes with Text::Aspell. It injects additional XML elements in the document representing which words are incorrectly spelled, and optionally offers spelling suggestions.

BUGS

  • Doesn't process attribute text

SEE ALSO

AxKit, Text::Aspell