Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HTML getting switched?
Message
 
 
To
15/04/2003 02:58:32
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00777574
Message ID:
00777727
Views:
35
Hi Bill,

The HTML is reformated by Webrowser control. You can download original HTML using URLDownloadToFile function http://www.news2news.com/vfp/?group=-1&function=268.

>I'm starting to use the VFP WebBrowser.
>
>I have this line in my code:
>= ALINES( THIS._iaLines, loFrame.documentElement.outerHTML )
>
>It works fine, except:
>
>when I right mouse on the page and select "View Source", I see this line:
><A href='...' target='_parent' title='Blue'>
>
>but during debugging I find that THIS._iaLines contains this line:
><A Title=blue href='...' target=_parent>
>
>Just in case you didn't notice, the title has been moved inside the brackets, and the single quotes have been lost.
>What gives?
>
>Is the "...documentElement.outerHTML" reading a different frame than "view source" is?
>Does "...documentElement.outerHTML" rearrange things inside brackets to suit itself?
>
>TIA
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform