class

KXML::Node

Inherits Reference < Object

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.)

Source
add_prev_sibling(node : Node) : Node

Moves node to just before this node (xmlAddPrevSibling semantics).

Source
doc_order

Document order, assigned by the parser (creation order). 0 for the document node itself.

Source
doc_order=(doc_order : Int32)

Document order, assigned by the parser (creation order). 0 for the document node itself.

Source
document
Source
parent_element
Source
parent_node
Source
parent_node=(parent_node : Node | Nil)
Source
to_xml(io : IO, pretty : Bool, depth : Int32, indent_size : Int32) : Nil
Source
to_xml(io : IO) : Nil
Source
to_xml
Source