On Thu, Dec 11, 2008 at 3:01 PM, Robert Koberg <r...@koberg.com> wrote:

>
> Hi, (very new to clojure, emacs and lispish things)
>
> I am using the latest downloadable clojure (rather than SVN, which I
> do have and see it is a bit different) in Aquamacs. I have installed
> the clojure mode and am using it with inferior-lisp to see output.
>
> When looking at the source for the clojure/xml/xml.clj, I see the
> example at the bottom which I modified to get to work (note the
> apostrophe before xml/parse):
>
> (load-file "/Users/me/Downloads/clojure/src/clj/clojure/xml/xml.clj")
> (def x ('xml/parse "/Users/me/correct/path/to/my.xml"))
>

Hi Robert,

Try calling (clojure.xml/parse "your-file") instead of 'xml/parse. The full
namespace clojure.xml is required. You could also (refer 'clojure.xml) and
then just call (parse "your-file").

Shawn

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to