New XML class (transforms from array)