using
org.dom4j.io.OutputFormat format = OutputFormat.createPrettyPrint();
there doesn't seem an obvious way to preserve the structure of xml comments which appear on multi-lines.
Has anyone got any advise on how to pretty print and keep the comments nice and tidy as well. This seems like an oversight on dom4j's part.
thanks in advance
Hugh