I prefer to have my XML documents structured in the following way:
<root>
<node info1="blah" info2="blah" />
<node info1="blah" info2="blah" />
</root>
Instead of:
<root>
<node>
<info1>blah</info1>
<info2>blah</info2>
<node>
<node>
<info1>blah</info1>
<info2>blah</info2>
<node>
</root>
I think this makes things easier to read and makes navigation simpler. Are there any reasons that the second example would be better? Is it same to assume my structure is better?
Obviously if there is a one to many relationship in the data I have no problem moving it to it's own child node.