Thanks for the response. I have defined use XML::Simple in my script.
I was able to parse the xml file successfully using that. However when i try to get values for paricular fields i am having problems. I also tried using keyattr as follows
my $data = XMLin('dump.xml', KeyAttr=>{RT =>"List"});
print $data->{RT}=>{List}->{String};
I get this error: Bareword "MapEntry" not allowed while "strict subs" in use at dump.pl line 22.
Execution of dump.pl aborted due to compilation errors.
String has more that one value. Could that be a problem?