Hi all -

I have an xml file structured something like

<a>
  <b id="1" name="first-name"/>
  <b id="2" name="second-name"/>
  <b id="3" name="third-name"/>
</a>

to retrieve the id attribute is easy enough:

(zf/xml-> myxmldata :b (zf/attr :id))

but i want to retrieve both the id and name attributes into a list
doing something like....

(zf/xml-> myxmldata :b (zf/attr [:id :name] ))

Any ideas if this is possible and if so the syntax?

Thanks much in advance

Base

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to