Function: dom-strings

dom-strings is a byte-compiled function defined in dom.el.gz.

Signature

(dom-strings DOM)

Documentation

Return elements in DOM that are strings.

Source Code

;; Defined in /usr/src/emacs/lisp/dom.el.gz
(defun dom-strings (dom)
  "Return elements in DOM that are strings."
  (cl-loop for child in (dom-children dom)
	   if (stringp child)
	   collect child
	   else
	   append (dom-strings child)))