[XML-SIG] how to output xml from a python object

Andrew Cooke andrewc@webtronfinance.com
Mon, 13 May 2002 09:28:18 -0400


Hi,

I'm no expert, but I wrote some notes that might help (they cover the very
basic of manipulating DOM trees).  You can find them at

http://www.acooke.org/andrew/writing/python-xml.html

If you're creating a document completely from scratch then you'll need to
create a document instance first (I don't know how to, but the notes above
describe where to look - basically the source and the DOM docs).

Andrew


----- Original Message -----
From: "Dave Primmer" <primmer@hotmail.com>
To: <xml-sig@python.org>
Sent: Saturday, May 11, 2002 9:59 AM
Subject: [XML-SIG] how to output xml from a python object


> I'd like to do something like take a simple python object and make an xml
> file. I've looked and looked but I can't find any docs on how to do this
> (only parsing). http://ibm.com/developerworks/library/python2/ has some
old
> code that refers to modules that aren't available anymore but that's
[...]