> Hi all, > > The API docs are not clear about whether the SAX2 > Parser can parse from any source other than a URI > (file or URL). I noticed in the Parser API that they > have this: > > virtual void Parser::parse ( const InputSource > & source ) [pure virtual] > > In the comments for this function, it says "The > application can use this method to instruct the SAX > parser to begin parsing an XML document from any valid > input source (a character stream, a byte stream, or a > URI)." > > However, in the SAXParser documentation, it only > mentions that it can parse from a FILE. Does anyone > know if I can definitely use a SAX parser to parse > either 1) a C++ string in memory, or 2) a C++ input > stream (string or byte). Thanks for any help you can > give me. >
Did you take a look at the samples, specifically StdInParse and MemParse? Jeroen. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]