General information
Category:
Coding, syntax & commands
>Suhas,
>>how can i import a Html table data into Foxpro table ?
>>Is there a free Html parser or will I have to scan through the HTML and extract the data ?
>
>IE works as a HTML free parser for you.
>Create an Instance of IE, load the file, walk the Document Object Model (DOM) for the table and extract the data.
>Works fine for not-too-large files...
>
>HTH
>
>thomas
I did something like this but couldnt get it right
m.o1 = createobject("internetexplorer.application")
m.o1.navigate2(filename)
do while m.o1.readystate # 4
enddo
?m.o1.document.body.childnodes[1].innertext
That gives all the data in the html but not of the table alone
also extracting data from the return is not easy because it has no delimiters...
any better way?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only