Quantcast
Channel: How do you output an attribute using Perl and XML::Simple - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by Borodin for How do you output an attribute using Perl and XML::Simple

This RSS feed may or may not have <author> information for each item.If there is no author then the element still appears in the XML but it has no content. It appears as...

View Article



Answer by Soz for How do you output an attribute using Perl and XML::Simple

You're very much on the right track. I've used your code on the newsfeed linked from this StackOverflow page, and adapted it very slightly. use LWP::Simple;use XML::Simple;use Data::Dumper;sub...

View Article

How do you output an attribute using Perl and XML::Simple

sub parse_xml{ my $xml_link = $_[0]; my $xml_content = get($xml_link) or warn "Cant get XML page of " . $xml_link . "\n"; if(!$xml_content){ return; } my $xml = XML::Simple->new(KeepRoot => 1);...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images