title: Reading XML using R - Error
body: <p>I'm trying to scrape xml from this url: data.gov.in/sites/default/files/Potato_2013.xml using R  (version : 3.1.0)</p>
  
  <p>Tried</p>
  
  <blockquote>
    <p>library(XML) </p>
    
    <p>url&lt;- "data.gov.in/sites/default/files/Potato_2013.xml"</p>
    
    <p>doc&lt;- xmlParse(url,useInternalNodes=TRUE)</p>
  </blockquote>
  
  <p>But am getting an error saying </p>
  
  <blockquote>
    <p>Error: The XML content does not seem to be xml:</p>
  </blockquote>
  
  <p>Any way to fix this??</p>
  
  <p>typing just</p>
  
  <blockquote>
    <p>doc&lt;-xmlParse(url)</p>
  </blockquote>
  
  <p>gives a document is empty error.</p>
  
  <p>I am looking to extract the values for the nodes State, Commodity, Arrival Date etc.</p>
  
  <p>Thanks!</p>