in reply to Re: understanding XML::Parser
in thread understanding XML::Parser

Thanks.

Is there an easier way to get a value if I know only the name of the element?

For example: if i want the value of count which resides in search_results?

Replies are listed 'Best First'.
Re^3: understanding XML::Parser
by Tanktalus (Canon) on Jul 17, 2006 at 15:54 UTC

    Based on my XML decision tree, you may want to use a technology that abstracts the XML tree such that it gives you XPath capabilities. I just load the entire XML file into memory, then ask the object to give me the elements that match my criteria.