💾 Archived View for freeshell.de › tldr › xmllint.gmi captured on 2023-07-22 at 18:26:33. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

xmllint

XML parser and linter that supports XPath, a syntax for navigating XML trees.

More information.

xmllint --xpath "//{foo}" {source_file.xml}
xmllint --xpath "string(//{foo})" {source_file.xml}
xmllint --html --xpath "string(//a[2]/@href)" webpage.xhtml
xmllint --format {source_file.xml}
xmllint --valid {source_file.xml}
xmllint --dtdvalid {URL} {source_file.xml}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY