Implement XDMF output.

Compiles, not tested.