/// <summary> /// Adds a new attribute node. /// </summary> /// <param name="NewAttr">The attribute node to add.</param> /// <returns>The added node.</returns> public Attr SetAttributeNodeNS(Attr NewAttr) { return(Attr.Create(element.setAttributeNodeNS((IDOMAttr)NewAttr.GetWebKitObject()))); }
/// <summary> /// Removes the specified attribute. /// </summary> /// <param name="OldAttr">The attribute to remove.</param> /// <returns>The removed attribute.</returns> public Attr RemoveAttributeNode(Attr OldAttr) { return(Attr.Create(element.removeAttributeNode((IDOMAttr)OldAttr.GetWebKitObject()))); }