0

Here is my line of code

<xsl:template name="Reports">
    <xsl:apply-templates select="/result/content/row"/>
 </xsl:template>

and this is the data in xml

<description>
 <![CDATA[ test test ]]>
</description>

tha data in xml is

test

test

How can i escape the new line in xslt?

aeycee
  • 167
  • 2
  • 2
  • 14
  • possible duplicate of [Producing a new line in XSLT](http://stackoverflow.com/questions/723226/producing-a-new-line-in-xslt) – DanMan Jan 20 '15 at 14:05

1 Answers1

0

The escapes are for

new line: &#10;
carriage return: &#13;
mburm
  • 1,417
  • 2
  • 17
  • 37