value()
public
Returns the UNNORMALIZED value of
this attribute. That is, entities have been expanded to their values
Show source
def value
return @unnormalized if @unnormalized
doctype = nil
if @element
doc = @element.document
doctype = doc.doctype if doc
end
@unnormalized = Text::unnormalize( @normalized, doctype )
@normalized = nil
@unnormalized
end