Operating on SXML document trees, nodesets, etc.
Return all the text nodes in the tree as a joined string.
> (define paragraph '(para "Please " (strong "read") " carefully.")) > (sxml->text paragraph) "Please read carefully."
tree (SXML tree or Nodeset): See SXML in the Guile manual for details about SXML trees and the SXPath section for more on the Nodeset type.
Return value (string): All text nodes as a single string.