XML : xpathSApply + xmlAttrs returns empty list

I'm getting familiar with xml-editing in r. After doing basic training with sample data I'm trying to use my own data in queries. Following query returns always an empty list and I have not been able to find out why:

  xmlfile=xmlParse("forestpropertydata.xml", useInternalNodes = TRUE)  xpathSApply(xmlfile, "/ForestPropertyData/re:RealEstates/re:RealEstate", xmlAttrs)    

I'm using following data in my query: http://www.filedropper.com/forestpropertydata

No comments:

Post a Comment