Re: XML navigation puzzles

2011-02-04 Thread yiguang hu
Thanks a lot for both responses. I really appreciate it! The zip is really nice. On Fri, Feb 4, 2011 at 11:39 AM, Despite wrote: > I like to use zip and zip-filter with xml files.  For example (suppose > clojure.zip is aliased as zip and clojure.contrib.zip-filter.xml is > aliased as zf): > > (

XML navigation puzzles

2011-02-04 Thread yiguang hu
Hello, Can some one show me how to navigate through xml? I am trying to have some fun with clojure and think of doing a simple xml navigation, it seems I didn't get the basics and not know how to do this simple thing in clojure. For example, I try to get the user id and name of all barackobama tw