title: rvest - Scrape list and store items separately
body: <p>I  am trying to scrape information from a webpage:</p>
  
  <pre><code>rm(list = ls())
  
  library(rvest)
  library(XML)
  library(dplyr)
  
  utils::setInternet2(TRUE)
  options(download.file.method = "internal")
  
  url &lt;-"http://www.home24.at/smood/premium-komfortmatratze-smood-180-x-200cm"
  
  pgsession &lt;- html_session(url)               ## create session
  pgform    &lt;- html_form(pgsession)[[1]]       ## pull form from session
  
  pflege &lt;- pgsession %&gt;% 
                 jump_to(url) %&gt;% 
                 read_html() %&gt;% html_nodes(xpath="//*[@id='product-details']/div/div[2]/div[2]/div[2]/div[5]/ul") %&gt;% 
                 html_text()
  </code></pre>
  
  <p>I get the results like the following back:</p>
  
  <pre><code>"Doppeltuchbezug bis 95Â°C waschbarWebstoffbezug kann in die Reinigung gegeben werden"
  </code></pre>
  
  <p>However, I would like to get the results like that back, so separated for each list item:</p>
  
  <pre><code>"Doppeltuchbezug bis 95Â°C waschbar", "Webstoffbezug kann in die Reinigung gegeben werden"
  </code></pre>
  
  <p>Any suggestions how to separate the strings and scrape each list item individually?</p>