title: How to use jQuery for XML parsing with namespaces
body: <p>I'm new to jQuery and would like to parse an XML document.</p>
  
  <p>I'm able to parse regular XML with the default namespaces but with XML such as:</p>
  
  <pre><code>&lt;xml xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema"&gt;
     &lt;s:Schema id="RowsetSchema"&gt;
       &lt;s:ElementType name="row" content="eltOnly" rs:CommandTimeout="30"&gt;
         &lt;s:AttributeType name="ows_ID" rs:name="ID" rs:number="1"&gt;
          &lt;s:datatype dt:type="i4" dt:maxLength="4" /&gt;
        &lt;/s:AttributeType&gt;
         &lt;s:AttributeType name="ows_DocIcon" rs:name="Type" rs:number="2"&gt;
          &lt;s:datatype dt:type="string" dt:maxLength="512" /&gt;
        &lt;/s:AttributeType&gt;
         &lt;s:AttributeType name="ows_LinkTitle" rs:name="Title" rs:number="3"&gt;
          &lt;s:datatype dt:type="string" dt:maxLength="512" /&gt;
        &lt;/s:AttributeType&gt;
         &lt;s:AttributeType name="ows_ServiceCategory" rs:name="Service Category" rs:number="4"&gt;
          &lt;s:datatype dt:type="string" dt:maxLength="512" /&gt;
        &lt;/s:AttributeType&gt;
      &lt;/s:ElementType&gt;
    &lt;/s:Schema&gt;
     &lt;rs:data&gt;
      &lt;z:row ows_ID="2" ows_LinkTitle="Sample Data 1" /&gt;
      &lt;z:row ows_ID="3" ows_LinkTitle="Sample Data 2" /&gt;
      &lt;z:row ows_ID="4" ows_LinkTitle="Sample Data 3" /&gt;
    &lt;/rs:data&gt;
  &lt;/xml&gt;
  </code></pre>
  
  <p>All I really want are the <code>&lt;z:row&gt;</code>.</p>
  
  <p>So far, I've been using:</p>
  
  <pre><code>$.get(xmlPath, {}, function(xml) {
      $("rs:data", xml).find("z:row").each(function(i) {
          alert("found zrow");
      });
  }, "xml");
  </code></pre>
  
  <p>with really no luck. Any ideas?</p>