xml_spellcheck(1p)

xml_spellcheck1p

Spellcheck xml files

Usage

xml_spellcheck [options] <files>

Overview

xml_spellcheck lets you spell check the content of an XML file. It extracts the text (the content of elements and optionally of attributes), call a spell checker on it and then recreates the XML document.

Options

Note that all options can be abbreviated to the first letter

--conf <configuration_file>

Gets the options from a configuration file. NOT IMPLEMENTED YET.

--spellchecker <spellchecker>

The command to use for spell checking, including any option

By default "aspell -c" is used

--backup-extension <extension>

By default the original file is saved with a ".bak" extension. This option changes the extension

--attributes

Spell check attribute content. By default attribute values are NOT spell checked. NOT YET IMPLEMENTED

--exclude_elements <list_of_excluded_elements>

A list of elements that should not be spell checked

--include_elements <list_of_included_elements>

A list of elements that should be spell checked (by default all elements are spell checked).

"--exclude_elements" and "--include_elements" are mutually exclusive

--pretty_print <optional_pretty_print_style>

A pretty print style for the document, as defined in XML::Twig. If the option is provided without a value then the "indented" style is used

--version

Dislay the tool version and exit

--help

Display help message and exit

--man

Display longer help message and exit

Examples

Todo

--conf option
--attribute option

Pre-requisite

XML::Twig, Getopt::Long, Pod::Usage, File::Temp XML::Twig requires XML::Parser.

Releases

10 releases since Debian 5.0 (Lenny); the text changed 9 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11
  8. 12
  9. 13
  10. Arch

Bugs

Author

Michel Rodriguez <[email protected]>

xml_spellcheck is available at http://www.xmltwig.com/xmltwig/

From perl-xml-twig 3.55-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.