code: function(uri, name) {
          var element;
          if(this.xmldom) {
              if(typeof uri == "string") {
                  element = this.xmldom.createNode(1, name, uri);
              } else {
                  element = this.xmldom.createNode(1, name, "");
              }
          } else {
              element = document.createElementNS(uri, name);
          }
          return element;
      }
docs: APIMethod: createElementNS
  Create a new element with namespace.  This node can be appended to
  another node with the standard node.appendChild method.  For
  cross-browser support, this method must be used instead of
  document.createElementNS.
  
  Parameters:
  uri - {String} Namespace URI for the element.
  name - {String} The qualified name of the element (prefix:localname).
  
  Returns:
  {Element} A DOM element with namespace.