html agility pack - HtmlAgilityPack add new element and copy all inline css attributes to the new one -
is there way copy inline css attributes 1 node new node add in htmlagilitypack ?
as far can tell can't assign 1 htmlattributecollection another, can copy them 1 one this:
foreach (htmlattribute attr in oldnode.attributes) newnode.attributes.add(attr);
Comments
Post a Comment