Fetch pandoc's output html and instantiate a JDOM Document, debug output with xmloutputter