I know that syntax is valid, but my question is whether it is logically valid:
<parent>
<name>John</name>
<child>Mary</child>
<child>Lucy</child>
<child>Hannah</child>
</parent>
or a proper way to do this is:
<parent>
<name>John</name>
<child>
<name>Mary</name>
</child>
<child>
<name>Lucy</name>
</child>
<child>
<name>Hannah</name>
</child>
</parent>
Is there some document online that definitely says what's right and wrong?