<?xml version="1.0" encoding="UTF-8"?>
<result>
    <bySex>
        <user age="35" name="Paula" sex="female"></user>
        <user age="22" name="Marta" sex="female"></user>
        <user age="31" name="Mariano" sex="male"></user>
        <user age="35" name="Emiliano" sex="male"></user>
        <user age="22" name="Luis" sex="male"></user>
    </bySex>
    <byAge>
        <user age="22" name="Luis" sex="male"></user>
        <user age="22" name="Marta" sex="female"></user>
        <user age="31" name="Mariano" sex="male"></user>
        <user age="35" name="Emiliano" sex="male"></user>
        <user age="35" name="Paula" sex="female"></user>
    </byAge>
</result>