.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.29) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{ . if \nF \{ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "XML_SPELLCHECK 1p" .TH XML_SPELLCHECK 1p "2016-08-04" "perl v5.22.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" xml_spellcheck \- spellcheck XML files .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 1 \& xml_spellcheck [options] .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" xml_spellcheck lets you spell check the content of an \s-1XML\s0 file. It extracts the text (the content of elements and optionally of attributes), call a spell checker on it and then recreates the \&\s-1XML\s0 document. .SH "OPTIONS" .IX Header "OPTIONS" Note that all options can be abbreviated to the first letter .IP "\-\-conf " 4 .IX Item "--conf " Gets the options from a configuration file. \s-1NOT IMPLEMENTED YET.\s0 .IP "\-\-spellchecker " 4 .IX Item "--spellchecker " The command to use for spell checking, including any option .Sp By default \f(CW\*(C`aspell \-c\*(C'\fR is used .IP "\-\-backup\-extension " 4 .IX Item "--backup-extension " By default the original file is saved with a \f(CW\*(C`.bak\*(C'\fR extension. This option changes the extension .IP "\-\-attributes" 4 .IX Item "--attributes" Spell check attribute content. By default attribute values are \s-1NOT\s0 spell checked. \s-1NOT YET IMPLEMENTED\s0 .IP "\-\-exclude_elements " 4 .IX Item "--exclude_elements " A list of elements that should not be spell checked .IP "\-\-include_elements " 4 .IX Item "--include_elements " A list of elements that should be spell checked (by default all elements are spell checked). .Sp \&\f(CW\*(C`\-\-exclude_elements\*(C'\fR and \f(CW\*(C`\-\-include_elements\*(C'\fR are mutually exclusive .IP "\-\-pretty_print " 4 .IX Item "--pretty_print " A pretty print style for the document, as defined in XML::Twig. If the option is provided without a value then the \f(CW\*(C`indented\*(C'\fR style is used .IP "\-\-version" 4 .IX Item "--version" Dislay the tool version and exit .IP "\-\-help" 4 .IX Item "--help" Display help message and exit .IP "\-\-man" 4 .IX Item "--man" Display longer help message and exit .SH "EXAMPLES" .IX Header "EXAMPLES" .SH "BUGS" .IX Header "BUGS" .SH "TODO" .IX Header "TODO" .IP "\-\-conf option" 4 .IX Item "--conf option" .PD 0 .IP "\-\-attribute option" 4 .IX Item "--attribute option" .PD .SH "PRE-REQUISITE" .IX Header "PRE-REQUISITE" XML::Twig, Getopt::Long, Pod::Usage, File::Temp XML::Twig requires XML::Parser. .SH "SEE ALSO" .IX Header "SEE ALSO" XML::Twig .SH "COPYRIGHT AND DISCLAIMER" .IX Header "COPYRIGHT AND DISCLAIMER" This program is Copyright 2003 by Michel Rodriguez .PP This program is free software; you can redistribute it and/or modify it under the terms of the Perl Artistic License or the \s-1GNU\s0 General Public License as published by the Free Software Foundation either version 2 of the License, or (at your option) any later version. .PP This program is distributed in the hope that it will be useful, but \&\s-1WITHOUT ANY WARRANTY\s0; without even the implied warranty of \s-1MER\- CHANTABILITY\s0 or \s-1FITNESS FOR A PARTICULAR PURPOSE. \s0 See the \s-1GNU\s0 General Public License for more details. .PP If you do not have a copy of the \s-1GNU\s0 General Public License write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, \s-1MA 02139, USA.\s0 .SH "AUTHOR" .IX Header "AUTHOR" Michel Rodriguez .PP xml_spellcheck is available at http://www.xmltwig.com/xmltwig/