title: How to parse a XML string instead of XML doc in c using libxml2 library
body: <p>All the examples in libxml2 documentation <a href="http://www.xmlsoft.org/tutorial/ix01.html" rel="noreferrer">libxml tutorial</a> are 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.</p>
  
  <pre><code>doc = xmlParseFile(docname);
  </code></pre>
  
  <p>Are there any inbuilt functions in libxml2 to parse character arrays?</p>