code: public void endElement(
            StylesheetHandler handler, String uri, String localName, String rawName)
              throws org.xml.sax.SAXException
    {
  		if (m_savedLastOrder != null && !m_savedLastOrder.empty())
  			getElemDef().setLastOrder(m_savedLastOrder.pop());
  		
  		if (!getElemDef().getRequiredFound())
  			handler.error(XSLTErrorResources.ER_REQUIRED_ELEM_NOT_FOUND, new Object[]{getElemDef().getRequiredElem()}, null);
    }
docs: Receive notification of the end of an element.
  
  @param handler non-null reference to current StylesheetHandler that is constructing the Templates.
  @param uri The Namespace URI, or an empty string.
  @param localName The local name (without prefix), or empty string if not namespace processing.
  @param rawName The qualified name (with prefix).