Click here to Skip to main content
15,897,704 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi all,
I want to build an ASP (using C# language) application.
Given the URL of some web site it should retrive the XML source code of all the web page's links.

Thanks in advance.
Posted
Updated 25-Nov-10 0:54am
v2

thanks for repaly

i try his code but i get this exception
Invalid character in the given encoding. Line 12, position 55.
 
Share this answer
 
Comments
fjdiewornncalwe 25-Nov-10 8:29am    
Please don't reply to an answer with another answer. You should have used the "Add Comment" link within the answer you are replying to. That way, Toni would get an email notification of your response.
Try this,
Dim objXML As New XmlDataDocument()
objXML.Load(strUrl)
 
Share this answer
 
Comments
fjdiewornncalwe 25-Nov-10 8:22am    
Not an answer to the question. He wants to know how to parse through all the tags in a web page source to harvest the links in it.

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900