Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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 /?

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://875332]
help
Chatterbox?
[jedikaiti]: Hi Monks
[GrandFather]: HI jedikaiti. Collected more 73p data this morning. Rubbish sky though. Seeing was between 5 and 9 arc seconds FWHM with thin cloud drifting through :(

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2017-02-20 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (302 votes). Check out past polls.