ElementTree python carriage return

adamseel

New Member
I'm using xml.etree.ElementTree.How can i set carriage return in Element ?I need this result, for example when I open file in browser:testtest2and not:test\r\ntest2I get data from PostgreSQL and i put its with element.text = tag_value
 
Back
Top