builder.startElement(elementNameCode, StandardNames.XS_UNTYPED_ATOMIC, 0, 0);
for (int i=0; i<namespacesSize; i++) {
builder.namespace(namespaces[i], 0);
}
for (int i=0; i<len; i++) {
builder.attribute(bufferedAttributes.getNameCode(i), StandardNames.XS_UNTYPED_ATOMIC,
bufferedAttributes.getValue(i), 0, 0);
}
builder.startContent();
builder.endElement();
elementNode = builder.getCurrentRoot();