On Jan 11, 2008 6:09 AM,  <[EMAIL PROTECTED]> wrote:
> Is it possible to load HTML from stream instead of URI?
>
> Thanks in advance.

There has to be a URI associated with the document, but you can
implement a custom protocol handler (see
http://developer.mozilla.org/en/docs/nsIProtocolHandler and
http://www.nexgenmedia.net/docs/protocol/ ) that returns your own
nsIChannel implementation, which can be used to pass data to the
parser in chunks, in particular from a stream.

Nickolay
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to