Required library edition: Required library file: dhtmlxtree.js
returns the value of the specified item attribute (the original value can be defined as a part of XML | JSON data)
var itemName = tree.getAttribute("item1","text");