This project has moved and is read-only. For the latest updates, please go here.

Remove Specific Tags

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

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