Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Parsing XML with XML::Simple

by madbombX (Hermit)
on Dec 18, 2006 at 00:41 UTC ( #590364=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    $Id:,v 1.1 2006-12-17 19:25:03 eric Exp $
  2. or download this
    $VAR1 = \{
                'CVS' => '<The entire file and this is the only tag in the
    + hash with no other tags even making it in here>'};
  3. or download this
       foreach my $file (@articles) {
         my $article = XMLin($file, NoAttr => 1);
         use Data::Dumper;
         print "<pre>", Dumper(\$article), "</pre>";

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://590364]
Approved by GrandFather
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2016-08-28 01:39 GMT
Find Nodes?
    Voting Booth?
    The best thing I ever won in a lottery was:

    Results (390 votes). Check out past polls.