Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting html --> text document
Message
 
 
To
24/10/2002 12:39:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00710635
Message ID:
00795546
Views:
105
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform