Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting html --> text document
Message
 
À
24/10/2002 12:39:43
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00710635
Message ID:
00795546
Vues:
104
I had managed to save the data into html format that just change the oText = oDoc.documentElement.innertext to oText = oDoc.documentElement.innerhtml. Then change the extension file to html format, STRTOFILE( oText, "MyInnerText.html" ). I solved my problem.

I got one problem using oDoc.documentElement.innertext that I can't convert the text, save into foxpro table using the command "append from ... type delimeted with tab". Because of the text like below:
**start----
CounterCodeOpenDay
HighDay
Low Last Change% ChangeVol
'000Buy/bcumSell/scum
AJI26582.702.702.592.59-0.11-4.1%252.60/162.68/3
ANGKASA50610.300.3050.2950.3050.0051.7%10610.295/2200.305/211
APOLLO64321.761.781.741.780.052.9%5521.77/1001.79/10
ASIAFLE71294.144.304.104.300.102.4%4844.20/104.30/120
AYAMAS94151.381.431.371.430.064.4%16021.40/911.42/18
**end----

I want the text like this:
AJI 2658 2.70 2.70 2.59 2.59 -0.11 -4.1% 252.60/16 2.68/3

so I can append into foxpro table.

I hope can get a help from you. Thank you very much.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform