Defines an Element Attribute; 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.

Constants

PATTERN = /\s*(#{NAME_STR})\s*=\s*(["'])(.*?)\2/um

Attributes

[R] element

The element to which this attribute belongs

[W] normalized

The normalized value of this attribute. That is, the attribute with entities intact.

Show files where this class is defined (1 file)
Register or log in to add new notes.