code: protected void appendAndPush(
            StylesheetHandler handler, ElemTemplateElement elem)
              throws org.xml.sax.SAXException
    {
  
      // Don't push this element onto the element stack.
      ProcessorCharacters charProcessor =
        (ProcessorCharacters) handler.getProcessorFor(null, "text()", "text");
  
      charProcessor.setXslTextElement((ElemText) elem);
  
      ElemTemplateElement parent = handler.getElemTemplateElement();
  
      parent.appendChild(elem);
      elem.setDOMBackPointer(handler.getOriginatingNode());
    }
docs: Append the current template element to the current
  template element, and then push it onto the current template
  element stack.
  
  @param handler non-null reference to current StylesheetHandler that is constructing the Templates.
  @param elem non-null reference to a {@link org.apache.xalan.templates.ElemText}.
  
  @throws org.xml.sax.SAXException Any SAX exception, possibly
  wrapping another exception.