Convert text from PDF to XML.