Function: soap-xml-get-children-fq

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

Signature

(soap-xml-get-children-fq NODE CHILD-NAME)

Documentation

Return the children of NODE named CHILD-NAME.

This is the same as xml-get-children1, but NODE's local namespace is used to resolve the children's namespace tags.

Source Code

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