Class REXML::Element
In: rexml/element.rb
Parent: Parent

Represents a tagged XML element. Elements are characterized by having children, attributes, and names, and can themselves be children.

Methods
add_attribute    add_attributes    add_element    add_namespace    add_text    cdatas    clone    comments    delete_attribute    delete_element    delete_namespace    document    each_element    each_element_with_attribute    each_element_with_text    get_elements    get_text    has_attributes?    has_elements?    has_text?    ignore_whitespace_nodes    instructions    namespace    new    next_element    parse_stream    prefixes    previous_element    raw    root    text    text=    texts    whitespace    write   
Attributes
:attributes  [R] 

Mechanisms for accessing attributes and child elements of this element.

:context  [RW] 

The context holds information about the processing environment, such as whitespace handling.

:elements  [R] 

Mechanisms for accessing attributes and child elements of this element.

Included modules
Namespace
Public Class methods
add_attribute%params%
add_attributes%params%
add_element%params%
add_namespace%params%
add_text%params%
cdatas%params%
clone%params%
comments%params%
delete_attribute%params%
delete_element%params%
delete_namespace%params%
document%params%
each_element%params%
each_element_with_attribute%params%
each_element_with_text%params%
get_elements%params%
get_text%params%
has_attributes?%params%
has_elements?%params%
has_text?%params%
ignore_whitespace_nodes%params%
instructions%params%
namespace%params%
new%params%
next_element%params%
parse_stream%params%
prefixes%params%
previous_element%params%
raw%params%
root%params%
text%params%
text=%params%
texts%params%
whitespace%params%
write%params%
Public Instance methods
add_attribute%params%
add_attributes%params%
add_element%params%
add_namespace%params%
add_text%params%
cdatas%params%
clone%params%
comments%params%
delete_attribute%params%
delete_element%params%
delete_namespace%params%
document%params%
each_element%params%
each_element_with_attribute%params%
each_element_with_text%params%
get_elements%params%
get_text%params%
has_attributes?%params%
has_elements?%params%
has_text?%params%
ignore_whitespace_nodes%params%
instructions%params%
namespace%params%
new%params%
next_element%params%
parse_stream%params%
prefixes%params%
previous_element%params%
raw%params%
root%params%
text%params%
text=%params%
texts%params%
whitespace%params%
write%params%