>
> On July 8, 2013 at 5:39:14 AM, Vesna Petkovic
> (vesna.p...@gmail.com)
> wrote:
>
> (defn func [& tags](#(zf/xml1-> (xml-zipper tags) % zf/text)))
>
> As the exception states, you are passing 0 arguments to a function that
> doesn't accept 0 arguments
I am trying to apply function for extracting content of one tag from xml on
a collection of tags. Basically, I am trying to make a function that will
extract content from xml, like this
(defn get-events[xz]
(map (juxt
#(zf/xml1-> % :title zf/text)
#(zf/xml1-> % :performers :perform
Yes, you're right... it works now
thanks
On Tuesday, April 3, 2012 8:26:06 PM UTC+2, mtyaka wrote:
>
> On Tue, Apr 3, 2012 at 8:15 PM, Vesna Petkovic wrote:
>>
>> (def events-for-mashup
>> (let [title "Events mashup" event-data (vector create-ma
I've been looking for an answer for my problem on this group in vain. Found
something that resolves part of the problem. I want to make a struct map
like thi s
(def events-for-mashup
(let [title "Events mashup" event-data (vector create-map-of-events)]
(struct event-map title event-data)