¡@

Home 

c# Programming Glossary: pnode.childnodes

HTML Agility Pack strip tags NOT IN whitelist

http://stackoverflow.com/questions/3107514/html-agility-pack-strip-tags-not-in-whitelist

all attributes not on white list foreach var item in pNode.ChildNodes item.Attributes.Where u attrWhiteList.Contains u.Name false.. and their innerText and attributes if not on whitelist. pNode.ChildNodes.Where u pWhiteList.Contains u.Name false .ToList .ForEach u.. u.Name false .ToList .ForEach u u.Remove pNode.ChildNodes.Where u pWhiteList.Contains u.Name false .ToList .ForEach u..