How to query this XML.

Apr 15, 2013 at 4:44 PM
Edited Apr 15, 2013 at 4:47 PM
Hello,

I was looking the documentation about linq.js and i saw you're implementing a way to query xml. I want to know if currently is there a way to query this XML.
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body>
    <GetUserResponse xmlns="http://tempuri.org/">
      <GetUserResult xmlns:a="http://schemas.data contract.org/2004/07/Service" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
        <a:id>1</a:id>
        <a:nombre>George</a:nombre>
        <a:direccion>Address</a:direccion>
        <a:email>Email</a:email>
      </GetUserResult>
     </GetUserResponse>
  </s:Body>
</s:Envelope>
Note: I am getting this XML inside a string variable.

As you can see, the SOAP XML returns 4 properties: <a:id> <a:nombre> <a:direccion> <a:email>, I want to get the values inside each property.

Thank you.