How to import xdmf mesh generated by gmsh into fenics

Please provide the code that you are running (and the mesh, or the scripts that generated the mesh).

There are plenty of topics covering this, for instance

and many more