Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Line break in XML file created from X++ code

$
0
0

Hi,

I am creating an XML log file from X++ code as a result of processing another XML file. I am using '\n' to insert line breaks for the text I have under <Description></Description> tag. The file is showing line breaks when I open it in Notepad, but when open in the browser, it is not showing line breaks and all text showing on a single line. 

I tried to use CData with <br/> tags, but no success. I am using the same text to fill one of the placeholder in email template and sending email using that template. The text in the email also requires to show the line breaks.

Does anyone have any idea how to achieve the above requirements?

Thanks,

Baber.


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>