Ajax

I have the following XML which I have got in ‘loader’ after an Ajax asynch ‘post’:

<scopes>
<POST>
<param0>
<param1 name='id'>100</param1>
<param1 name='email'>kenneth@abcde.com</param1>
</param0>
</POST>
</scopes>

I also have the following code:

dhtmlxAjax.post("lib/npl_reject.php", value3);
var loader = dhtmlxAjax.postSync("lib/npl_reject.php", value3);
var result = loader.doXPath("//POST");
for(var i=0;i<result.length;i++){ 
   usermail = loader.doXPath("./param0/param1",result[i]);
   alert(usermail[1].getAttribute("name"));
}

now I can get the attribute name, but can not get the e-mail address :kenneth@abcde.com

how can I get it.
thanks

You can use

alert(usermail[1].nodeValue)