in reply to Determine the structure of an XML document

see xml_pp, XML::LibXML::PrettyPrint, xpather.pl/htmltreexpather.pl

basically you tidy up the xml, then you print as_text/textContent/text depending on the moule you're using

  • Comment on Re: Determine the structure of an XML document

Replies are listed 'Best First'.
Re^2: Determine the structure of an XML document
by bangor (Monk) on May 13, 2014 at 02:59 UTC
    Thanks Anonymous Monk, XML::LibXML::PrettyPrint is exactly what I was looking for.