Differences

This shows you the differences between two versions of the page.

Link to this comparison view

preserve_linefeed [2013/12/18 11:28]
preserve_linefeed [2021/04/05 11:23] (current)
Line 1: Line 1:
 +====== Preserve Linefeed ======
 +To preserve line feeds / new lines in XSL-FO the attribute ''linefeed-treatment=preserve'' can be used.
  
 +<sxh xml>
 +<fo:block linefeed-treatment="preserve">
 +    <xsl:value-of select="field" />
 +</fo:block>
 +</sxh>
 +
 +[[http://www.w3schools.com/xsl/el_preserve-space.asp | W3C Schools - XSLT - Preserve Space]]
 +
 +{{tag>xsl}}