Updates to write_hdf5_xml.