contrib project (seehttps://github.com/clojure/data.zip
> > for the source andhttp://clojure.github.com/data.zipfor the
> > autodoc).
>
> > Using that, the xpathy thing you're looking for is something like
> > this:
>
> > (ns play.xml-example
> > (:r
for is something like
> this:
>
> (ns play.xml-example
> (:require [clojure.zip :as zip]
>[clojure.data.zip :as zf]
> [clojure.xml :as xml])
> (:use clojure.data.zip.xml))
>
> (def mz (zip/xml-zip (xml/parse "dataabove.xml")))
>
>
github.com/data.zip for the
autodoc).
Using that, the xpathy thing you're looking for is something like
this:
(ns play.xml-example
(:require [clojure.zip :as zip]
[clojure.data.zip :as zf]
[clojure.xml :as xml])
(:use clojure.data.zip.xml))
(def mz (zip/xml
Hello!
What's the clever way to read the E-tags "thisone" and "andthis" in the
XML-file below given I don't know their id on beforehand?
bla bla
bla bla
My solution so far would be something like
(def mz (zip/xml