Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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?
What's the matter? Cat got your tongue?...

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






    Results (295 votes). Check out past polls.