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 ?? all content stored in variable.#!/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);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Read the attribute from xml file
by Anonymous Monk on Jul 21, 2015 at 10:31 UTC | |
|
Re^5: Read the attribute from xml file
by GotToBTru (Prior) on Jul 21, 2015 at 12:56 UTC |