array toxml native