http://www.perlmonks.org?node_id=11113897


in reply to Re: PDF alternative to mudrow to get XML structure
in thread PDF alternative to mudrow to get XML structure

"You are confused..."

Looks like you are the one who is confused here. OP specifically shows what they are doing, tells us how they are generating XML from PDF.

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

It'd have take seconds to confirm what mudraw does.

Replies are listed 'Best First'.
Re^3: PDF alternative to mudrow to get XML structure
by jcb (Parson) on Mar 07, 2020 at 00:02 UTC

    A PDF file does not have an XML structure. Our questioner is using a tool that produces XML output describing PDF structure and now needs to replace that tool. There is no standard translation from PDF to XML. There is no easy replacement for mudraw because the XML our questioner is using is a mudraw-specific format because there is no standard XML mapping for PDF. The best solution is to process the PDF directly.