[Zope] python ques

Michael Fischer v. Mollard mfvm@businessvillage.de
Wed, 21 Aug 2002 20:43:49 +0200


AM wrote:

> Now the only problem with this is that result which is an xmldoc
> object can only save to a file, I looked at the source of
> libxml.py:xmldoc. It can dump and save in a variety of ways but only
> to a file or if the arg is "-", as above, to the standard output.
>
> I wanted to save the contents of result to a string which I could then
> send back as part of the RESPONSE object.
>
>
What about StringIO?

MfG
    MFvM