HTML source from HTMLDocument (AxWebBrowser) in lowercase

  • Thread starter Thread starter panik
  • Start date Start date
P

panik

Hi,

retreiving the source code from an instance of the AxWebBrowser component,
using getBody(), through an IHTMLDocument2 object, makes the sourcode look
very bad:
All tags are in uppercase, all attributes are unquoted. Despite the fact
that the sourcecode that was input into the browser component had lowercase
HTML tags and quoted attributes.

Is there a way to prevent the IHTMLDocument2 object or the AxWebBrowser to
alter the sourcecode. or is the only way to do this parsing the Html source?

Thanks,
vincent
 
Back
Top