klyn.io.xml.dom.XMLElement.setAttributeNode
method
public setAttributeNode(newAttr as Attr) as Attr throws DOMException:
Description

Performs a DOM operation.

Throws
  • DOMException if the DOM operation violates document ownership, hierarchy, naming, index, or node-state constraints.