[xml] writing xml to a buffer (using python)
- From: Jens Dobberthin <jens dobberthin noonox com>
- To: "xml gnome org" <xml gnome org>
- Subject: [xml] writing xml to a buffer (using python)
- Date: 26 Nov 2003 18:12:07 +0100
Salut,
I don't know whether it is the right mailing list to post this question, since it deals
with Python.
I try to write the xml tree to a buffer:
report = StringIO.StringIO()
reportDoc.saveFormatFileTo(report, 'ISO-8859-1', 1)
but that doesn't work. The error code is
Error Type: AttributeError
Error Value: _o
What kind of I/O buffers are needed?
Any ideas? Thanks in advance!
Jens.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]