[XML-SIG] DOM -> String ?

Markus Jais markusjais@yahoo.de
Mon, 26 May 2003 14:01:49 +0200 (CEST)


thanks
this helps.

but I still need a method to turn it into a string
because I need a string for my programm. And I have to
determine the length of the XML Document.

Markus

 --- Tonguç Yumruk <trooper@ttnet.net.tr> schrieb: >
from xml.dom.ext import Print
> 
> Print(document, file_descriptor)
> 
> This writes the dom document to that file
> descriptor. I never tried
> socket programming under python but as sockets are
> simple file
> descriptors (at least under Unix) this may work
> 
> Mon, May 26, 2003 at 12:10:52PM +0200 Tarihinde
> Markus Jais Demişki :
> > hello
> > 
> > is there a way to transform a DOM Tree into a
> Python string ???
> > identation is  not necessary. I just want to send
> the DOM Tree over
> > a socket.
> > 
> > Markus
> > 
> > -- 
> > Markus Jais
> > Software Developer
> > GMX Aktiengesellschaft
> > Riesstraße 17, 80992 München
> > Phone: +49 89 14 339-514
> > mailto:mjais@gmx-gmbh.de
> > http://www.gmx.de
> > 
> > 
> > 
> > 
> > _______________________________________________
> > XML-SIG maillist  -  XML-SIG@python.org
> > http://mail.python.org/mailman/listinfo/xml-sig
> 
> -- 
> Love Respect Linux
>
################################################################################
> 	"Has anyone had problems with the computer
> accounts?"
> 	"Yes, I don't have one."
> 	"Okay, you can send mail to one of the tutors ..."
> 		-- E. D'Azevedo, Computer Science 372
>
################################################################################
> Tonguç Yumruk
> 

> ATTACHMENT part 2 application/pgp-signature 
 

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de