Did you know ... Search Documentation:
Predicate attribute_value/1
 attribute_value(+Value) is det[private]
Print an attribute value. Value is either atomic or one of the following terms:
  • A+B Concatenation of A and B
  • encode(V) Emit URL-encoded version of V. See www_form_encode/2.
  • An option list Emit ?Name1=encode(Value1)&Name2=encode(Value2) ...
  • A term Format-Arguments Use format/3 and emit the result as quoted value.

The hook expand_attribute_value//1 can be defined to provide additional `function like' translations. For example, http_dispatch.pl defines location_by_id(ID) to refer to a location on the current server based on the handler id. See http_location_by_id/2.