Re: How to get HTML source from a nsIDOMNode
Jens Sorensen <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
btw, you could also use InnerHtml https://developer.mozilla.org/En/DOM/Element.innerHTML Cheers, Jens On Thu, Jun 25, 2009 at 8:58 PM, Jens Sorensen<[email protected]> wrote: > Try nsIDOMSerializer > > http://www.oxymoronical.com/experiments/apidocs/interface/nsIDOMSerializer > > and if you want to go the other way try nsIDOMParser > > http://www.oxymoronical.com/experiments/apidocs/interface/nsIDOMParser > > Cheers, > Jens > > > On Thu, Jun 25, 2009 at 4:10 PM, [email protected]<[email protected]> wrote: >> It appears very simple but I can't find a good direct API to it. Does >> anyone know a way? Thanks. >> _______________________________________________ >> dev-tech-dom mailing list >> [email protected] >> https://lists.mozilla.org/listinfo/dev-tech-dom >> >