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:19:00 PM Hi Martin, Forgot to add that i use DataContractSerializer to generate xml from the DataContract before transforming.And the XMl element it creates is given below <Notes>a b c d</Notes> . Is it the DataContractSerializer the culprit?If so can you let me know how to fix the issue.. 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 | |||
|
