Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: XPATH Looping

by kcott (Chancellor)
on Sep 20, 2012 at 05:45 UTC ( #994586=note: print w/replies, xml ) Need Help??


in reply to Re^2: XPATH Looping
in thread XPATH Looping

choroba++ has provided the solution below.

Here's a couple of links you may find useful:

XML Path Language (XPath)
This shows the syntax from the W3C Recommendation. Note the difference between //path and .//path.
XML::XPath - MANIFEST
This has numerous examples of usage. In the past, I've found the code in the t/ directory particularly useful.

-- Ken

Replies are listed 'Best First'.
Re^4: XPATH Looping
by medirecpr (Novice) on Sep 20, 2012 at 11:12 UTC
    I will be reviewing the links today. Also super exited about mastering XML parsing. My intent is to save this information into a database, and then creating an interface for the reports. Thank you for your help!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994586]
help
Chatterbox?
[Corion]: At least back in the day Firefox (well, Netscape) used to cache the DNS itself because there was no OS API to asynchronously resolve names (?) Maybe that code still lives on
[Corion]: Mhmm. Our datawarehouse is named after the department, except that the department changed its name one year ago. Now I guess I'm looking for the moral equivalent of "THE Datawarehouse", where "THE" stands for "Traditional High-valued Expertise" ;)

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2017-07-26 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (386 votes). Check out past polls.