title: How can i get text from Tags?
body: <p>I have some question.How can i get text between tags in html??</p>
  
  <pre><code>&lt;ReviewsClientModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.OneStore.Site.Models"&gt;
  &lt;Items&gt;
  &lt;ReviewsClientModel.ReviewClientModel&gt;
  &lt;HelpfulNegative&gt;0&lt;/HelpfulNegative&gt;
  &lt;HelpfulPositive&gt;2&lt;/HelpfulPositive&gt;
  &lt;IsPublished&gt;true&lt;/IsPublished&gt;
  &lt;IsTakenDown&gt;false&lt;/IsTakenDown&gt;
  &lt;Rating xmlns:d4p1="http://schemas.datacontract.org/2004/07/Microsoft.OneStore.Site.Models.ViewModels"&gt;
  &lt;ReviewId&gt;5ce5dc85-466d-a1cc-efe7-70bdd5183dfb&lt;/ReviewId&gt;
  &lt;ReviewText&gt;I downloaded this app it had someone in his eyes its kinda black so I don't know who it is.my cousin thinks its not scary but I get creeped out wen I saw him myself. Whoevers not scared then just wow just wow. FOR SAFETY DONT DOWNLOAD&lt;/ReviewText&gt;
  &lt;SubmittedDateTime&gt;2015-06-25T20:13:05.633&lt;/SubmittedDateTime&gt;
  &lt;Title&gt;FOR SAFETY DON"T PLAY&lt;/Title&gt;
  &lt;UserId&gt;985157380267961&lt;/UserId&gt;
  &lt;UserName&gt;natalie&lt;/UserName&gt;
  &lt;ViolationsFound&gt;false&lt;/ViolationsFound&gt;
  &lt;/ReviewsClientModel.ReviewClientModel&gt;
  </code></pre>
  
  <p>For example I would like get "5ce5dc85-466d-a1cc-efe7-70bdd5183dfb". 
  I tried that : </p>
  
  <pre><code>public function getXpath($str)
      {
          \DB::connection('mongodb')-&gt;disableQueryLog();
          libxml_use_internal_errors(true);
          $str = str_replace("\0", '', $str);
          $dom = new \DomDocument();
          $dom-&gt;loadHTML('&lt;?xml encoding="UTF-8"&gt;' . $str);
          return new \DomXPath($dom);
      }
  $xpath = $this-&gt;getXpath($str);
  $tmpCommId = $xpath-&gt;query("//ReviewId");
               $comm_id = trim($tmpCommId-&gt;item($j)-&gt;nodeValue);
  </code></pre>
  
  <p>I used Curl to download Web Site,and i saved in $str.  </p>