User Tools

Site Tools


preserve_linefeed

Preserve Linefeed

To preserve line feeds / new lines in XSL-FO the attribute linefeed-treatment=preserve can be used.

<fo:block linefeed-treatment="preserve">
    <xsl:value-of select="field" />
</fo:block>

W3C Schools - XSLT - Preserve Space

preserve_linefeed.txt · Last modified: 2014/01/31 08:33 by mihael