Re: How to get source HTML from WebBrowser?

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: mayayana (mayaXXyana1a_at_mindYYspring.com)
Date: 02/27/05


Date: Sun, 27 Feb 2005 00:59:02 GMT


  I didn't realize there might be variations
in the source of outerHTML. I knew that
IE would fiddle with it if the DOM was used
to change code, but I didn't know it would
actually *load* the source as an altered version.
  That's got me curious. I suppose it makes
sense that IE would be working from the
DOM version, but apparently the original
source is also "in there somewhere" if
it can be viewed from the menu.

--
_____________________________
mayayXXana1a@mindYYspring.com
For return email remove XX and YY.
_____________________________
Mark Finkle <mark_finkle@nospam.hotmail.com> wrote in message
news:uIYL#OEHFHA.3624@tk2msftngp13.phx.gbl...
> The webpage may have a <!DOCTYPE> element at the top of the source.
> DocumentElement.outerHTML will not get it.
>
> Mark Finkle
>
> "mayayana" <mayaXXyana1a@mindYYspring.com> wrote in message
> news:GUyTd.6598$Ba3.2309@newsread2.news.atl.earthlink.net...
>
> >    I don't know what you mean by a "DOM tree". What you'll
> > get is the text of the webpage, starting with <HTML> and
> > ending with </HTML> (though the DocumentElement property
> > is not available with IE4).
> >
> >
> >
>
>


Relevant Pages