0
我想弄清楚如何從節點中刪除特定的樣式值。 我正在使用element.Attributes.Remove(element.Attributes["style"]);
刪除所有樣式,但我只想刪除具有特定值的樣式。從使用HtmlAgilityPack移除具有特定值的屬性?
<tr style='background-color:rgb(255, 255, 153);'>
即
刪除的風格,但不是從
<tr style='background-color:rgb(0, 0, 255);'>
我還要再像一類添加到同一節點。