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

- James

On 12 June 2010 20:43, Emeka <[email protected]> wrote:
> Thanks, it worked :(
>
> On Sat, Jun 12, 2010 at 8:23 PM, Moritz Ulrich
> <[email protected]> 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 <[email protected]> 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 [email protected]
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> To unsubscribe from this group, send email to
>> [email protected]
>> 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 [email protected]
> Note that posts from new members are moderated - please be patient with your
> first post.
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to