this question has answer here:
i generating xml having crlf in it
<col4> * comment # 1 * comment # 2 * comment # 2 * comment # 3 * comment # 3 edited </col4> now transforming html after transformation crlf missing output. output in html generating following (crlf missing)
* comment # 1 * comment # 2 * comment # 2 * comment # 3 * comment # 3 edited i using
<xsl:preserve-space elements="*" /> and
<xsl:value-of select="." disable-output-escaping="yes"/> kindly tell me how can retain crlf in output.
enclose text in <col4> in <xsl:text>, should preserve whitespaces.
Comments
Post a Comment