The data points are between <Capital> and </Capital> on the XML file. It works fine up to the point when I reach 100 data values (i.e. in the code <Capital>(.*)</Capital>.* is copied and pasted 100 times). At this point it completely stops reading any data points. 99 points works beautifully but as soon as the 100th point comes into play the graph that is being plotted ceases to exist, it doesn't even give me the first 99 points any more.
Has anyone else had this problem and if so is there a solution so that 100 points can be read?
P.s. If you would like the full Rainmeter code to work with just ask for it in a comment but it is fairly long and much of it is unimportant. You would also need the XML file with 100 data points to show the problem.
eddie2302 wrote: ↑February 28th, 2019, 1:11 pm
Thanks balala, your knowledge is always appreciated.
It seems like a design flaw in the system though. I guess I will have to write a workaround by using numerous WebParser commands when I get time.
Depending on your XML file formatting, you may be able to use StringIndex2 to parse more than 99 items.
If your XML has 'sections' that contain related information e.g.; <item>...</item> which can be captured, you could use StringIndex2 to parse the captured section and capture individual parts from that section. This would allow almost unlimited captures.