fujunxu
12 years agoContributor
how to read HTML files in TC?
I need to read HTML files in TC(I can read it as plain text file but I wonder if TC provide some easy way to read HTML files). But I only found how to read XML in TC. Does anyone have some example or tutorial for reading html files in TC ?
Thanks a lot!
Thanks a lot!
- Hi Aaron,
If it's a well-formed HTML file, you can work with it as with a usual XML file by using the selectNodes method.
Anyway, you can read the file by using the approach to read text files via aqFile or FileSystemObject.
Here are the articles where you can find more information: