I need to get a value between the tags of a text, so I found here in the site the function:
function ExtractText(aText, OpenTag, CloseTag : String) : String;
It worked perfectly, but with only the first value found.
But if I have more equal TAGs, to add all values within those equal TAGs in a ListBox, how should I do it, since I have not found anywhere. Example:
<t1>teste1</t1>
<t2>teste2</t2>
<t1>teste3</t1>
<t1>teste4</t1>
<t3>teste5</t3>
If I get the tags t1 and / t1, I wanted to display it like this in the ListBox:
teste1
teste3
teste4