class
REXML ::Attribute
ruby latest stable
- Superclass: Object
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.
Included modules
- REXML::Namespace
- REXML::Node
Constants
NEEDS_A_SECOND_CHECK = /(<|&((#{Entity::NAME});|(#0*((?:\\d+)|(?:x[a-fA-F0-9]+)));)?)/um
PATTERN = /\\s*(#{NAME_STR})\\s*=\\s*(["'])(.*?)\2円/um
Attributes
[R] element
[W] normalized
Files
- lib/rexml/attribute.rb