Function: dom-texts
dom-texts is a byte-compiled function defined in dom.el.gz.
Signature
(dom-texts NODE &optional SEPARATOR)
Documentation
Return all textual data under NODE concatenated with SEPARATOR in-between.
Source Code
;; Defined in /usr/src/emacs/lisp/dom.el.gz
(defun dom-texts (node &optional separator)
"Return all textual data under NODE concatenated with SEPARATOR in-between."
(if (eq (dom-tag node) 'script)
""
(mapconcat
(lambda (elem)
(cond
((stringp elem)
elem)
((eq (dom-tag elem) 'script)
"")
(t
(dom-texts elem separator))))
(dom-children node)
(or separator " "))))