<a><ul><li>One</li><li>Two</li><li>Three</li></ul></a>
user=> (use 'clojure.pprint 'net.cgrand.enlive-html)user=> (pprint (select (html-resource "resources/example.html") [:body]))({:tag :body,:attrs nil,:content({:tag :a, :attrs nil, :content ("\n ")}{:tag :ul,:attrs nil,:content("\n "{:tag :li, :attrs nil, :content ("One")}"\n "{:tag :li, :attrs nil, :content ("Two")}"\n "{:tag :li, :attrs nil, :content ("Three")}"\n ")}"\n\n")})nil
user=> (pprint (select (html-resource "resources/example.html") [:a]))({:tag :a, :attrs nil, :content ("\n ")})
--
You received this message because you are subscribed to the Google Groups "Enlive" group.
To view this discussion on the web visit https://groups.google.com/d/msg/enlive-clj/-/4bavNFn1TkIJ.
To post to this group, send email to enliv...@googlegroups.com.
To unsubscribe from this group, send email to enlive-clj+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/enlive-clj?hl=en.