Represents a tagged XML element. Elements are characterized by having children, attributes, and names, and can themselves be children.
each_element( xpath=nil ) Instance Public methods Synonym for #elements.each
attribute( name, namespace=nil ) Instance Public methods
clone() Instance Public methods Creates a shallow copy of self.
inspect() Instance Public methods
has_attributes?() Instance Public methods Evaluates to true if
add_attributes(hash) Instance Public methods Add multiple attributes to this
each_element_with_text( text=nil, max=0, name=nil ) Instance Public methods Iterates
add_text( text ) Instance Public methods A helper method to add a
namespaces() Instance Public methods
text=( text ) Instance Public methods Sets the first
Page 3 of 4