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.


NEEDS_A_SECOND_CHECK = /(<|&((#{Entity::NAME});|(#0*((?:\d+)|(?:x[a-fA-F0-9]+)));)?)/um

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


[W] normalized

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

[R] element

The element to which this attribute belongs

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