yaris would be a better option as compared to xli and gli. its a foolish thought considering resale value. you are not buying a car for a business point of view. buy a car which give you comfort and piece of mind if you have to drive it for like a 1000km in one shot. buy a car which never let you get bored or tired during your ride. forget about resale value. go for a comfort and luxury as you are spending a hard earned money.
a second thought. look around for Suzuki Ciaz manual. its a CBU from thailand with latest K series engine. economy of around 16++ local and around 19-20 on long route. it will not provide you with interior luxuries but a charm to drive.