in reply to How do I traverse the data struct returned from parsing an XML::Parse 'Tree'?

The canonical way to extract parts of XML, tags or data is to use XPath.

Perl as an implementation of XPath in XML::XPath, XML::LibXML, XML::Twig and probably a few more.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

  • Comment on Re: How do I traverse the data struct returned from parsing an XML::Parse 'Tree'?

Replies are listed 'Best First'.
Re^2: How do I traverse the data struct returned from parsing an XML::Parse 'Tree'?
by Anonymous Monk on Mar 08, 2011 at 21:10 UTC
    thanks! XML::XPath does what I need to do.