Has-Sxml-Attr?

(has-sxml-attr? sxml key value) -> boolean

Returns true if the given s-xml expression has an attribute with the given key AND the given value. Otherwise, returns false.

See SXML Example