jaxbElement = (JAXBElement) o;
}
if (jaxbElement != null) {
QName n = jaxbElement.getName();
w.writeStartElement("", n.getLocalPart(), n.getNamespaceURI());
// TODO: we should check to see if a NS is already written here
w.writeDefaultNamespace(n.getNamespaceURI());
o = jaxbElement.getValue();
}