To convert XML into Array