chickadee » sxpath » sxml:add-attr!

sxml:add-attr obj attrprocedure
sxml:add-attr! obj attrprocedure

Returns the given SXML element obj with the attribute attr added to the attribute list, or #f if the attribute already exists.