Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: newline effect being lost in out put

From: Zest4Quest@-----------.---------.---
To: 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/
> 


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent