Click here to Skip to main content
15,912,578 members

Comments by gsknbabu (Top 2 by date)

gsknbabu 20-Jul-11 9:06am View    
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
gsknbabu 20-Jul-11 2:34am View    
Thanks John,
i used HtmlAgilityPack library to pick content of div tag element.