Hi all ,
"How can we select all the nodes which does not have the specified list of attributes'
OR in other words i can say
"How can i remove the unwanted attributes
Eg: i have tags say <div><p> and <img>
<div> and <p> tag can have the following attributes
and <img> can have the follwoing
How can i remove if there are any other attributes?
I tried htmldoc.DocumentNode.SelectNodes("//*[not(@id | @styleName | @typeName |@source | @alt)]");
but it is not working as per my need?
Any help will be appriciated!