title: R question: use xmlValue in xpathSApply, but get an empty list
body: <p>I'm attempting web scraping. Before posting my question, I looked up several similar questions such as <a href="https://stackoverflow.com/questions/28814454/use-xpathsapply-in-r">this</a>, and <a href="https://stackoverflow.com/questions/37675626/web-scraping-with-xpathsapply-getting-xmlvalue">this</a>. However, I still get stuck in my problem.</p>
  
  <p>Speicifically, I'm trying to extract the listed prices on a <a href="https://www.sahibinden.com/vasita?query_text_mf=alfa+romeo+giulietta&amp;query_text=alfa+romeo+giulietta" rel="nofollow noreferrer">second-hand cars website</a>. # In case you are unable to see the data because you're not a registered user of this website, I also attached the screenshot of this website's html elements:
  <a href="https://i.stack.imgur.com/DRvk0.jpg" rel="nofollow noreferrer">the screen shot.</a>
  The code I executed are:</p>
  
  <pre><code>library(httr)
  library(XML)
  
  url &lt;- "https://www.sahibinden.com/vasita?query_text_mf=alfa+romeo+giulietta&amp;query_text=alfa+romeo+giulietta"
  
  htmlresponse &lt;- GET(url)
  
  htmlcontent &lt;- content(htmlresponse, as="text")
  
  parsedhtml &lt;- htmlParse(htmlcontent, asText = TRUE)
  # The above is just following the conventions, and seems okay.
  
  prices &lt;- xpathSApply(doc = parsedhtml, path = "//div/td[@class='searchResultsPriceValue']", fun = xmlValue)
  # This command returned me an empty list.
  </code></pre>
  
  <p>Can someone have a look and give me some advices? Thank you very much!</p>