Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: How do I parse XML with repeating attribute values?

by 1arryb (Acolyte)
on Dec 12, 2011 at 19:07 UTC ( [id://943157]=note: print w/replies, xml ) Need Help??


in reply to Re: How do I parse XML with repeating attribute values?
in thread How do I parse XML with repeating attribute values?

ikegami,

Thanks, you are quite correct. I was screwed up by the rather too cute default value for KeyAttr. From the XML::Simple perldoc:

Note 1: The default value for 'KeyAttr' is 'name', 'key', 'id'.

(Note to self: I will read the manual. I will read the manual. I will RTFM ...)

Larry

Replies are listed 'Best First'.
Re^3: How do I parse XML with repeating attribute values?
by ikegami (Patriarch) on Dec 13, 2011 at 00:18 UTC
    I don't blame you. It's a bad default.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-03-29 06:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found