Produce a stable xml in a file