Forum Discussion

fujunxu's avatar
fujunxu
Contributor
12 years ago
Solved

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...
  • TanyaYatskovska's avatar
    12 years ago
    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: