On Apr 5, 2:30 pm, Christian Biesinger <[EMAIL PROTECTED]> wrote:
> Michael R wrote:
> > I would like to use Mozilla framework to load HTML from the web and then
> > parse it to construct DOM.
> > I tried to use nsIWebBrowser but it seems to be very coupled with UI.
> > How can I disable UI part ?
>
> Why not just use nsIDOMParser?
>
> --
> All the world's a stage,
> And all the men and women merely players:
> They have their exits and their entrances;
> And one man in his time plays many parts, [...]     --W. Shakespeare

nsIDOMParser currently only handles XML/XHTML
Work is being done to enable tagsoup HTML parsing in the Fx3 timeframe.

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

Reply via email to