Click here to Skip to main content
15,921,113 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
i have developed a user control.
i am using xslt for formatting. i am giving an xml input to xslt in the form of string and not file. now the problem is
when i write for eg:
hi,
how r u?
good morning
it displays as follows

hi, how r u? good morning
in one line after formating. m using web browser control to display the text entered.
i want to display it as it is as entered by the user.
the new line character is not been taken by xml and xslt. how can i solve this issue?
Posted

1 solution

Try using the <br> tag for newline.
 
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