public void startElement(String uri,String localName,String qName,Attributes atts) throws SAXException {
  elementLevel++;
  nsSupport.pushContext();
  if (forceDTD && !hasOutputDTD)   startDTD(localName == null ? qName : localName,"","");
  write('<');
  writeName(uri,localName,qName,true);
  writeAttributes(atts);
  if (elementLevel == 1) {
    forceNSDecls();
  }
  writeNSDecls();
  write('>');
  if (htmlMode && (qName.equals("script") || qName.equals("style"))) {
    cdataElement=true;
  }
  super.startElement(uri,localName,qName,atts);
}

public void startElement ( String uri , String localName , String qName , Attributes atts ) throws SAXException { elementLevel ++ ; nsSupport . pushContext ( ) ; if ( forceDTD && ! hasOutputDTD ) startDTD ( localName == null ? qName : localName , "" , "" ) ; write ( '<' ) ; writeName ( uri , localName , qName , true ) ; writeAttributes ( atts ) ; if ( elementLevel == 1 ) { forceNSDecls ( ) ; } writeNSDecls ( ) ; write ( '>' ) ; if ( htmlMode && ( qName . equals ( "script" ) || qName . equals ( "style" ) ) ) { cdataElement = true ; } super . startElement ( uri , localName , qName , atts ) ; }
write a start tag . < p / > pass the event on down the filter chain for further processing .
