}
XMLBuilderVisitor builder = new XMLBuilderVisitor(document,
isDelimiterParsingDisabled() ? (char) 0 : getListDelimiter(),
isAttributeSplittingDisabled());
builder.processDocument(getRoot());
initRootElementText(document, getRootNode().getValue());
return document;
}
catch (DOMException domEx)
{