Multiline text in XML file

Zoltán Nagy abesto0 at gmail.com
Sat Aug 2 08:45:42 EDT 2008


King wrote:
> Is there any other way to define multiline text in a XML file:
> 
> <Help><![CDATA[
> multiline
> multiline
> multiline
> multiline
> ...
> ]]>
> </Help>

Unless someone has to edit the XML manually (which is bad anyway):
<Tip>first line\nsecond line</Tip>



More information about the Python-list mailing list