transformer.getMsgMgr().error(
transformer.getMsgMgr().error(this,
  public void execute(          TransformerImpl transformer, Node sourceNode, QName mode)            throws TransformerException  {    if (transformer.currentTemplateRuleIsNull())    {      transformer.getMsgMgr().error(        XSLTErrorResources.ER_NO_APPLY_IMPORT_IN_FOR_EACH);  //"xsl:apply-imports not allowed in a xsl:for-each");    }    if (TransformerImpl.S_DEBUG)      transformer.getTraceManager().fireTraceEvent(sourceNode, mode, this);    if (null != sourceNode)    {      // This will have to change to current template, (which will have       // to be the top of a current template stack).      transformer.applyTemplateToNode(this, null, sourceNode, mode);    }    else  // if(null == sourceNode)    {      transformer.getMsgMgr().error(        XSLTErrorResources.ER_NULL_SOURCENODE_APPLYIMPORTS);  //"sourceNode is null in xsl:apply-imports!");    }  }