Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 cooling their heels in the Monastery: (10)
As of 2015-07-07 16:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (91 votes), past polls