from xml from json
<item
	id     = "info"			// required, will generated automatically if empty
	type   = "text"			// required, item type
	text   = "dhtmlxToolbar Demo"	// required, item text, use span style='color:red;' to customize if any
	title  = "Tooltip here"		// optional, tooltip for item
	hidden = "true"			// optional, hide item
>
	// optional, userdata
	<userdata name="p1">value1</userdata>
	<userdata name="p2">value2</userdata>
</item>
{
	id:     "info"			// required, will generated automatically if empty
	type:   "text"			// required, item type
	text:   "dhtmlxToolbar Demo"	// required, item text, use span style='color:red;' to customize if any
	title:  "Tooltip here"		// optional, tooltip for item
	hidden: true			// optional, hide item
	userdata: {			// optional, userdata
		p1: "value1"		// userdara, name:value pairs
		p2: "value2"
	}
}
The purpose of this demo is to show you list of available xml and json attributes in action