Click here to Skip to main content
15,884,821 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using xslt to convert xml into csv file. I want to add new line (CRLF) in csv file for data seperation.

What I have tried:

I am using <xsl:variable name="newline"> in xslt to create new line in csv.
It is actually creating new line as well. But when I opened it in notepad++, it is showing "LF" character at the end. I want to have "CRLF" instead of "LF".

Anyone help on this please ?
Posted
Updated 5-Jul-21 23:33pm

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900