Click here to Skip to main content
Click here to Skip to main content

Parsing an HTML document by using a recursive function

, 19 Sep 2011 CPOL
In response to the request to use a website (instead of a file), the pertinent code is shown below. Note that you will need to replace "www.somewebsite.com" with the website page that you want to capture the source code (HTML, for example) from.Dim webclient As System.Net.WebClient = New...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

14 Apr 2010
marc9889
2 alternatives  
This is an example of one way to parse an HTML document by using a recursive function. In this example, an html document is loaded from a text file, but the code also demonstrates (in remarks) using a web page as a source file.When the recursive function is called, a conditional statement...
28 Sep 2011
ac-2008
Maybe this would have saved you some efforts: http://developer.mindtouch.com/SgmlReader[^]. I have already developed a project (Delivery Predictor) with this reader: http://achristov.info/Projects.aspx[^]

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

marc9889
Software Developer (Senior) Jacobs Technology
United States United States
No Biography provided

| | Privacy | Terms of Use | Mobile
Web04 | 2.8.150327.1 | Last Updated 19 Sep 2011
Article Copyright 2011 by marc9889
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid