title: XML XPathResult getting Image url
body: <p>I have a tag in XML file which looks something like this:</p>
  
  <pre><code>&lt;enclosure type="image/jpeg" length="99974" url="something" /&gt;
  </code></pre>
  
  <p>how to get the url of an image from this tag ?</p>
  
  <p>for other things I do something like this:</p>
  
  <pre><code>var Title = document.evaluate( '//item/title', dom, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null );
  </code></pre>