}
  void doApply(Stylesheet stylesheet, QName mode,             Node context, int pos, int len,             Node parent, Node nextSibling)    throws TransformerException  {    Object ret = test.evaluate(context, pos, len);    boolean success = (ret instanceof Boolean) ?      ((Boolean) ret).booleanValue() :      Expr._boolean(context, ret);    if (success)      {        if (children != null)          {            children.apply(stylesheet, mode,                           context, pos, len,                           parent, nextSibling);          }      }    else      {        if (next != null)          {            next.apply(stylesheet, mode,                       context, pos, len,                       parent, nextSibling);          }      }  }