Remove Specific Tags

Oct 6, 2007 at 10:47 PM
Is it possible to remove only specific tags using the html agility pack with the convert to text functions?

Thanks
Darrell
Coordinator
Nov 17, 2007 at 4:55 PM
Of course. Just select the nodes you want to remove (using SelectNodes for example), and remove them using node.ParentNode.RemoveChild(node);