I am trying with this code to parse xml elements of an array. With small amount of elements it works fine, but when elements are more than 50 , its appears a problem. it slo