code: private void openTag(String qName, Attributes atts)
      {
          this.result.append('<').append(qName);
          for (int i = 0; i < atts.getLength(); i++) {
              this.result.append(' ').append(atts.getQName(i)).append("=\"").append(atts.getValue(i)).append('\"');
          }
          this.result.append('>');
      }
docs: Append an open tag with the given specification to the result buffer.
  
  @param qName Tag's qualified name.
  @param atts Tag's attributes.