I have an XML file that contains several lines like this:
<Teste Time="380643" TT="380592" Win="-2" Xl="28" Yl="55" />
<Teste Time="380660" TT="380592" Win="-2" Xl="28" Yl="55" />
I need to add a fixed number to every instance of the Time attribute, e.g. 380643 + 10000, and get an XML file with the new lines, e.g. <Time="390643" TT="380592" Win="-2" Xl="28" Yl="55"/>. Is this possible using Perl? If so, how? If not, what should I do?