View Single Post
Old 07-19-2019, 01:18 PM   #1
Newly Registered User
Join Date: Jan 2018
Location: Bratislava, SR
Posts: 13
Thanks: 8
Thanked 1 Time in 1 Post
duke217 is on a distinguished road
displaying data from an xml file on a form

Hi all,

I am trying to display data from an xml file that I can get from the web.

Here's how it works:

If I call this URL in a browser:
the website returns an XML page that looks like ths:

<response xmlns:xsd="" xmlns:xsi="" version="1.2" xsi:noNamespaceSchemaLocation="">
<data_source name="metars"/>
<request type="retrieve"/>
<data num_results="1">
EGLL 192050Z AUTO 21009KT 9999 -RA FEW011 BKN018 BKN024 18/17 Q1009 TEMPO RA BKN009
<sky_condition sky_cover="FEW" cloud_base_ft_agl="1100"/>
<sky_condition sky_cover="BKN" cloud_base_ft_agl="1800"/>
<sky_condition sky_cover="BKN" cloud_base_ft_agl="2400"/>
Now, what I have been trying to achieve for quite some time is to display the text between the <raw_text> and </raw_text> tags to be displayed on my form.

Any idea how to do that?

duke217 is offline   Reply With Quote