I am trying to visualize data from an Open Data web page. The data is parsed from an XML-file with geo coordinates (latitude and longitude).

I am trying to make this XML-reader universal through OOP, so that I can use it for other purposes for another time. At the moment the XML-reader works, but I am having a bit of a hard time appropriating classes and objects in the reader. In my case I want to make one function that splits the...