Function: soap-with-local-xmlns

soap-with-local-xmlns is a macro defined in soap-client.el.gz.

Signature

(soap-with-local-xmlns NODE &rest BODY)

Documentation

Install a local alias table from NODE and execute BODY.

Source Code

;; Defined in /usr/src/emacs/lisp/net/soap-client.el.gz
(defmacro soap-with-local-xmlns (node &rest body)
  "Install a local alias table from NODE and execute BODY."
  (declare (debug (form &rest form)) (indent 1))
  (let ((xmlns (make-symbol "xmlns")))
    `(let ((,xmlns (soap-extract-xmlns ,node soap-local-xmlns)))
       (let ((soap-default-xmlns (or (nth 0 ,xmlns) soap-default-xmlns))
             (soap-target-xmlns (or (nth 1 ,xmlns) soap-target-xmlns))
             (soap-local-xmlns (nth 2 ,xmlns)))
         ,@body))))