Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HTML getting switched?
Message
 
 
À
15/04/2003 02:58:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00777574
Message ID:
00777727
Vues:
33
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform