Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Accessing attributes in XML::Simple

by sherab (Scribe)
on Jan 05, 2010 at 03:28 UTC ( [id://815685]=note: print w/replies, xml ) Need Help??


in reply to Re: Accessing attributes in XML::Simple
in thread Accessing attributes in XML::Simple

Your example works GREAT for me ikegami. What I'm puzzled by now is how to refer to values of "F1", "F2", etc of the XML. The "id=" portion of the iteration. My apologies but I have been doing this for so long my brain is tapioca.
  • Comment on Re^2: Accessing attributes in XML::Simple

Replies are listed 'Best First'.
Re^3: Accessing attributes in XML::Simple
by ikegami (Patriarch) on Jan 05, 2010 at 03:34 UTC

    In the first snippet, $e->{footnote}{id}

    In the second snippet, $id

    In the third snippet, you can't.

Re^3: Accessing attributes in XML::Simple
by sherab (Scribe) on Jan 05, 2010 at 03:36 UTC
    Oh Jeeez,... I should probably stop for the night. The answer is "$id". Can't believe I asked the question. Sorry folks!

Log In?
Username:
Password:

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

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

    No recent polls found