XML Menu issue

Hi,

I have an XML menu, but for some reason the parnt of the last menu is using the previous link



<site>

<page url="http://www.mysite.com/test" title="Test1" onclick="_gaq.push(['_trackEvent', 'Test', 'Clicked', 'Test clicked']);"/>
    <page url="http://www.mysite.com/community" title="Community" class="communityTag">
        <page url="http://www.mysite.com/forum/" title="Forum" class="community"/>

    </page>

</site>


The link for this



<page url="http://www.mysite.com/community" title="Community" class="communityTag">


is displaying :

http://www.mysite.com/test

What would cause this to happen?

I don’t understand how that code is meant to work, but I’ll point out that there’s no closing / at the end of the line in question.

As far as I know about XML (and that’s not much! ;)), each tag has to get the same tag as closing tag, and it should be at least something like this:

<site>
     <page url="http://www.mysite.com/test" title="Test1" onclick="_gaq.push(['_trackEvent', 'Test', 'Clicked', 'Test clicked']);">
     </page>
     <page url="http://www.mysite.com/community" title="Community" class="communityTag">
     </page>
     <page url="http://www.mysite.com/forum/" title="Forum" class="community">
     </page>
</site>

And probably all the attributes have to be separated new tags (each with their own value) inside the <page></page> lines.