Added attributes to the XMLTreeModel class