As I understand it, putting an actual newline character in an attribute value is not compliant with the XML spec and most parsers will normalize it into a single space. I don't know what tool you're using to generate your XML, but be sure it is encoding the character correctly:
<element attribute="First line Second line Third line..." />