We seem to have the same "problem". I'm also working on forms and xml fields. I don't have the repply to your answer but maybe you could help me.
Here's :
I'm trying to display a checkbox in a form but I don't have the correct syntax. What I use : {attribute_view_gui attribute=$node.data_map.myidentifier}
But I have only YES or NO if the box is checked or not when I crate the form.
May I have the correct syntax or more generally a tutorial for the different objects ?
I think we are going round in circles here at the moment about this...
In the 3.0x series of ez the amount of html you could put into a xml data field was very limited. 3.1 has improved on this by popular demand :) Sorry, but there doesn't seem to be too many ways around this except by css and logic.
You could use a text field to put html into but you can't add related objects to this...