Why an XML file it would be much easier to do a csv file anyways you have two choices using php's XML handling capabilities or using php's string handling.
<?php
$linearray = array_map('trim', file('./dir/file.xml'));
foreach ($linearray as $line){
$tmp = str_replace('<Name="', '', $line);
$tmp1 = str_replace('" score="', '', $tmp);
$tmp2 = str_replace('" />', '<br>', $tmp1);
$highscores .= $tmp2;
}
$highscorearray = explode("<br>", $highscores);
//now this is done do what you like with the array this is a sample application to help you to do what you want to do it is not a copy and paste solution
?>
Now I suggest you visit PHP dot net and search the manual here are some key words to search for
multi-dimensional array
xml
str
the math functions are as follows
2 / 2 (two divided by two)
2 2 (two multiplied by two)
2 - 2 (two minus two)
2 + 2 (two plus two)you can also use brackets and ^ to get a percentage multiply the number by point whatever the percentage you want e.g. number .22 is 22% of number
-- edit
oh yeah about the ^ basicly 23 is two to the power of three i think
I hope you have fun searching through the manual