Xml structure

In your examples you are showing an element based xml. can I use an attribute based xml as a data source for the TreeGird?

Thanks

Unfortunately only the xml format mentioned in the documentation is supported:
docs.dhtmlx.com/treegrid__treegr … n.html#xml

What are these elements for?

userdata value 1

Additional data that can be loaded with the grid data:
docs.dhtmlx.com/grid__userdata.html#userdata