Re: Multiline text in XML file

2008-08-03 Thread Pete Kirkham
http://www.w3.org/TR/REC-xml/#sec-white-space is relevant, as is the following section on handling carriage returns. Don't mix C escapes "\n" and XML markup - there really is is no point, and it reduces the portability of the XML. XML lets you put carriage returns in without excapes into text, and

Re: Multiline text in XML file

2008-08-02 Thread Stefan Behnel
King wrote: > Is there any other way to define multiline text in a XML file: > > > Yes, without the CDATA, for example. XML doesn't treat line ending characters any different from other characters. I have no idea what you are trying to achieve since you didn't tell us (and this newsgroup seems

Re: Multiline text in XML file

2008-08-02 Thread Zoltán Nagy
King wrote: > Is there any other way to define multiline text in a XML file: > > > Unless someone has to edit the XML manually (which is bad anyway): first line\nsecond line -- http://mail.python.org/mailman/listinfo/python-list

Multiline text in XML file

2008-08-02 Thread King
Is there any other way to define multiline text in a XML file: -- http://mail.python.org/mailman/listinfo/python-list