KXML::Node
Instance methods
add_next_sibling(node : Node) : Node
Moves node (removing it from any existing parent first) to just after this node among the parent's children. Repeated calls on the same anchor accumulate in insertion order: each new node chains after the previous insertion while that node is still the anchor's immediate next sibling. (libxml2's xmlAddNextSibling would reverse the run; this deviation is deliberate.)
add_prev_sibling(node : Node) : Node
Moves node to just before this node (xmlAddPrevSibling semantics).
doc_order
Document order, assigned by the parser (creation order). 0 for the document node itself.
doc_order=(doc_order : Int32)
Document order, assigned by the parser (creation order). 0 for the document node itself.
document
Sourceparent_element
Sourceparent_node
Sourceparent_node=(parent_node : Node | Nil)
Sourceto_xml
Sourceunlink
Removes this node from its parent's child list (mutation API for consumers that edit documents in place; a no-op without a parent).