HTML source from HTMLDocument (AxWebBrowser) in lowercase

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • panik

    #1

    HTML source from HTMLDocument (AxWebBrowser) in lowercase

    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


Working...