Ruby REXML::Node Functions

EditRocket provides the following information on REXML::Node functions in the Ruby source code builder.

each_recursive() - Visit all subnodes of self recursively

find_first_recursive() - 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) - DEPRECATED This parameter is now ignored. See the formatters in the REXML::Formatters package for changing the output style.