Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - how to parse an xml message in std::string (C++) using xerces sax2 >Thread Next - Re: how to parse an xml message in std::string (C++) using xerces sax2 Re: how to parse an xml message in std::string (C++) using xerces sax2To: NULL Date: 9/6/2007 4:14:00 PM muralibala68@g... < muralibala68@g...> wrote in <1189083546.325681.118450@k...>: > How do I parse an xml message that is in std::string using > sax2 parse method that does not seem to take a string and > expects a filename? The API reference seems to indicate you'd have to construct a MemBufInputSource from your std::string (statically cast a pointer to the first character to XMLByte*), then supply the resulting object as a parameter to the overloaded parse() member function. -- This chickenus crossed the roadus while yodelingus. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
