Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to parse the HTML Code document given by the user,which is taken as the input file. All the HTML tag elements need to be seperated along with thier individual properties.
This again is taken as another file. So the output should be text file with all the html tags with their properties in text form useful for comparision.
It needs to be done in C#.NO need of considering asp,jsp etc... only static HTML code needs to be parsed.
Kindly give me the logic regarding the above case. Plz help with sample code snippets if possible.
Posted
Comments
Albin Abel 22-Feb-11 6:33am    
is this a winform app or web app? Simply web browser control can help if it is winform app

Parsing HTML Tags in C#[^] might help you.
 
Share this answer
 
Comments
fjdiewornncalwe 22-Feb-11 9:38am    
+5 for finding a CP article for the answer.
Hi,

See this[^], &

See this, on Code project itself[^]

Hope, both the links will help you solve your query better.

Anurag :)
 
Share this answer
 

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