Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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 exploiting the Monastery: (13)
As of 2015-10-13 08:16 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (296 votes), past polls