The XE was the basic model of the first indus pakistani corolla with a 2E 1.3 litre engine(E100). the model continued from 1994 till 2002 when the new xli (E120) replaced it. It just kept on changing lights and survived the production line for 8 years in Indus Motors.
The XEG was a similar item just with a few additions like matching bumpers, wooden trim and the rear garnish etc.
The XE-Saloon is a JDM model that started in 1998 and denotes a specific shape of corolla (E110) with all the JDM stuff like ABS, Airbag etc.
Hope it helps in understanding the difference.