*/
public QueryExecuterSub(Element element, Context context) throws ReportException {
assert element.getName().equals(TAGNAME);
int reportId = XML.getIntAttribute(element, ATTR_QUERYID);
SubQueryLoaderResult rpt = context.getQueryLoader().loadSubReport(reportId);
report = new QueryExecuter(reportId, rpt.report, rpt.title, rpt.description);
atom = new Atom(element, context);
rowCount = new RowCount(element);
selectTitle = XML.getStringAttribute(element, ATTR_TITLE);