# File rexml/entity.rb, line 137
  def value
			if @value
				matches = @value.scan PEREFERENCE_RE
				rv = @value.clone
				if @parent and @parent.document and @parent.document.doc_type
					doctype = @parent.document.doc_type
					matches.each do |entity_reference|
						entity_value = doctype.entity( entity_reference )
						rv.gsub!( /&#{entity_reference};/um, entity_value )
					end
				end
				return rv
			end
			nil
		end