> Can I use jQuery's xPath capability to locate an element in an arbitrary XML
> file loaded using Ajax?
Yes! For example:
$.post("test.xml",function(data){
$("//foo/bar",data).each( ... );
// or, with CSS:
$("foo > bar").each( ... );
});
It's important to note that jQuery only supports a very very small
subset of the full XPath spec. More details here:
http://proj.jquery.com/docs/Base/Expression/XPath/
--John
--John
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/