Hello,
would you be able to tell me how to code this, still not able to use XML::XPath much:
I need to search the XML file in concern for all the DailyWeatherRecords for a particular month.
Say for the month of January, I need to search for those DailyWeatherRecords which have a "1" in the middle of the
date attribute value, for example "1-1-2004" and "2-1-2004".I'm not sure how to look in the middle of the date value.
The input to the sub that does this is the month i.e January
or "1". For all the DailyWeatherRecords for the month of
January, I need to extract the value of maxdrybulb if it is greater than 30.0, and the date. The sub should
return as an array the list of dates and maxdrybulb values (only if it is greater than 30.0)
For example the array might look like:
1-1-2004
33.95
2-1-2004
30.95
Thanks in advance.
perl_seeker
:)