closeCDATA();
endCDATA();
    public void endElement(String elementName) throws TransletException { // System.out.println("endElement = " + elementName);	if (_cdataTagOpen) {	    closeCDATA();	}	if (_startTagOpen) {	    appendAttributes();	    _buffer.append("/>");	    _startTagOpen = false;	    if (_indent) {		_indentLevel--;		_indentNextEndTag = true;	    }	}	else {	    if (_indent) {		_indentLevel--;		if (_indentNextEndTag) {		    indent(_indentNextEndTag);		    _indentNextEndTag = true;		    _lineFeedNextStartTag = true;		}	    }	    _buffer.append("</").append(elementName).append('>');	    _indentNextEndTag = true;	}	if (((Integer) _cdataStack.peek()).intValue() == _depth) {	    _cdataStack.pop();	}	popNamespaces();	_depth--;    }