xslt - new line in xsl but the code is not working -


in search result display xsl added following code none of them giving me new line.

<xsl:text> &amp;#10; </xsl:text>  <xsl:text> &#10; </xsl:text>  <xsl:text disable-output-escaping="yes" >&amp;#10;</xsl:text>    

if output html xslt , want line break use br element e.g. <br/>, see http://www.w3.org/tr/html4/struct/text.html#h-9.3.2.1. character &#10; treated white space , not result in line break unless used inside pre element or other element css defining white-space: pre.


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -