get textual content of a Xml element using 4DOM

Frank Abel Cancio Bello FRANKABEL at tesla.cujae.edu.cu
Fri Mar 4 17:47:54 EST 2005


Hi:

PrettyPrint or Print return the value to the console, and i need keep this 
value in a string variable to work with it, how can i do this?

thanks to Uche

Frank Abel

-----Original Message-----
From: uche.ogbuji at gmail.com
To: python-list at python.org
Date: 4 Mar 2005 09:23:07 -0800
Subject: Re: get textual content of a Xml element using 4DOM

> I suggest using minidom or pxdom [1] rather than 4DOM.  If you insist
> on using 4DOM, xml.dom.ext.Print(node) or xml.dom.ext.PrettyPrint(node)
> does what you want.
> 
> [1] http://www.doxdesk.com/software/py/pxdom.html
> 
> --Uche
> 
> -- 
> http://mail.python.org/mailman/listinfo/python-list
> 
> 







More information about the Python-list mailing list