I need to do a sum of values from an xml file. As I have not worked with Curl extracting data from another file or page, I do not even know how to start. the file layout would be this.
0|0|0|0|3|0|0|46.000|
The value to be added would be the 46,000 + values of the next lines. More should be considered only the lines that have the value 3.
Does anyone have any type code? I already researched and found nothing related.