I know this is a valid XML:
<ID>1</ID>
<NAME>ABC</NAME>
<Record>
<PROFILEID>10</PROFILEID>
<SIZE>100</SIZE>
</Record>
<Record>
<PROFILEID>11</PROFILEID>
<SIZE>120</SIZE>
</Record>
But I wonder is this valid?:
<PROFILEID>1</PROFILEID>
<NAME>ABC</NAME>
<Record>
<PROFILEID>10</PROFILEID>
<SIZE>100</SIZE>
</Record>
<Record>
<PROFILEID>11</PROFILEID>
<SIZE>120</SIZE>
</Record>
I mean can tags have same names for different depths? Or maybe can it have same name as its parent/child?
Thanks.