title: Parsing HTML from DOM
body: <p>I'm trying to parse the alt text from the following HTML code, that I got from the Xpath denoted as "FIRST_RECORD_LINK".</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;img data-aria-label-part="" src="https://pbs.twimg.com/media/Dc10VX_UwAAJxPM.jpg" alt="Millenials are more likely than Baby Boomers to be living with a disability. 
  Provided by the Center for Talent Innovation Disability Inclusion Report."&gt; </code></pre>
  </div>
  </div>
  </p>
  
  <p>My javascript code looks like this: </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var FIRST_RECORD_LINK = '//*[@id="stream-item-tweet-999772032685527042"]/div[1]/div[2]/div[3]/div/div/div/div/img';
  var FIRST_RECORD = document.evaluate(FIRST_RECORD_LINK, document, 
      null, XPathResult.ANY_TYPE, null).iterateNext();
  console.log(FIRST_RECORD); 
  var parser = new DOMParser();
  var xmlDoc = parser.parseFromString(FIRST_RECORD,"text/html");
  console.log(xmlDoc.getElementsByTagName("img")[0].childNodes[0].getAttribute("alt"));</code></pre>
  </div>
  </div>
  </p>
  
  <p>What am I doing wrong? I apologize in advance for not using the code boxes, i'm visually impaired and they're not working with my screen reader.</p>