Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: XML parsing and Lists (xpathcontext)

by Anonymous Monk
on Jul 05, 2013 at 01:30 UTC ( #1042558=note: print w/ replies, xml ) Need Help??


in reply to Re^3: XML parsing and Lists
in thread XML parsing and Lists

well, you're not really using xpathcontext for anything, so it isn't required , this works

$dom->find('count(//Article//Sect//LI)' );


Comment on Re^4: XML parsing and Lists (xpathcontext)
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-08-23 12:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (173 votes), past polls