From: Michael Mason <[EMAIL PROTECTED]> > > What is the right way to parse a XML string using Xerces-c? > > I would like to process XML from char*, std::string, wchar_t*. > > You can use MemBufInputSource like this: > > SAXParser *parser = new SAXParser(); > MemBufInputSource *memBufIS = new MemBufInputSource((const XMLByte > *)xml_buf, strlen(xml_buf), "My XML Data", false);
Is there any way of parsing a XML string using Xerces-c and DOM rather than SAX?
