no line breaks in xml file with elementTree

Diez B. Roggisch deets at web.de
Sun Oct 31 18:07:30 EDT 2010


hackingKK <hackingkk at gmail.com> writes:

> On Sunday 31 October 2010 01:58 PM, Lawrence D'Oliveiro wrote:
>> In message<mailman.412.1288509358.2218.python-list at python.org>, hackingKK
>> wrote:
>>
>>    
>>> I want to know if there is a way to have the ElementTree module write to
>>> an xml file with line breaks?
>>>      
>> Why does it matter? The XML files you generate are not for humans to look
>> at, are they?
>>    
>
> So is there a function to generate tags with namespace?

http://lmgtfy.com/?q=element+tree+namespac

--

Diez



More information about the Python-list mailing list