Add subfunction to create_xdmf_xml