Function: nxml-make-namespace

nxml-make-namespace is a byte-compiled function defined in nxml-util.el.gz.

Signature

(nxml-make-namespace STR)

Documentation

Return a symbol for the namespace URI STR.

STR must be a string. If STR is the empty string, return nil. Otherwise, return the symbol whose name is STR prefixed with a colon.

Source Code

;; Defined in /usr/src/emacs/lisp/nxml/nxml-util.el.gz
(defun nxml-make-namespace (str)
  "Return a symbol for the namespace URI STR.
STR must be a string.  If STR is the empty string, return nil.
Otherwise, return the symbol whose name is STR prefixed with a colon."
  (if (string-equal str "")
      nil
    (intern (concat ":" str))))