repositories

I am trying to understand addon.xml found in repos. It is quite logical except 1 thing; let’s see this in example:

Code:
    <extension point="xbmc.addon.repository" name="WhiteCream repo">
        <dir>
            <info compressed="false">https://offshoregit.com/tvaresolvers/tva-common-repository/raw/master/addons.xml</info>
            <checksum>https://offshoregit.com/tvaresolvers/tva-common-repository/raw/master/addons.xml.md5</checksum>
            <datadir zip="true">https://offshoregit.com/tvaresolvers/tva-common-repository/raw/master/zips/</datadir>
        </dir>    
        <info compressed="false">http://offshoregit.com/whitecream/addons.xml</info>
        <checksum>http://offshoregit.com/whitecream/addons.xml.md5</checksum>
        <datadir zip="true">http://offshoregit.com/whitecream/</datadir>
    </extension>

As you can see there is extension point that defines repo and name and under it is “info” which points to the addons.xml file. OK, so far so good. BUT! There is a <dir> tag which ALSO contains info tag which points to another addons.xmlConfused

What is the difference between two? If I just need content of a repo, which do I use, ine under <extension> or one under <extension><dir> Confused

Thanx!

D.