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!