[jQuery] Newbie trying to Ajax in IE8

[jQuery] Newbie trying to Ajax in IE8


hello, im newb in jquery & ajax. im trying to make this code work in IE8 and i
dont know what im doing wrong.
is a simple call with $.ajax to get a word from a php
Works fine in Firefox and Chrome, but in IE8 seems like .find wont find the
<word> tag.
i been looking at the discussion mails but cant find an answer, i hope someone
can help me.
thanks.
pd : sorry for my bad english. =D
test.html
------------------------------
<html><head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" >
<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
<script type="text/javascript">
function test()
{ $.ajax({type:"GET",url:"test.php",
success: function(xml)
{ alert(xml); // just to check im getting the xml text
$(xml).find('word').each(function(){
alert("test 1 - the word is : "+$(this).text());
});
                
alert("test 2 - the word is : "+$("word", xml).text());
}
});
}
</script>
<title></title>
</head>
<body>
<input type="button" onClick="test()" value="GO">
</body>
</html>
test.php
-----------------------------------------
<?php
header('Content-type: text/xml');
$xml = "<?xml version='1.0' encoding='ISO-8859-1'>\n";
$xml .= "<answer>";
$xml .= " <word>hello</word>";
$xml .= "</answer>";
echo $xml;
?>