docs: function(name){
      this.doctype = doctypes[name.toLowerCase()] || '<!DOCTYPE ' + name + '>';
      this.terse = this.doctype.toLowerCase() == '<!doctype html>';
      this.xml = 0 == this.doctype.indexOf('<?xml');
    }