Remove whitespaces and line breaks in a XML file

David Vicente dvicente at full-on-net.com
Wed Feb 9 08:23:39 CET 2011


I´ll try to mix it with my code (xml.etree). 
Thanks ;)


-----Mensaje original-----
De: python-list-bounces+dvicente=full-on-net.com at python.org
[mailto:python-list-bounces+dvicente=full-on-net.com at python.org] En nombre
de Josh English
Enviado el: martes, 08 de febrero de 2011 0:46
Para: python-list at python.org
CC: python-list at python.org
Asunto: Re: Remove whitespaces and line breaks in a XML file

I found the code posted at 

http://infix.se/2007/02/06/gentlemen-indent-your-xml

quite helpful in turning my xml into human-readable structures. It works
best for XML-Data.

Josh
-- 
http://mail.python.org/mailman/listinfo/python-list




More information about the Python-list mailing list