Hello)
Help please with parsing .xml
The file has a header and five blocks with info.
I do this:
link = ReadFile ("URL.xml")
Split (link, "<day ", TRUE, data, datas [1], datas [2], datas [3], datas [4], datas [5])
The data in datas [1], datas [2], datas [3], datas [4], datas [5] look like this:
<day>
<daytime>
<time>infa</ time>
<time2>infa</ time2>
<time3>infa</ time3>
</ daytime>
<nighttime>
<time>infa</ time>
<time2>infa</ time2>
<time3>infa</ time3>
</ nighttime>
</ day>
Tell me how to get the info from the block<nighttime>. Of<daytime>I get everything through:
pos = Find (data, "<time ")
If (pos), etc.
Thank you: thank_you:
Post has been editedbol123 - 19.12.14, 21:07Reason for editing:>