Module REXML::Node
In: lib/rexml/node.rb

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

Methods

Public Instance methods

Visit all subnodes of self recursively

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

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

@return the next sibling (nil if unset)

@return the previous sibling (nil if unset)

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

[Validate]

ruby-doc.org is a service of James Britt and Neurogami, a Ruby application development company in Phoenix, AZ.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.