XML_SPELLCHECK(1)
π XML_SPELLCHECK(1) β the girlies' guide to spellchecking XML β¨
ok so first things first, this is a User Contributed Perl Documentation page for xml_spellcheck, and it's genuinely one of those little tools that just does the thing π grab a snack, we're going in.
β¨ NAME β¨
xml_spellcheck β spellcheck XML files, bestie. that's it, that's the vibe π
π¦ SYNOPSIS π¦
xml_spellcheck [options] <files>
options go first, then your files. iconic. no notes. β
πΈ DESCRIPTION πΈ
okay so xml_spellcheck lets you spell check the content of an XML file. like, the actual words inside your markup, not the markup itself π«Ά
here's the little routine it does, in order:
- it extracts the text β the content of elements, and optionally of attributes
- it calls a spell checker on that text
- it recreates the XML document for you
that's the whole personality and honestly? we love a single-purpose icon π
π OPTIONS π
heads up bestie: all options can be abbreviated to the first letter. yes, all of them. iykyk π
--conf <configuration_file>β gets the options from a configuration file. NOT IMPLEMENTED YET π so don't come for me if it doesn't work.--spellchecker <spellchecker>β the command to use for spell checking, including any option you want to pass it. by defaultaspell -cis used β¨--backup-extension <extension>β by default the original file is saved with a.bakextension, and this option changes the extension. protect the original, always π«Ά--attributesβ spell check attribute content. by default attribute values are NOT spell checked. also NOT YET IMPLEMENTED π--exclude_elements <list_of_excluded_elements>β a list of elements that should not be spell checked. leave them alone, they're fine π--include_elements <list_of_included_elements>β a list of elements that should be spell checked (by default all elements are spell checked). very "you're in the group chat" of you π--pretty_print <optional_pretty_print_style>β a pretty print style for the document, as defined inXML::Twig. if you provide the option with no value, then theindentedstyle is used. make it cute π--versionβ display the tool version and exit π--helpβ display help message and exit--manβ display longer help message and exit (the deluxe edition π )
lowkey important:--exclude_elementsand--include_elementsare mutually exclusive. pick a lane bestie, you cannot have both π€
π§ EXAMPLES π§
ok so this section is literally empty in the original. nothing here. a blank canvas. the examples are left as an exercise for the reader, and honestly? main character energy β¨
π BUGS π
also empty. no bugs documented, which is either slay or suspicious and we're choosing slay π«Ά
β TODO β
the to-do list, periodt:
--confoption--attributeoption
(yeah, both of those are the not-yet-implemented ones from up top. it's giving "coming soon" π)
π PRE-REQUISITE π
you're gonna need these bestie:
XML::TwigGetopt::LongPod::UsageFile::Temp
and heads up β XML::Twig requires XML::Parser. so like, install accordingly π₯
π SEE ALSO π
XML::Twigβ go read it, it's the whole foundation of this little operation π
π COPYRIGHT AND DISCLAIMER π
This program is Copyright 2003 by Michel Rodriguez π
This program is free software; you can redistribute it and/or modify it under the terms of the Perl Artistic License or the GNU General Public License as published by the Free Software Foundation either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. π (yes the original breaks "MER-CHANTABILITY" across lines, that's a hyphenation artifact, the word is MERCHANTABILITY, we're not out here inventing new words π)
If you do not have a copy of the GNU General Public License write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. π¬
π AUTHOR π
Michel Rodriguez <mirod@xmltwig.com>
xml_spellcheck is available at http://www.xmltwig.com/xmltwig/ πΈ
and that's the page!! mwah π this was rendered by perl v5.42.0, dated 2025-01-16 β go forth and spellcheck your XML, bestie, you're gonna ate π«Άβ¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-XML-Twig 3.530.0-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms