Dynamic slide menu with Xml?

I have modified the hogg menu to go horizontal and I’d like to make it dynamic, updatable from xml, something like…if every MC is a section, and every button in the MC a subsection, to be able to add, later on, sections and subsections of the menu from xml, together with the links. I have searched for this idea , but i couldn’t find anything similar to this.I thought of making each MC a component, but then I don’t know how to define all the buttons inside it and the links together from xml.
So please, can anybody help?