Package: cxml-stp

Macro with-attributes

Lambda List

with-attributes ((&rest entries) element &body body)

Details

Evaluate body with the specified attributes bound lexically as if they were variables.

Each entry in entries is a list of the form (variable-name attribute-name &optional uri), where variable-name is a symbol and attribute-name and uri are strings.

The macro with-attributes invokes attribute-value to access the attributes. specified by each entry. Both setf and setq can be used to set the value of the attribute.
 

See also