xmlstarlet
« Back to VersTracker
Description:
XML command-line utilities
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: xml cli data-processing developer-tools text-processing
Install: brew install xmlstarlet
About:
XMLStarlet is a set of command-line utilities for processing XML data. It provides a robust suite of tools for transforming, querying, validating, and editing XML documents without requiring a graphical interface. This makes it an essential tool for automation scripts and server-side data processing.
Key Features:
  • Command-line XML processing toolkit
  • Supports XSLT transformations and XPath queries
  • XML validation against DTDs and XSD schemas
  • Format and edit XML documents programmatically
Use Cases:
  • Extracting specific data points from large XML logs or configuration files
  • Automating build pipelines by transforming XML data
  • Validating API responses or data exports against schemas
Alternatives:
  • xq (jq for XML) – Part of the yq package; focuses on querying and is often more concise for JSON-like extraction.
  • xmllint – Primarily focused on validation and linting, though it also supports XPath.
Version History
Detected Version Rev Change Commit
Sep 29, 2024 10:01pm 0 VERSION_BUMP 66f3d0c3