Hi there,
I’m following the Corona XML tutorial (http://coronalabs.com/blog/2011/07/29/how-to-use-xml-files-in-corona/), and have also previously with succes extracted xml data using this tutorial.
But now I’v hit a block with getting data from an external api - so I’m posting the xml data here, hoping that someone can point me in the right direction. I need to get the data stored in the tabular Tag.
\<weatherdata\> \<location\>...\</location\> \<credit\>...\</credit\> \<links\>...\</links\> \<meta\>...\</meta\> \<sun rise="2015-02-25T07:22:37" set="2015-02-25T17:46:30"/\> \<forecast\> \<tabular\> \<time from="2015-02-25T13:00:00" to="2015-02-25T14:00:00"\> \<!-- Valid from 2015-02-25T13:00:00 to 2015-02-25T14:00:00 --\> \<symbol number="5" numberEx="40" name="Lette regnbyger" var="40d"/\> \<precipitation value="0.1" minvalue="0" maxvalue="1.0"/\> \<!-- Valid at 2015-02-25T13:00:00 --\> \<windDirection deg="224.3" code="SW" name="Sørvest"/\> \<windSpeed mps="4.7" name="Lett bris"/\> \<temperature unit="celsius" value="6"/\> \<pressure unit="hPa" value="1012.3"/\> \</time\>
I need to get the data stored in the tabular Tag - any help would be greatly appriciated.
Best Wishes
/Thomas