chickadee » sxpath » sxml:change-attr

sxml:change-attr obj attrprocedure
sxml:change-attr! obj attrprocedure

Returns SXML element obj with changed value of attribute attr or #f if where is no attribute with given name.

attr is a list like it would occur as a member of an attribute list: (attr-name attr-value).