}   if ((_doctypeSystem != null) && (_declHandler != null)) {  _doctypeSystem = null;
    public void startElement(String elementName)	throws TransletException {	try {	    // Do not output element tags if output mode is 'text'	    if (_outputType == TEXT) return; 	    // Close any open start tag	    if (_startTagOpen) closeStartTag();	    if (_cdataTagOpen) closeCDATA();	    // If we don't know the output type yet we need to examine	    // the very first element to see if it is "html".	    if (_outputType == UNKNOWN) {		if (elementName.toLowerCase().equals("html"))		    setTypeInternal(HTML);		else		    setTypeInternal(XML);	    }	    _depth++;	    _elementName = elementName;	    _attributes.clear();	    _startTagOpen = true;	    _qnameStack.push(elementName);	    if ((_cdata != null) && (_cdata.get(elementName) != null))		_cdataStack.push(new Integer(_depth));	    // Insert <META> tag directly after <HEAD> element in HTML doc	    if (_outputType == HTML)		if (elementName.toLowerCase().equals("head"))		    _headTagOpen = true;	}	catch (SAXException e) {            throw new TransletException(e);        }    }