Method: REXML::Entity#unnormalized
- Defined in:
- lib/rexml/entity.rb
#unnormalized ⇒ Object
Evaluates to the unnormalized value of this entity; that is, replacing all entities – both %ent; and &ent; entities. This differs from value() in that value only replaces %ent; entities.
73 74 75 76 77 78 79 |
# File 'lib/rexml/entity.rb', line 73 def unnormalized document.record_entity_expansion unless document.nil? v = value() return nil if v.nil? @unnormalized = Text::unnormalize(v, parent) @unnormalized end |