Creating PDF documents from XML in PHP