}
// Writing the element, starting by the indent
streamWriter.writeCharacters(whiteSpaces);
childParser.writeElement(childXmlObject, nextObjectToWrite);
childParser.writeNamespaces(childXmlObject, nextObjectToWrite);
childParser.writeAttributes(childXmlObject, nextObjectToWrite);
if (!childXmlObject.isSetName()) {
// TODO: add a log message that this is ignored ??
logger.debug("XML name not set, element ignored!");