Extract elements and display the structure of an XML document. More information: https://xmlstar.sourceforge.net/docs.php.
xml elements path/to/input.xml|URI > path/to/elements.xpath
xml elements -a path/to/input.xml|URI > path/to/elements.xpath
xml elements -v path/to/input.xml|URI > path/to/elements.xpath
xml elements -u path/to/input.xml|URI
xml elements -d3 path/to/input.xml|URI
xml elements --help