Issue with XSLCompiledTransform with Carriage Return (\n) character

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi all, I found a problem during migration from XSLTransform to XSLCompiledTransform.
Inside my XSLT file i have added carriage return character (n) however when i test in the compiled version, it generated Line Feed + Carriage Return (rn).
To demo this problem i have put up a sample project that will show the different between old and new version of XSLTransform output and it is clear that with the same XSLT file it works fine before and behaving differently for the compiled version.
File: http://cheetsun.com/public/ConsoleApplication2.zip http://cheetsun.com/public/ConsoleApplication2.zip
Can anyone please help me to resolve this issue? Any suggestion?
Thanks a lot!

View the full article
 
Back
Top