final DefaultTagDescription td = new DefaultTagDescription();
td.addDefaultDefinition(LAYOUT_OUTPUT_NAMESPACE, false);
td.addTagDefinition(LAYOUT_OUTPUT_NAMESPACE, "text", true);
// prepare anything that might needed to be prepared ..
final Writer writer = new BufferedWriter(new OutputStreamWriter(outputStream));
this.xmlWriter = new XmlWriter(writer, td);
this.xmlWriter.writeXmlDeclaration(null);
final AttributeList attrs = new AttributeList();
attrs.addNamespaceDeclaration("", LAYOUT_OUTPUT_NAMESPACE);
xmlWriter.writeTag(LAYOUT_OUTPUT_NAMESPACE, "layout-output", attrs, XmlWriter.OPEN);