Academic rigor at XLRI and IIM-A is almost similar. Yes you can definitely compare because both of these institutions are considered as the top B-schools of India. XLRI has a higher ranking than IIM-A as per the data collected by Goverment of India.
In ranking the factor which is considered is GO which graduation outcome. In GO they consider various things to determine like teaching quality, placement report, student's ability to understand,percentage of students going for higher education. Also there is one sub-parameter which is GPH which is the combination of placement and students going for higher education.
According to govt of India statistics-
IIM A score 38.46 out of 40
And XlRI score 39.81 out of 40
I hope now you understand.
Hope it helps!
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile