convert htmlagilitypack node to htmlelement .net

Topics: Developer Forum, Project Management Forum, User Forum
Feb 25, 2012 at 11:04 AM

I have just used htmlagilitypack to extract all link as htmlnode from an html document, but i need this returned from my function as htmlelement

Dim Tags As HtmlNodeCollection = docNode.SelectNodes(strXpath)
Dim ListResult As New List(Of HtmlElement)
For Each Tag As HtmlNode In Tags
Return Nothing

How can i do this?