Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^3: XPATH Looping

by kcott (Canon)
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.
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
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994586]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2015-11-29 03:02 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (746 votes), past polls