4 ms·
xmllint, for parsing any XML/HTML file using XPaths all from the commandline
by tetris11 3y ago
xmllint, for parsing any XML/HTML file using XPaths all from the commandline
- mdaniel 3y agoAlso, don't overlook xmlstarlet (MIT https://sourceforge.net/p/xmlstar/code/ci/1.6.1/tree/Copyright https://sourceforge.net/p/xmlstar/code/ci/1.6.1/tree/Copyrig...) which I love bunches because one can execute super complicated XSLT things, then tack the -C on the front of the invocation and it'll cheerfully emit the XSLT syntax for what you just did <https://xmlstar.sourceforge.net/doc/UG/ch04.html#idm47989546279904 https://xmlstar.sourceforge.net/doc/UG/ch04.html#idm47989546...> It has a ton of other fun tricks, too: https://xmlstar.sourceforge.net/overview.php https://xmlstar.sourceforge.net/overview.php