From: Alister P. <gsp...@gm...> - 2014-08-20 05:38:38
|
Hi, I’m trying to add HTML from a mail message to an xml document being constructed using the MemTreeBuilder. builder.startElement(new QName("body", …. ), null); if (contentType.contains("text/html")) { builder. add this as xml ModuleUtils.htmlToXHtml(context, “alternative", bodyPart.getContent(), null, null) Can’t quite see how to do that. Regards, Alister. |