xml-node-name

xml-node-name is a compiled Lisp function in `xml.el'.

(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.