}
}
public void render(Writer out) throws ConverterException {
stream = new StreamingMarkupWriter(out, encoding);
writer = config.isPrettyPrint() ? new PrettyPrintXMLStreamWriter(stream): new XMLStreamWriter(stream);
try {
isRendering = true;
writer.startDocument(encoding, "1.0");
writer.startNode(getElementName(target));