code: function(name, options) {
          options = options || {};
          // order of prefix preference
          // 1. in the uri option
          // 2. in the prefix option
          // 3. in the qualified name
          // 4. from the defaultPrefix
          var uri = options.uri || this.namespaces[options.prefix];
          if(!uri) {
              var loc = name.indexOf(":");
              uri = this.namespaces[name.substring(0, loc)];
          }
          if(!uri) {
              uri = this.namespaces[this.defaultPrefix];
          }
          var node = this.createElementNS(uri, name);
          if(options.attributes) {
              this.setAttributes(node, options.attributes);
          }
          var value = options.value;
          if(value != null) {
              node.appendChild(this.createTextNode(value));
          }
          return node;
      }
docs: Method: createElementNSPlus
  Shorthand for creating namespaced elements with optional attributes and
  child text nodes.
  
  Parameters:
  name - {String} The qualified node name.
  options - {Object} Optional object for node configuration.
  
  Valid options:
  uri - {String} Optional namespace uri for the element - supply a prefix
  instead if the namespace uri is a property of the format's namespace
  object.
  attributes - {Object} Optional attributes to be set using the
  <setAttributes> method.
  value - {String} Optional text to be appended as a text node.
  
  Returns:
  {Element} An element node.