in reply to Re^3: Read the attribute from xml file
in thread Read the attribute from xml file
Now I want to print name and required field, How will I do that ??#!/usr/bin/perl use strict; use warnings; use XML::Simple; use Data::Dumper ; my $xml_Event = XMLin('EventDescription.xml', KeyAttr =>{Event => 'nam +e'}); my $Event = $xml_Event->{Event}; print Dumper($Event);
|
|---|