You can also change the binding of *out* to point directly to your file writer.

- James

On 12 June 2010 20:43, Emeka <emekami...@gmail.com> wrote:
> Thanks, it worked :(
>
> On Sat, Jun 12, 2010 at 8:23 PM, Moritz Ulrich
> <ulrich.mor...@googlemail.com> wrote:
>>
>> You can use (with-out-str &body) to capture the output or prxml to a
>> string and write that string to a file.
>>
>> On Sat, Jun 12, 2010 at 8:53 PM, Emeka <emekami...@gmail.com> wrote:
>> > Could someone direct me on how to write the output of prxml form to a
>> > file?
>>
>>
>>
>> --
>> Moritz Ulrich
>> Programmer, Student, Almost normal Guy
>>
>> http://www.google.com/profiles/ulrich.moritz
>>
>> --
>> 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
>
> --
> 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

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