Maybe this will be dumb but I need a really simple XML reader, I will have a XML file like this
i want to be able to get only the id I want of the tag I want for example, id 2 of the tag name
Is there a really simple way to do it????
Thanks in advance
Code:
<file>
<names>
<name id=1>Any name</name>
<name id=2> Any Second name></name>
</names>
<addresses>
<address id=1>Any Address</address>
</addresses>
</file>
i want to be able to get only the id I want of the tag I want for example, id 2 of the tag name
Is there a really simple way to do it????
Thanks in advance