thanks for the reply..
but couldnt' understand much...guess i need to study xpath a little more,before attempting....
from the first reply i could understand that i'll get a nodelist which will have all the nodes
that is
<a>
asdfsaf
<b>
abc
<c>
def
but how do i get the tag asdfsaf from that ??