HTML source from HTMLDocument (AxWebBrowser) in lowercase

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top