rpt.printdata(entityName,"DTRulesId",printIds ? e.getID():"","id",e.get("mapping*key").stringValue(),"multiple reference");
}else{
entitypath.add(e);
if(printed!=null) printed.add(e);
IRObject id = e.get(RName.getRName("mapping*key"));
String idString = id!=null?id.stringValue():"--none--";
rpt.opentag(entityName,"DTRulesId",printIds ? e.getID():"","id",idString);
Set<RName> keys = e.getAttributeSet();
RName akeys [] = sort(keys);
for(RName name : akeys){
IRObject v = e.get(name);