W3C home > Mailing lists > Public > www-xsl-fo@w3.org > May 2003

xml to fo -> pdf format: break line!!!!

From: Marco Pedrini <marco.pedrini@engisan.it>
Date: Fri, 23 May 2003 11:59:06 +0200
Message-ID: <003101c32111$f2ceb6e0$5005a8c0@fi.eng.it>
To: <www-xsl-fo@w3.org>

Hi, could anyone help me?
I have some problem with the transformation of xml, through fo (formatting object) to generate a pdf from it.

If I have information stored in a DB ORACLE, inserted from a data field where the user could write free text (including break line, with the ENTER tab).

HOW could I represent in pdf the same formatted text? Actually the code I have is:

<fo:block font-size="8pt" font-family="sans-serif" line-height="10pt" space-after.optimum="4pt" padding-top="4pt">      <xsl:value-of select= "// DATA/ROWTAG/CS01_DESC_OPERAT"/>
</fo:block>

and all that is retrived fromn DB, via XML, mantain tha case format, but lose the end of the line,  marked on DB with a double pipe.

thanx a lot
Pedro
Received on Friday, 23 May 2003 06:13:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:10 GMT