new line character is creating a problem in xslt

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hello Everyone,
New Line in xslt is creating a problem for me. i searched a lot and found many ways of inserting a new line character in xslt. but nothing is working out. I tried using <xsl:text></xsl:text>,
Code:
<span style="font-family:Consolas <xsl:text>&#xa;</xsl:text> and many such other new line characters. but failed. Idont wanna use any html characters like <br/> n all. I just wanna know how will i get a new line in xslt. Does
 it depend on the os used, processor, xslt version or anything?
<span style="font-family:Consolas output what i want is: Dear abc,
<span style="font-family:Consolas You Have received a Mail.
<span style="font-family:Consolas but i am getting it as: Dear abc, You have received a mail.

View the full article
 
Back
Top