RE: [xsl] xml to xsl: fo -> pdf format: break line!!!!

Subject: RE: [xsl] xml to xsl: fo -> pdf format: break line!!!!
From: "Richard Kirby" <richard-newsletters@xxxxxxxxxx>
Date: Fri, 23 May 2003 14:18:35 +0100
Hi - you could try something along the lines of...

<xsl:template name="lf-to-block">
  <xsl:param name="text"/>
     <xsl:when test="contains($text, '&#10;')">
          <xsl:value-of select="substring-before($text, '&#10;')"/>
	<xsl:call-template name="lf-to-block">
          <xsl:with-param name="text"
          <xsl:value-of select="$text"/>

All the best,

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Marco Pedrini
Sent: 23 May 2003 10:55
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] xml to xsl: fo -> pdf format: break line!!!!

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

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= "//

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

 XSL-List info and archive:

 XSL-List info and archive:

Current Thread