docs: function(name, obj, parent) {
          var prefix, local;
          var split = name.indexOf(":");
          if(split > 0) {
              prefix = name.substring(0, split);
              local = name.substring(split + 1);
          } else {
              if(parent) {
                  prefix = this.namespaceAlias[parent.namespaceURI];
              } else {
                  prefix = this.defaultPrefix;
              }
              local = name;
          }
          var child = this.writers[prefix][local].apply(this, [obj]);
          if(parent) {
              parent.appendChild(child);
          }
          return child;
      }