    # File temp/entity.rb, line 135
                    def value
                            if @value
                                    matches = @value.scan(PEREFERENCE_RE)
                                    rv = @value.clone
                                    if @parent
                                            matches.each do |entity_reference|
                                                    entity_value = @parent.entity( entity_reference[0] )
                                                    rv.gsub!( /%#{entity_reference.join};/um, entity_value )
                                            end
                                    end
                                    return rv
                            end
                            nil
                    end