Hi, using the XML package reading an XML file library("XML") doc <- xmlParse(file='abc.xml') I got the above error message. The problem was that the file was located at a different directory. So the file was not found rather than containing invalid XML. Best Sigbert -- http://u.hu-berlin.de/sk