I really needed something like `jq`, but for XML (i.e. XPath). A quick look at the Debian repos told me they provide `xmlstarlet`, and it's exactly that.
E.g., to extract all URLs from an Internet Archive collection RSS feed:
`xmlstarlet sel -t -v "/rss/channel/item/enclosure/@url" collection.rss`
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!