Element element = _document.createElementNS(namespace, qName);
if( element==null ) {
// if so, report an user-friendly error message,
// rather than dying mysteriously with NPE.
throw new TxwException("Your DOM provider doesn't support the createElementNS method properly");
}
// process namespace bindings
for( int i=0; i<unprocessedNamespaces.size(); i+=2 ) {
String prefix = (String)unprocessedNamespaces.get(i+0);