if the array has only one item, returns the first one, otherwise the whole array
if the XML url/path is not a url (but it's a path) and if it's a relative path, the path is relative to APP
fixed to work with asset compress