Function: xml-get-attribute
xml-get-attribute is a byte-compiled function defined in xml.el.gz.
Signature
(xml-get-attribute NODE ATTRIBUTE)
Documentation
Get from NODE the value of ATTRIBUTE.
An empty string is returned if the attribute was not found.
See also xml-get-attribute-or-nil.
Source Code
;; Defined in /usr/src/emacs/lisp/xml.el.gz
(defsubst xml-get-attribute (node attribute)
"Get from NODE the value of ATTRIBUTE.
An empty string is returned if the attribute was not found.
See also `xml-get-attribute-or-nil'."
(or (xml-get-attribute-or-nil node attribute) ""))