Click here to Skip to main content
15,890,741 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
I have a html file with some div tags in it.i want div ids for further validations.
how can i got the div id values using Html Agility Pack.
previously i got all the content of the div from.
doc.DocumentNode.SelectNodes("/html/body/div[@id='login']")

i want only 'login' rather than all the content.

Thanks & Regards
gsknb
Posted
Updated 20-Jul-11 3:07am
v2

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