I have an XML with structure like this:
I would like to create a Table in XFA. I bind TextField in row to $.field.atr[*]. This is working fine. But I do not know how to set optional attribute "art". I was trying using:
a) xfa.data.resolveNode("root.field[1].art").value
b) xfa.data.resolveNode("root.field[1]").setAttribute('art','value');
c) Instead of xfa.data I used xfa.data.datasets
d) and something more
But any of this does not work. What am I doing wrong?
Thanks for any help.