xmlDocPtr xmlParseDoc(const xmlChar *cur);xmlDocPtr xmlParseMemory(const char *buffer,int size);
What exactly is the difference between these two functions?