I think it's even more efficient to make this function create only one node for which the name can be set using a function parameter. Then use this function twice in `create_xdmf_xml`.