title: Using xPath to get price (using greater than)
body: <p>How could I use the following xPath example:</p>
  
  <pre><code>//book[price&gt;35.00]
  </code></pre>
  
  <p>With this (since the dollar sign is static):</p>
  
  <pre><code>&lt;div class="book"&gt;&lt;span class="price"&gt;$35&lt;/span&gt;&lt;/div&gt;
  </code></pre>
  
  <p><strong>------------------
  Edited from answer
  ------------------</strong></p>
  
  <pre><code>    $vu_link = get_field('vu_link');
  
      $ch3 = curl_init($vu_link);
      curl_setopt($ch3, CURLOPT_RETURNTRANSFER, true);
      $cl3 = curl_exec($ch3);
  
      $dom3 = new DOMDocument();
      @$dom3-&gt;loadHTML($cl3);
      $xpath3 = new DOMXpath($dom3);
  
      $price3 = $xpath3-&gt;query("//div[@class = 'price-box' and substring(span[@class = 'price'], 2) &gt; 100]");
  
      foreach ($xpath-&gt;query($price3) as $node) {
      echo $dom-&gt;saveXML($node), "\n";
      }
  </code></pre>