XMLSTARLET(1)
XMLSTARLET(1) ๐ฆ
Okay bestie, welcome to the XMLSTARLET(1) manual โ aka the whole XMLStarlet situation โ and I promise we're gonna make it make sense ๐
โจ
โจ NAME โจ
xmlstarlet โ command line XML/XSLT toolkit. Periodt. ๐
๐ SYNOPSIS ๐
xml [options...] {command} [cmd-options...]
๐ธ INTRODUCTION ๐ธ
XMLStarlet is literally a set of command line utilities (tools) that can transform, query, validate, and edit XML documents and files using a simple set of shell commands โ in a similar way to how it's done for plain text files with UNIX grep, sed, awk, diff, patch, join, etc. commands. Yes, the whole iconic text-tool energy but for XML ๐ซถ
This set of command line utilities can be used by those who deal with many XML documents on a UNIX shell command prompt, as well as for automated XML processing with shell scripts. Main character energy for your terminal, no cap ๐
๐ OPTIONS ๐
--versionโ Display the version ofxmlstarlet.--helpโ Display help.
๐ COMMANDS ๐
Pro tip, bestie: xml command --help gives you command-specific help โจ
Available commands include:
ed(oredit) โ Edit/update XML document(s).sel(orselect) โ Select data or query XML document(s) (XPATH, etc).tr(ortransform) โ Transform XML documents(s) using XSLT.val(orvalidate) โ Validate XML document(s) (well-formed/DTD/XSD/RelaxNG).fo(orformat) โ Format XML document(s).el(orelements) โ Display element structure of XML document.c14n(orcanonic) โ XML canonicalization.ls(orlist) โ List directory as XML.esc(orescape) โ Escape special XML characters.unesc(orunescape) โ Unescape special XML characters.pyx(orxmln) โ Convert XML into PYX format (based on ESIS - ISO 8879).p2x(ordepyx) โ Convert PYX into XML.
๐ REFERENCES ๐
XMLStarlet is a command line toolkit to query/edit/check/transform XML documents (for more information see http://xmlstar.sourceforge.net/). Go browse, bestie ๐ฆ
๐ BUGS ๐
Report bugs to the mailing list, <xmlstar-devel@lists.sourceforge.net>, or the bug tracker: http://sourceforge.net/tracker/?group_id=66612&atid=515106. Not me being dramatic, but bugs deserve their moment too ๐ญ
๐ AUTHOR ๐
Mikhail Grushinskiy โ XMLStarlet creator.
๐ COPYRIGHT ๐
Copyright ยฉ 2012.
This iconic page is from the XMLStarlet Manual, version 1.7.0, dated 09/07/2026 โ mwah, byeee ๐๐โจ
๐ฆ where this page comes from
- arch rolling: xmlstarlet 1.7.0-1 ยท MIT
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms