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.

Regards,
Marcus



__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to