All the examples in libxml2 documentation libxml tutorialare mentioned using external xml files,what if i need to parse a string with xml content in it, is it really possible in libxml2 c library, or the only solution would be taking the string saving it to the file and sending that file name as argument to the below function. But it would seriously effect the performance which is not at all a good idea. doc = xmlParseFile(docname);I am totally newbie , any inbuilt functions in libxml2