Module | REXML::Node
In: | temp/node.rb

Represents a node in the tree. Nodes are never encountered except as superclasses of other objects. Nodes have siblings.

### Methods

each_recursive find_first_recursive indent index_in_parent next_sibling_node parent? previous_sibling_node to_s

### Public Instance methods

each_recursive() {|node| ...}

Visit all subnodes of `self` recursively

find_first_recursive() {|node| ...}

Find (and return) first subnode (recursively) for which the block evaluates to true. Returns `nil` if none was found.

indent(to, ind)
index_in_parent()

Returns the position that `self` holds in its parent‘s array, indexed from 1.

next_sibling_node()

@return the next sibling (nil if unset)

parent?()
previous_sibling_node()

@return the previous sibling (nil if unset)

to_s(indent=nil)

indent: | DEPRECATED This parameter is now ignored. See the formatters in the REXML::Formatters package for changing the output style.

[Validate]