oh sorry, guess I was not quite clear. The name attribute is unique.
Example:
<root>
<field1 name=''John''>
<field2 name=''Mike'' />
</field1>
</root>
When I try to add another attribute field called name, Infopath displays an error ''A field or group with that name already exists.''
As I understand ...