12-12-2017 9:27 AM
Hello,
I have to create an XML file that i have to send using FTP. but before that i'm testing it by exporting it to my local desktop.
My problem is when i open the .xml file i find it displayed in one line (using Code Writer)
but when i open it with internet explorer it is shown properly so my question is when i'll send it using FTP will it be also in one line or not ?
If so, how can i correct that ?
Thanks in advance.
Best regards
12-12-2017 2:16 PM
XML doesn't care about line breaks. Some tools create XML with line breaks to make it more readable, others don't. Some display tools (Internet Explorer) will insert line breaks for display, others don't because you might want to see the real data.
No idea about Code Writer, but in Notepad++ and TextWrangler for example you have an explicit commands to insert line breaks.
But as far as the content is concerned it's irrelevant. Except for stuff in CDATA tags where line breaks are part of the content. There may be other subtleties I am not aware of.
12-12-2017 10:19 AM
12-12-2017 2:16 PM
XML doesn't care about line breaks. Some tools create XML with line breaks to make it more readable, others don't. Some display tools (Internet Explorer) will insert line breaks for display, others don't because you might want to see the real data.
No idea about Code Writer, but in Notepad++ and TextWrangler for example you have an explicit commands to insert line breaks.
But as far as the content is concerned it's irrelevant. Except for stuff in CDATA tags where line breaks are part of the content. There may be other subtleties I am not aware of.
12-12-2017 2:31 PM
12-12-2017 2:31 PM