XML_SPELLCHECK(1p)
π XML_SPELLCHECK π
okay bestie, gather round, because today we're talking about xml_spellcheck, and it lives in section 1p of the manual (that's the "user contributed perl docs" corner of the library, iykyk). This little icon is a spell checker for XML files, and honestly? she's giving "quietly does the most" and I'm obsessed. π
β¨ NAME β¨
xml_spellcheck β spellcheck XML files π
πΈ SYNOPSIS πΈ
xml_spellcheck [options] <files>
like... that's it. options, then your files. simple. gorgeous. no notes. β¨
π¦ DESCRIPTION π¦
So here's the whole vibe: xml_spellcheck lets you spell check the content of an XML file. Not the tags, not the markup chaos, just the words, bestie. π
The way it works is literally a three-step glow-up:
- it extracts the text β that's the content of elements, and optionally the content of attributes if you ask nicely
- it calls a spell checker on that text
- it recreates the XML document
extract, spell check, rebuild. main character energy fr fr. π₯
π OPTIONS π
heads up bestie: all options can be abbreviated to the first letter π so like, you don't have to type the whole thing if you don't want to. lowkey convenient.
--conf<configuration_file> β gets the options from a configuration file. NOT IMPLEMENTED YET. π she's a concept, she's an idea, she's not here yet.--spellchecker<spellchecker> β the command to use for spell checking, including any option. by defaultaspell -cis used. so that's the default, no cap. π--backup-extension<extension> β by default the original file is saved with a.bakextension. this option changes the extension. your original file is safe, she's backed up, she's protected. π«Ά--attributesβ spell check attribute content. by default attribute values are NOT spell checked. and also NOT YET IMPLEMENTED. π--exclude_elements<list_of_excluded_elements> β a list of elements that should not be spell checked. bye bestie, not you. π--include_elements<list_of_included_elements> β a list of elements that should be spell checked (by default all elements are spell checked). β¨--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. so she gets a lil makeover, indented and everything. π--versionβ display the tool version and exit--helpβ display help message and exit--manβ display longer help message and exit
π¨ mutual exclusivity alert π¨--exclude_elementsand--include_elementsare mutually exclusive. you pick one, bestie, you cannot have both, that's the rules. β
π EXAMPLES π
(okay so this section is literally empty in the original. nothing here. a beautiful blank canvas. the silence is iconic tbh. π€«)
π BUGS π
(same situation bestie β nothing listed. she's bug-free as far as this page is concerned. manifesting that energy for all of us. π)
π TODO π
things that are coming (eventually, allegedly, someday, we believe):
--confoption--attributeoption
the vision is there, the code is loading... π§β¨
π PRE-REQUISITE π
you're gonna need these installed, bestie, no skipping:
XML::TwigGetopt::LongPod::UsageFile::Temp
and plot twist: XML::Twig requires XML::Parser. so like, get that too, or nothing works. π
π SEE ALSO π
XML::Twig
π 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.
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.
okay real talk for a sec: that warranty disclaimer is not a joke and not a vibe, it means exactly what it says. no promises, no guarantees, she's free software doing her best. π«Ά
π AUTHOR π
Michel Rodriguez <mirod@xmltwig.com>
xml_spellcheck is available at http://www.xmltwig.com/xmltwig/ β¨
and that's the whole page, bestie!! this doc came to you from perl v5.40.1 and it's dated 2025-12-18, under the manual name XML_SPELLCHECK(1p). mwah, go spell check something gorgeous. π
ππ
π¦ where this page comes from
- ubuntu resolute: xml-twig-tools 1:3.54-1build1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: xml-twig-tools 1:3.54-1build1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms