code: public void executeChildTemplates(
               ElemTemplateElement elem, ContentHandler handler)
                 throws TransformerException
       {
  
         SerializationHandler xoh = this.getSerializationHandler();
  
         // These may well not be the same!  In this case when calling
         // the Redirect extension, it has already set the ContentHandler
         // in the Transformer.
         SerializationHandler savedHandler = xoh;
  
         try
         {
           xoh.flushPending();
  
           // %REVIEW% Make sure current node is being pushed.
           LexicalHandler lex = null;
           if (handler instanceof LexicalHandler) {
              lex = (LexicalHandler) handler;
           }
           m_serializationHandler = new ToXMLSAXHandler(handler, lex, savedHandler.getEncoding());
           m_serializationHandler.setTransformer(this);
           executeChildTemplates(elem, true);
         }
         catch (TransformerException e)
         {
           throw e;
         }
         catch (SAXException se) {
         	 throw new TransformerException(se);
         }
         finally
         {
           m_serializationHandler = savedHandler;
      }
    }
docs: Execute each of the children of a template element.
  
  @param elem The ElemTemplateElement that contains the children
  that should execute.
  @param handler The ContentHandler to where the result events
  should be fed.
  
  @throws TransformerException
  @xsl.usage advanced