Function: xml-node-name
xml-node-name is a byte-compiled function defined in xml.el.gz.
Signature
(xml-node-name NODE)
Documentation
Return the tag associated with NODE.
Without namespace-aware parsing, the tag is a symbol.
With namespace-aware parsing, the tag is a cons of a string representing the uri of the namespace with the local name of the tag. For example,
<foo>
would be represented by
("" . "foo").
If you'd just like a plain symbol instead, use symbol-qnames in
the PARSE-NS argument.
Source Code
;; Defined in /usr/src/emacs/lisp/xml.el.gz
(defsubst xml-node-name (node)
"Return the tag associated with NODE.
Without namespace-aware parsing, the tag is a symbol.
With namespace-aware parsing, the tag is a cons of a string
representing the uri of the namespace with the local name of the
tag. For example,
<foo>
would be represented by
(\"\" . \"foo\").
If you'd just like a plain symbol instead, use `symbol-qnames' in
the PARSE-NS argument."
(car node))