mpxml-read
Reads XML documents from standard input and converts them to sexprs using sxml, which are written to standard output.
Example
echo '<?xml version="1.1" charset="utf-8"?><a href="http://www.snell-pym.org.uk/"><Snell-Pym<!-- comment -->></a>' | mpxml-read (*TOP* (*PI* xml "version=\"1.1\" charset=\"utf-8\"") (a (@ (href "http://www.snell-pym.org.uk/")) "<Snell-Pym>"))