This is nothing to do with XML, it's equally true of any text file.
Almost. Like everything else there are exceptions. Text files in VAX/VMS were variable length records without (a) line termination character(s) which made for “interesting” FTP sessions between Windows,
Mac, VMS and CP/CMS.