docs: function(node, obj) {
          var value, uri;
          for(var name in obj) {
              if(obj[name] != null && obj[name].toString) {
                  value = obj[name].toString();
                  // check for qualified attribute name ("prefix:local")
                  uri = this.namespaces[name.substring(0, name.indexOf(":"))] || null;
                  this.setAttributeNS(node, uri, name, value);
              }
          }
      }