pelican Posted May 13, 2005 Posted May 13, 2005 Eg. "This is Line 1.\r\nThis is Line 2" Before exporting, c# will print out correctly, This is Line 1. This is Line 2 After the string, "This is Line 1.\r\nThis is Line 2" being export into xml. and import back, output or print the string.... it is literally the string "This is Line 1.\r\nThis is Line 2" is there anyway to preserve the line break after xml export/import. using replace \r\n with line break after xml export/import is not really a good idea. because sometimes the real text might have \r\n that dont mean to be line break. Please advise. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.