Function: soap-get-candidate-elements

soap-get-candidate-elements is a byte-compiled function defined in soap-client.el.gz.

Signature

(soap-get-candidate-elements ELEMENT)

Documentation

Return a list of elements that are compatible with ELEMENT.

The returned list includes ELEMENT's references and alternatives.

Source Code

;; Defined in /usr/src/emacs/lisp/net/soap-client.el.gz
(defun soap-get-candidate-elements (element)
  "Return a list of elements that are compatible with ELEMENT.
The returned list includes ELEMENT's references and
alternatives."
  (let ((reference (soap-xs-element-reference element)))
    ;; If the element is a reference, append the reference and its
    ;; alternatives...
    (if reference
        (append (list reference)
                (soap-xs-element-alternatives reference))
      ;; ...otherwise append the element itself and its alternatives.
      (append (list element)
              (soap-xs-element-alternatives element)))))