title: How to read data from an XML file from a URL
body: <p>Okay so I need to parse some weather data from a URL and it looks like this:</p>
  
  <p>This XML file does not appear to have any style information associated with it. The document tree is shown below.</p>
  
  <pre><code>//Some stuff saying where the data is from
  
  &lt;meteodata time="2017-05-10 15:03:00" ts="1494417780"&gt;
  &lt;data id="temp" name="Temperatuur" unit="&amp;deg;C"&gt;1.75266666667&lt;/data&gt;
  &lt;data id="humid" name="Niiskus" unit="%"&gt;77.868&lt;/data&gt;
  &lt;data id="baro" name="&amp;Otilde;hur&amp;otilde;hk" unit="hPa"&gt;1006.958&lt;/data&gt;
  &lt;data id="wind_dir" name="Tuule suund" unit="&amp;deg;"&gt;125.647436610365&lt;/data&gt;
  &lt;data id="wind_len" name="Tuule kiirus" unit="m/s"&gt;3.11000784765891&lt;/data&gt;
  &lt;data id="lux" name="Valgustatus" unit="lx"&gt;-&lt;/data&gt;
  &lt;data id="sole" name="Kiirgusvoog" unit="W/m&lt;sup&gt;2&lt;/sup&gt;"&gt;593.985982297&lt;/data&gt;
  &lt;data id="gamma" name="Radioaktiivsus" unit="&amp;micro;Sv/h"&gt;-&lt;/data&gt;
  &lt;data id="precip" name="Sademed" unit="mm/s"&gt;0&lt;/data&gt;
  &lt;/meteodata&gt;
  </code></pre>
  
  <p>But I don't really know how to read this into a project in a way that would let me translate it into a fxml display with an update button. For reference I'm using IntelliJ and the data is just temperature, humidity and so on.</p>