// Now take the resulting HTML, process it using Dom4J
SAXReader reader = new SAXReader(new Parser());
reader.setEncoding("UTF-8");
String htmlWithMarkup = parsedDatum.getParsedText();
Document doc = reader.read(new StringInputStream(htmlWithMarkup));
// We have to do helicopter stunts since HTML has a global namespace on it, set
// at the <html> element level.
XPath xpath = DocumentHelper.createXPath("/xhtml:html/xhtml:body/xhtml:p");
Map<String, String> namespaceUris = new HashMap<String, String>();