Function: dom-attr

dom-attr is a macro defined in dom.el.gz.

Signature

(dom-attr NODE ATTR)

Documentation

Return the attribute ATTR from NODE.

A typical attribute is href.

Source Code

;; Defined in /usr/src/emacs/lisp/dom.el.gz
(defmacro dom-attr (node attr)
  "Return the attribute ATTR from NODE.
A typical attribute is `href'."
  `(cdr (assq ,attr (dom-attributes ,node))))