-
December 28th, 2011, 11:25 AM
#1
Html to csv
Hi everyone ,
I need a solution to read an HTML file which has many tables .
Iterate through all the tables and convert them to CSV format .
Is it possible to read/parse html files using MSXML 6.0 ?
Is there any class that can perform such a task for native c++?
Thanks ,
Jenny
-
December 28th, 2011, 11:52 AM
#2
Re: Html to csv
You might find a class that does what you need if this is a very common problem. If not you have to write your own code and msxml is probably as useful as any other xml parser.
-
December 28th, 2011, 12:46 PM
#3
Re: Html to csv
Thanks ,
When I tried to load the html document with msxml it failed .
But when I try to load a regular xml schema is succeeds.
Does someone have a code which loads html to msxml class?
-
December 29th, 2011, 05:13 AM
#4
Re: Html to csv
Not all HTML formats are valid XML. Have a look here: http://stackoverflow.com/questions/4...-c-html-parser
Cheers, D Drmmr
Please put [code][/code] tags around your code to preserve indentation and make it more readable.
As long as man ascribes to himself what is merely a posibility, he will not work for the attainment of it. - P. D. Ouspensky
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|