Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: XML::Simple: list all element attributes

by element22 (Novice)
on Apr 08, 2015 at 06:32 UTC ( [id://1122773]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <?xml version="1.0" encoding="Windows-1252"?>
    <App>
    ...
    <node name="3rd node" text="Text of 3rd node" />
    ...
    </App>
    
  2. or download this
    1st node: Text of 1st node
    2nd node: Text of 2nd node
        subnode A: Text of subnode A
        subnode B: Text of subnode B
    3rd node: Text of 3rd node
    
  3. or download this
    foreach my $node (@{$data->{node}}) {
        print $node->{name}.": ".$node->{text}."\n";
    ...
            }
        }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-04-19 10:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found