Adding child using xml values as instance name

Hi
Im trying to build menu that feeds xml.
I got class that describes button and I want to add few instances of this class to display list and then populate it with date from xml.

Is it possible to add Childs of this class using as their names data stored in XMLList element? And than push it into Dictionary/Array element for futher use?

Thanks