I would prefer Honda City. Reasons:
-Fuel consumption is excellent
-If you buy an XLI, you never know the next day you wake up its stolen. (got mine stolen 3years back, it was GLi. Corolla is the most stolen car in Pakistan)
-If you talk about maintainance, the tunings on 20,000, 40,000 and so on cost above 15000 else its not that much.
-When you talk about safety Xli is having no ABS and as I am driving on the roads of Islamabad (Express way) ABS has several times helped me.
-Resale value depends upon the place where you live. In Islamabad and Lahore Honda is having excellent resale value but when you talk about rural areas corolla is having better resale.
-rest the choice is yours.
XLI and GLI mein ziada farq nahi! Just ABS, PW, Painted Side Mirror Covers, Interior Color Scheme.
Please don't mind but ABS is very important especially when you are spending Rs. 1.4 million (approx). The previous model of Corolla was quite notorious due to its poor braking that resulted in a number of accidents. So ABS in Corolla is a must. That is why to me GLi is far better than XLi.
Honda City is being preferred over GLi owing to cheaper price, superior engine and better fuel consumption (the most important aspect these days). Hondas are still being stolen lesser, if at all. Toyota may still be leading sales but I hate to admit City has now become the choice of many.