You cannot get all laps into XML file currently (although the required information is there so it would simple to add). The best times XML file is for the best split and lap times for each player (and for each car) ever visited the server (offline is like a single player server).
You can get all your laps done during that 'stint', by typing !laps. It displays all splits and lap times for each lap. It also displays the pit stop duration and reason. If some time is in red it is the best for that race/stint. If it is yellow, it is your personal best for that race/stint. You should do this before restarting or going to car setup (they clear the lap stats because they also reset the lap number back to 1).
Another way to see consistency is to type !stats and checking the best lap, theoretical best lap and average lap time, and compare them.
You can get all your laps done during that 'stint', by typing !laps. It displays all splits and lap times for each lap. It also displays the pit stop duration and reason. If some time is in red it is the best for that race/stint. If it is yellow, it is your personal best for that race/stint. You should do this before restarting or going to car setup (they clear the lap stats because they also reset the lap number back to 1).
Another way to see consistency is to type !stats and checking the best lap, theoretical best lap and average lap time, and compare them.