Hello,

I have some xml that looks like this:

<result>
   <summary>
      <voters>
         <a href="user1">user1</a>, <a href="user2">user2</a>
      </voters>
   </summary>
</result>

I would like to have a selector that just returned the string: <a
href="user1">user1</a>, <a href="user2">user2</a>

but can't seem to get it.  Here is what I have tried:
$("summary voters"); //returns: <voters><a href="user1">user1</a>, <a
href="user2">user2</a></voters>

$("summary voters").text(); //returns: user1, user2

$("summary voters a").join(); //this seems to fail without giving a
message

Can anyone point me in the right drection?

Sincerely,
Dennison

Reply via email to