klyn.io.xml.dom.XMLDocument.createAttribute
method
public createAttribute(name as String) 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.