code: public void endCompose(StylesheetRoot sroot) throws TransformerException
    {
      int length = getParamElemCount();
      for (int i = 0; i < length; i++) 
      {
        ElemWithParam ewp = getParamElem(i);
        ewp.endCompose(sroot);
      }    
      
      super.endCompose(sroot);
    }
docs: This after the template's children have been composed.