renderContext.setDelegate(new WOHTMLRenderDelegate(prefs.getBoolean(PreferenceConstants.STICKY_WOTAGS)));
StringBuffer xmlBuffer = new StringBuffer();
FuzzyXMLDocType docType = htmlModel.getDocumentType();
if (docType != null) {
docType.toXMLString(renderContext, xmlBuffer);
}
for (FuzzyXMLNode node : documentElement.getChildren()) {
node.toXMLString(renderContext, xmlBuffer);
//htmlBuffer.append("\n");
}