Diego,
I think the problem is in your tests. Test3 fails because its result div has an id of 'Result2' so it never gets updated. Test5 fails because there is no test element to find: n = $('test', $('<div><em>Passed!</em></div>')); Mike
I've setup a page with tests here: http://www.fyneworks.com/jquery/jQuery-XML-Problems/