Is it possible to find an xml element by searching with the value of a child element?
So for XML such as:
<route>
<name>Lakeway</name>
<abrv>LAKE</abrv>
<eta>
<time>00:30</time>
<dest>MAIN</dest>
</eta>
</route>
If I only have the value of the abrv, how would I parse the xml so as to get at the eta tags' child elements?
Is this doable with jQuery without looping through each element and comparing the values to the defined variable? Or is there a better way to do this?
EDIT:
I am trying to parse an XML feed from another domain. I'm not sure if I can do that with the xmlParse function, or if I'll need to use jQuery's Ajax functions?