Function: soap-xml-get-children1

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

Signature

(soap-xml-get-children1 NODE CHILD-NAME)

Documentation

Return the children of NODE named CHILD-NAME.

This is the same as xml-get-children, but CHILD-NAME can have namespace tag.

Source Code

;; Defined in /usr/src/emacs/lisp/net/soap-client.el.gz
(defun soap-xml-get-children1 (node child-name)
  "Return the children of NODE named CHILD-NAME.
This is the same as `xml-get-children', but CHILD-NAME can have
namespace tag."
  (let (result)
    (dolist (c (xml-node-children node))
      (when (and (consp c)
                 (soap-with-local-xmlns c
                   ;; We use `ignore-errors' here because we want to silently
                   ;; skip nodes when we cannot convert them to a well-known
                   ;; name.
                   (eq (ignore-errors (soap-l2wk (xml-node-name c)))
                       child-name)))
        (push c result)))
    (nreverse result)))