Required library edition:
Required library file: dhtmlxfolders.js
gets FOldes Item object
var item = myFolders.getItem(myFolders._activeItemId); //if content was created from XML, then here is item's XML representation: var xmlNode = item.data.dataObj;