kyleburton/clj-xpath — pull request #9 by mtnygard (2012-12-14 20:38:25+00:00)
Title: Add key :children to node maps

* xml-bytes->dom and input-stream->dom now respect the same options.
* Nodes now contain a key :children. It is a delay which, when realized, will return a seq of child nodes.

The child nodes are returned as maps, just like the original return value. This allows progressive extraction of nodes.

E.g.,

(let [n1 (first (x/$x "/project/dependencies/*" pom))
c @(:children n1)]
...
)