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

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -