xml-maybe-do-ns

xml-maybe-do-ns is a compiled Lisp function in `xml.el'.

(xml-maybe-do-ns NAME DEFAULT XML-NS)

Perform any namespace expansion.
NAME is the name to perform the expansion on.
DEFAULT is the default namespace. XML-NS is a cons of namespace
names to uris. When namespace-aware parsing is off, then XML-NS
is nil.

During namespace-aware parsing, any name without a namespace is
put into the namespace identified by DEFAULT. nil is used to
specify that the name shouldn't be given a namespace.
Expanded names will by default be returned as a cons. If you
would like to get plain symbols instead, provide a cons cell

(symbol-qnames . ALIST)

in the XML-NS argument.