Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: XML parsing with XML::Rules

by Khen1950fx (Canon)
on Jun 16, 2013 at 03:30 UTC ( #1039173=note: print w/replies, xml ) Need Help??


in reply to XML parsing with XML::Rules

Your problem area appears to be missing
$parser->parse_chunk($summary)
Adding that to the mix:
my $summary = $quake->get("summary"); print $summary; $parser->parse_chunk($summary); while ( $summary = read_chunk_of_data() ) { $parser->parse_chunk($summary); } my $data = $parser->last_chunk(); my $dd = $data->get("dd"); print $dd, "\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1039173]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2016-12-10 06:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (160 votes). Check out past polls.