Hello,
my question is in the title.
What is the best solution to select a balise by an attribute.
My example:
Code
<data name="data_element_1" lien="17"></data><data name="data_element_2" lien="34"></data>
<data name="data_element_3" lien="11"></data>
<data name="data_element_4" lien="22"></data>......
I want to know the name of the element with the link to 34.
The only solution i can imagine so far is to do a big "for" and loop on all the datas to test if link==34.
Not a super method of course. Do you have a better idea ?
Best regards,
Nicolas