I have an XML file DemoFeed.XML and am trying to get it into a dataframe using the XML package and function xmlToDataFrame. However I am getting an error message:Error: XML content does not seem to be XML, nor to identify a file name
<demo_feed>
<TimeStamp>20090610153000</TimeStamp>
<XAU Bid="952.2" Ask="953.0"/>
<XAG Bid="15.17" Ask="15.22"/>
<XPT Bid="1266" Ask="1271"/>
<XPD Bid="256" Ask="261"/>
<EUR Bid="1.3993" Ask="1.3996"/>
</demo_feed>
I would be grateful for your help.
Kind regards,
Adam
Hansi’s comment is correct. This is one way to do it: