shan_emails has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks,

I am new to xsl:fo, i want to know how to give line break in xsl:fo. here <br> tag is not working.

<fo:block text-align="center"> <fo:inline font-size="10.9pt" font-family="Times New Roman">Hai, i wan +t line break at here<br>. This starts new line. </fo:inline> </fo:block>


Thanks in advance

Shanmugam A.

Replies are listed 'Best First'.
Re: xsl:fo line break
by CountZero (Bishop) on Mar 21, 2009 at 14:01 UTC
    Get it from the source: Extensible Stylesheet Language and more specifically "Keeps and Breaks".

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

      Lol!
Re: xsl:fo line break
by dHarry (Abbot) on Mar 21, 2009 at 13:32 UTC

    This is not a Perl question:P On the top of my head <fo:break> or <fo:block> :-)