Home | Info | Community | Development | myReactOS | Contact Us
xmlReadMemory: : a pointer to a char array : the size of the array : the base URL to use for the document : the document encoding, or NULL : a combination of xmlParserOption
parse an XML in-memory document and build a tree.
Returns the resulting document tree
Definition at line 14688 of file parser.c.
Referenced by gen_xmlDocPtr(), get_api_doc(), parseAndPrintFile(), test_xmlReadMemory(), testDocumentRangeByte1(), and testDocumentRangeByte2().
{ xmlParserCtxtPtr ctxt; ctxt = xmlCreateMemoryParserCtxt(buffer, size); if (ctxt == NULL) return (NULL); return (xmlDoRead(ctxt, URL, encoding, options, 0)); }