Fortran module to write output in XML format.