code: public void startEmit(final Writer wtr, final String dtd) throws IOException {
      this.wtr = wtr;
      this.dtd = dtd;
    }
docs: Emit any headers, dtd and namespace declarations
  
  @param wtr
  @param dtd
  @throws IOException