I'm looking for a Clojure equivalent of Nokogiri in Ruby. Specifically, I want to be able to traverse XML using CSS and XPath selectors.
First a word of caution: currently, no native Clojure lib deals correctly with XML namespaces.
To traverse and transform HTML and XML using CSS-like selectors there's is Enlive (tutorial). The set of predicates supported by Enlive is open so you can easily extend its selectors.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With