Hi,

 

I´m parsing an xml file with xml.etree. It works correctly, but I have a
problem with the text attribute of the elements which should be empty. For
example, in this case:

<book>

                <author>Ken<author>

</book>

 

The text element of “book” should be empty, but it returns me some
whitespaces and break lines. I can´t get remove these whitespaces without
remove information. 

 

Some idea?

 

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

Reply via email to