Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Parsing XML file for more than 1 child element with attributes

by Cody Pendant (Prior)
on Feb 06, 2008 at 21:43 UTC ( [id://666681]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Parsing XML file for more than 1 child element with attributes
in thread Parsing XML file for more than 1 child element with attributes

Well, I think the reason nobody's helping you is, you haven't shown any of your own code yet.

If you understand how

foreach $node ( keys( %{ $tree->{report}->{node} } ) ) { print "$node:VALUES: $tree->{report}->{node}->{$node}->{values}\n"; }
works, then you should be able to just add an "if" to my code to get what you want. If you don't, or if you don't even know how to do "if", in Perl, you'd better say so.


Nobody says perl looks like line-noise any more
kids today don't know what line-noise IS ...
  • Comment on Re^3: Parsing XML file for more than 1 child element with attributes
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 17:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found