in reply to PDF alternative to mudrow to get XML structure

You are confused. PDF does not have an XML structure, aside from some metadata blocks in some PDF files. The PDF structure itself is not XML because (among other reasons) PDF is an older format than XML.

I am unfamiliar with mudraw; perhaps it translates PDF structure into XML? Try searching CPAN for "PDF" and see what you find.