modify selector's  xml output