Hi Mike,

Mike Oliver <[EMAIL PROTECTED]> writes:

> I can't find anything on how to get a DOMBuilder
> object to parse a std::istream.  Surely this must
> be possible?

Yes, but you will need to implement your own InputStream which
delegates to std::istream and InputSource which returns your
input stream. We've done this in our XML data binding compiler[1].
You can take a peek if you would like, it is in
libxsd/xsd/cxx/xml/sax/std-input-source.hxx.

[1] http://www.codesynthesis.com/products/xsd/


hth,
-boris


-- 
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding

Reply via email to