/// <summary>Tests whether two nodes are the same by attribute comparison.</summary> public override bool isEqualNode(Node other) { if (other == this) { return(true); } AttributeNode t = other as AttributeNode; return(t != null && t.name == name && t.nodeValue == nodeValue); }
/// <summary>Remove the named attribute. element[name] is generally better.</summary> public void removeAttributeNode(AttributeNode node) { removeAttribute(node.name); }
/// <summary>Set the named attribute. element[name] is generally better.</summary> public void setAttributeNode(AttributeNode node) { setAttribute(node.name, node.value); }
/// <summary>Does this element have the named attribute? element[name] is generally better.</summary> public bool hasAttributeNode(AttributeNode node) { return(hasAttribute(node.name)); }
/// <summary>Remove the named attribute. element[name] is generally better.</summary> public void removeAttributeNode(AttributeNode node) { this[node.name] = null; }
/// <summary>Set the named attribute. element[name] is generally better.</summary> public void setAttributeNode(AttributeNode node) { this[node.name] = node.value; }
/// <summary>Does this element have the named attribute? element[name] is generally better.</summary> public bool hasAttributeNode(AttributeNode node) { return(this[node.name] != null); }