KXML::Element
Inherits KXML::Node < Reference < Object
Constructors
Class methods
Instance methods
Appends node as the last child (moving it out of any existing parent first - libxml2's xmlAddChild move semantics). Adjacent text nodes are coalesced, mirroring xmlAddChild, so a mutated document re-parses to the same tree it serializes to.
The prefix bound to href on this element or its nearest ancestor.
In-scope namespace bindings (prefix -> href) from the nearest element upward; nearer bindings win.
libxml2's xmlGetNodePath: /ancestor/local[n] with the [n] index counted among same-name siblings (omitted when unique); attributes append /@name.
Sets attribute name (Clark {uri}local or plain) to value,
declaring the namespace on this element when no in-scope binding
exists (xmlSetNsProp + xmlNewNs semantics).
Replaces the entire child list with a single text node - the
element-content setter the real module's node.text = value uses.