Convert a PHP array into formatted excel XML