Function: nxml-ns-get-prefix

nxml-ns-get-prefix is a byte-compiled function defined in nxml-ns.el.gz.

Signature

(nxml-ns-get-prefix PREFIX)

Documentation

Return the symbol for namespace bound to PREFIX.

Return nil if PREFIX is unbound. PREFIX is a string, never nil.

Source Code

;; Defined in /usr/src/emacs/lisp/nxml/nxml-ns.el.gz
(defun nxml-ns-get-prefix (prefix)
  "Return the symbol for namespace bound to PREFIX.
Return nil if PREFIX is unbound.  PREFIX is a string, never nil."
  (let ((binding (assoc prefix (cdar nxml-ns-state))))
    (and binding (cdr binding))))