Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: newline effect being lost in out put [Thread Next] Re: newline effect being lost in out putTo: NULL Date: 4/28/2009 7:12:00 PM Hi Martin, The input data gets stored in a string variable in DataContract (eg: "a\r\nb\r\n\r\nc\r\nd" (i typed abcd with enter key in between)). I generate an RTF output from the xslt.And its finally displayed in a RichTextControl in windows. Please let me know if you need anymore info. Thanks. "Martin Honnen" wrote: > Zest4Quest wrote: > > Hi, > > The data entered in a Textbox control is stored in xml which is then > > transformed into RTF output which works fine.But when i type 'a' then hit > > enter then 'b' then hut enter the out put comes as 'ab' instead of a and b in > > seperate lines. I am using <xsl:value-of select ="Notes"/> to display data. > > Am i missing anything ? i am using the .Net XslCompiledTransform for > > transforming. > > Thanks for your help. > > > > PS: The header is the following > > <?xml version="1.0" encoding="utf-8"?> > > <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > > xmlns:msxsl="urn:schemas-microsoft-com:xslt" > > exclude-result-prefixes="msxsl" > > xmlns:ms="urn:schemas-microsoft-com:xslt" > > > > xmlns:dt="urn:schemas-microsoft-com:datatypes"> > > > > How exactly does the XML input look? Show us at least the Notes element > so that we can see what you have stored in there. > > Then we need to know what kind of output your XSLT stylesheet generates, > is that HTML or XML or plain text? And how exactly do you look at the > transformation output, inside a browser or with a text editor? > > > > -- > > Martin Honnen --- MVP XML > http://msmvps.com/blogs/martin_honnen/ > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
