Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
No such thing as a small change
 
PerlMonks  

Re^2: understanding XML::Parser

by rsiedl (Friar)
on Jul 17, 2006 at 03:13 UTC ( [id://561693]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 11: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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://561693]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.