Extract Data from XML file and store in an array

we already mentioned:

and when a flat string is needed: