Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

libxml2 - xmlParseDoc vs xmlParseMemory

196 views
Skip to first unread message

Tobias Blass

unread,
Dec 17, 2010, 4:00:10 AM12/17/10
to
Hi
I want to parse an XML-file kept in memory and found the two functions
xmlParseDoc and xmlParseMemory.

xmlDocPtr xmlParseDoc(const xmlChar *cur);
xmlDocPtr xmlParseMemory(const char *buffer,int size);

What exactly is the difference between these two functions?

0 new messages