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

Re^3: XPathing Up level

by mr_p (Scribe)
on Dec 04, 2010 at 05:52 UTC ( #875332=note: print w/ replies, xml ) Need Help??

in reply to Re^2: XPathing Up level
in thread XPathing Up level

Thanks so much. That worked perfectly.

One more question?

why is it ./Event//Country and not ./Event/Country, with single /?

Comment on Re^3: XPathing Up level
Replies are listed 'Best First'.
Re^4: XPathing Up level
by ikegami (Pope) on Dec 04, 2010 at 08:22 UTC

    A single slash would be sufficient. For that matter, the leading "./" is completely useless.

    my @titleCountry = $ca_isins->findnodes('Event/Country');

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2016-02-14 17:55 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (470 votes), past polls