[IMP]Used xmlid_to_res_id for get id.