add function returnPointsListFromXML()