I have a XML, see sample below
<params>
<param id='1'>BEN</param>
<param id='2'>DAN</param>
<param id='3'>RYE</param>
<param id='3'>RYE</param>
<param id='3'>RYE</param>
</params>
How can I get all the param with attribute id=3?
Below is what I have done so far : xmlinfile is the XML file
inxml = xmlTreeParse(xmlinfile, handlers=list("comment"=function(x,...){NULL}), asTree = TRUE)
xmlList = xmlToList(inxml);
params = xmlList$'params'
Thanks ahead.