Improved xmltopdf