2. It also makes an assumption about the numbering of degrees of
freedom (and mesh entities) always being the same. This can be handled
by adding a new tag <dofmap> under <function> that contains the dofs
explicitly (not the signature of the FFC dof map).
The XML format could be something like
<mesh celltype="triangle" dim="2">
<vertices size="2868">
<vertex index="0" x="0.534923" y="0.326073"/>
...
</vertices>
<cells size="5400">
<triangle index="0" v0="76" v1="914" v2="1153"/>
...
</cells>
<coordinates>
<function>
</function>
</coordinates>
<mesh
ok, I guess you would need to add an attribute to the `function' to
specify what kind of finite element it is. You could also add a boolean
function to the <coordinates> section that would indicate whether the
element is indeed curved or not.