XML : clojure - simple way to parse xml with no attributes into a map

My xml doesn't make use of attributes and namespaces. Tags can be nested. I'd like to parse it into a Clojure map.

I'd like the tag names to be the keys. The values are either nested maps in case of nodes or text in case of a leaf.

What would be the simplest way to do that?

No comments:

Post a Comment