Function: soap-fetch-xml

soap-fetch-xml is a byte-compiled function defined in soap-client.el.gz.

Signature

(soap-fetch-xml FILE-OR-URL WSDL)

Documentation

Load an XML document from FILE-OR-URL and return it.

The previously parsed file or URL is read from WSDL.

Source Code

;; Defined in /usr/src/emacs/lisp/net/soap-client.el.gz
(defun soap-fetch-xml (file-or-url wsdl)
  "Load an XML document from FILE-OR-URL and return it.
The previously parsed file or URL is read from WSDL."
  (let ((current-file (or (soap-wsdl-current-file wsdl) file-or-url)))
    (if (or (and current-file (file-exists-p current-file))
            (file-exists-p file-or-url))
        (soap-fetch-xml-from-file file-or-url wsdl)
      (soap-fetch-xml-from-url file-or-url wsdl))))