REXML::Attribute

Defines an ElementAttribute; IE, a attribute=value pair, as in:
<element attribute=“value”/>. Attributes can be in their own namespaces.
General users of REXML will not interact with
the Attribute class much.

Public Class Methods

Either: an Attribute, which this new attribute
will become a clone of; or a String, which is the name of this attribute

second

If first is an Attribute, then
this may be an Element, or nil. If nil, then the
Element parent of this attribute is the parent
of the firstAttribute. If the
first argument is a String, then this must also be a String, and is the
content of the attribute. If this is the content, it must be fully
normalized (contain no illegal characters).

parent

Ignored unless first is a String; otherwise, may be the Element parent of this attribute, or nil.