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

Re^3: XPATH Looping

by kcott (Abbot)
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


Comment on Re^3: XPATH Looping
Select or Download Code
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2014-10-31 09:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (216 votes), past polls