> If that's the exact code you're using, then you should first convert the XML > string into a jQuery object, like this... > > xml = $(' {xml goes here} '); >
Diego, John I changed my snippet as follows and it is still works only in FF, not in IE7 <script src="jquery.js"></script> <script> var xml = "<NewDataSet>" + "<Table1>" + "<a>Hello</a>" + "<b>jQuery</b>" + "</Table1>" + "</NewDataSet>"; xml = $(xml); alert($("Table1", xml).text()); </script>