public override Node CloneNode(Boolean deep = true) { var node = new Attr(); CopyProperties(this, node, deep); node._value = _value; return(node); }
public Attr SetAttributeNode(Attr attr) { if (attr.ParentNode != null) { throw new DOMException(ErrorCode.InUse); } attr.ParentNode = this; var oldAttr = _attributes.SetNamedItem(attr); if (oldAttr != null) { oldAttr.ParentNode = null; } return(oldAttr); }
public Attr SetAttributeNodeNS(String namespaceURI, Attr attr) { return(SetAttributeNode(attr)); }
public override Node CloneNode(Boolean deep = true) { var node = new Attr(); CopyProperties(this, node, deep); node._value = _value; return node; }