code: public void endElement(
            StylesheetHandler handler, String uri, String localName, String rawName)
              throws org.xml.sax.SAXException
    {
  
      // Since this has been installed as the current processor, we 
      // may get and end element event, in which case, we pop and clear 
      // and then call the real element processor.
      startNonText(handler);
      handler.getCurrentProcessor().endElement(handler, uri, localName,
                                               rawName);
      handler.popProcessor();
    }
docs: Receive notification of the end of an element.
  
  @param handler The calling StylesheetHandler/TemplatesBuilder.
  @param uri The Namespace URI, or the empty string if the
  element has no Namespace URI or if Namespace
  processing is not being performed.
  @param localName The local name (without prefix), or the
  empty string if Namespace processing is not being
  performed.
  @param rawName The raw XML 1.0 name (with prefix), or the
  empty string if raw names are not available.
  @see org.apache.xalan.processor.StylesheetHandler#startElement
  @see org.apache.xalan.processor.StylesheetHandler#endElement
  @see org.xml.sax.ContentHandler#startElement
  @see org.xml.sax.ContentHandler#endElement
  @see org.xml.sax.Attributes