use XML::Smart ; my $date = '1-2-2004' ; my $xml = new XML::Smart('your_file.xml') ; my $node = $xml->{AnnualWeatherRecord}{DailyWeatherRecord}('date' , +'eq' , $date) ; my $max = $node->{temperature}{maxdrybulb}{number} ; my @array = ($date , $max) ;
Graciliano M. P.
"Creativity is the expression of the liberty".
In reply to Re: Help with XML::XPath
by gmpassos
in thread Help with XML::XPath
by perl_seeker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |