On Fri, 08 May 2009 22:20:13 +0530, dhs827 <scheur...@gmail.com> wrote:
> > > ; First thing to learn is XML parsing with Clojure. > <snip> > > Other comments, tips, disses? > > Dirk In case you don't expect end users or other languages to access the configuration, one option you have is to save the configuration directly as Clojure data. As Clojure is a lisp, you have access to the reader and you could read the data (maps, vectors, etc.) directly from the file. E.g.: user=> (def x (read-string "{:a 1 :b 2}")) #'user/x user=> x {:a 1, :b 2} user=> See also: (doc read) If you decide to go ahead with xml, you can use the xml support in clojure core: http://clojure.org/api#toc673 Regards, Parth --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---