Function: nxml-ns-set-prefix
nxml-ns-set-prefix is a byte-compiled function defined in
nxml-ns.el.gz.
Signature
(nxml-ns-set-prefix PREFIX NS)
Documentation
Change the binding of PREFIX.
PREFIX is a string (never nil). NS is a symbol (never nil). The change will be in effect until the end of the current element.
Source Code
;; Defined in /usr/src/emacs/lisp/nxml/nxml-ns.el.gz
(defun nxml-ns-set-prefix (prefix ns)
"Change the binding of PREFIX.
PREFIX is a string (never nil). NS is a symbol (never nil).
The change will be in effect until the end of the current element."
(setq nxml-ns-state
(let ((bindings (car nxml-ns-state)))
(cons (cons (car bindings)
(cons (cons prefix ns) (cdr bindings)))
(cdr nxml-ns-state)))))