How would one get the value/text of an anchor DOMElement?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4629071/how-to-get-anchor-text-using-domdocument">How to get Anchor text using DomDocument?</a><br>
  <a href="http://stackoverflow.com/questions/6399924/getting-nodes-text-in-php-dom">Getting node&#39;s text in PHP DOM</a>  </p>
</blockquote>



<p>I have a script that finds all the anchor tags of a certain class in a DOMDocument. I am looking to echo the text that is contained within the <code>&lt;a&gt;"....."&lt;/a&gt;</code> tags. </p>
