Has-Sxml-Tag?

(has-sxml-tag? sxml value) -> boolean

Returns true if the given s-xml expression has the given value as the tag. Otherwise, false.

Examples:

>> (has-sxml-tag? xml 'body)
:: #t
>> (has-sxml-tag? '(1 2) 1)
:: #t
>> (has-sxml-tag? xml 'foo)
:: #f