accum(encoding); accum('"'); accum('>');
String encoding = Encodings.getMimeEncoding(m_encoding);  accum(encoding); accum('"'); accum('>'); }
  public void startElement(          String namespaceURI, String localName, String name, Attributes atts)            throws org.xml.sax.SAXException  {    // System.out.println("SerializerToHTML#startElement("+namespaceURI+", "+localName+", "+name+", ...);");    if (null != namespaceURI && namespaceURI.length() > 0)    {      super.startElement(namespaceURI, localName, name, atts);      return;    }    boolean savedDoIndent = m_doIndent;    boolean noLineBreak;    writeParentTagEnd();    pushState(      namespaceURI, localName,      m_cdataSectionNames, m_cdataSectionStates);    // pushState(namespaceURI, localName, m_format.getNonEscapingElements(),    //          m_disableOutputEscapingStates);    ElemDesc elemDesc = getElemDesc(name);    // ElemDesc parentElemDesc = getElemDesc(m_currentElementName);    boolean isBlockElement = elemDesc.is(ElemDesc.BLOCK);    boolean isHeadElement = elemDesc.is(ElemDesc.HEADELEM);    // boolean isWhiteSpaceSensitive = elemDesc.is(ElemDesc.WHITESPACESENSITIVE);    if (m_ispreserve)      m_ispreserve = false;    else if (m_doIndent && (null != m_currentElementName)             && (!m_inBlockElem || isBlockElement)    /* && !isWhiteSpaceSensitive */    )    {      m_startNewLine = true;      indent(m_currentIndent);    }    m_inBlockElem = !isBlockElement;    m_isRawStack.push(elemDesc.is(ElemDesc.RAW));    m_currentElementName = name;    // m_parents.push(m_currentElementName);    this.accum('<');    this.accum(name);    int nAttrs = atts.getLength();    for (int i = 0; i < nAttrs; i++)    {      processAttribute(atts.getQName(i), elemDesc, atts.getValue(i));    }    // Flag the current element as not yet having any children.    openElementForChildren();    m_currentIndent += this.m_indentAmount;    m_isprevtext = false;    m_doIndent = savedDoIndent;    if (isHeadElement)    {      writeParentTagEnd();      if (m_doIndent)        indent(m_currentIndent);      accum(        "<META http-equiv=\"Content-Type\" content=\"text/html; charset=");      String encoding = Encodings.getMimeEncoding(m_encoding);      accum(encoding);      accum('"');      accum('>');    }  }