I just showed the hierarchy structure. You can put anything you want in the nodes of the hierarchy. In the example, these are object names that then generate the example hierarchy below in our application. Hope this helps.
attributes are a red herring in XML. attributes could just as easily be expressed as a child called attributes, or just by listing the attributes as children.
("as_2586" ("as_2587" ("as_2588" ("as_2637" ("as_2638" ("as_2639")) ("as_2640")) ("as_2595")) ("as_2589")))
Equals:
Sub Projects