Namespaces

 
1.0.0-SNAPSHOT permalink Arrow_down_16x16
  • (text node)
Returns the text value of a node.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source net/cgrand/enlive_html.clj:865 top

(defn text
 "Returns the text value of a node." 
 {:tag String}
 [node]
  (cond
    (string? node) node
    (xml/tag? node) (apply str (map text (:content node))) 
    :else ""))
Vars in net.cgrand.enlive-html/text: apply cond defn map str string?
Used in 0 other vars

Comments top

No comments for text. Log in to add a comment.