Bugfix: handles XML root node without children.
Handles two kinds of XML arrays:

Type 1:
 <root>
    <listChild>
        <childMember1 />
        <childMember2 />
    </listChild>
    <listChild>
        <childMember1 />
        <childMember2 />
    </listChild>
</root>

Type 2:
<root>
    <list>
        <listChild>
            <childMember1 />
            <childMember2 />
        </listChild>
    </list>
</root>