function handle_repadd(item) { alert("ITEM: " + item); return true;}
it is easier than Bo's suggestion, IWDatacapture.getItem(xpath+"/../")