Help needed in XML::Parser

Newbie Member
20Jul2010,16:43   #1
ssenthilkumar's Avatar
Hi All,

I am having a xml file like this

<?xml version='1.0'?>
<person>
<first_name>Joe</first_name>
<last_name>Bloggs</last_name>
<hobbie>bungy jumping</hobbie>
<hobbie>sky diving</hobbie>
<hobbie>knitting</hobbie>
</person>

I am using XML::Parser to Parse this xml, so that the output should be in the form of a ' list '.

Is it possible ???. Can any one provide a small piece of code (a pseudocode will be helpful).

Thanks in advance
S. Senthil kumar.
Team Leader
8Oct2010,13:47   #2
pradeep's Avatar
Try using XML::Simple
Newbie Member
8Oct2010,15:49   #3
ssenthilkumar's Avatar
Quote:
Originally Posted by pradeep View Post
Try using XML::Simple
Thanks for ur earliest reply.

I am using XML::Simple