Which is equivalent to Nokogiri clojure (for parsing xml using xpath and css selectors)

I am looking for the equivalent of Clojure Nokogiri in Ruby. In particular, I want to be able to navigate through XML using CSS and XPath selectors.

+6
xml css-selectors xpath clojure nokogiri
source share
1 answer

First caveat: currently, none of the native Clojure lib deals with XML namespaces.

To navigate and transform HTML and XML using CSS-like selectors, Enlive ( tutorial ). The predicate set supported by Enlive is open, so you can easily extend its selector.

+5
source share

All Articles