Re: XSL - NewLine

2007-02-13 Thread Stefan Heuer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Miroslav, I used: xsl:value-of select=codepoints-to-string(13) /xsl:value-of select=codepoints-to-string(10) / for generating csv files. Regards Stefan Gregan, Miroslav schrieb: Hello all, I need to put manually new line in a pdf document

Re: XSL - NewLine

2007-02-13 Thread Abel Braaksma
Just use: xsl:text#13;#10;/xsl:text or xsl:text#xD;#xA;/xsl:text You can also add an entity to your doctype if you tend to use this kind of newlines more often: !ENTITY newline #38;#x0D;#38;#x0A; and use it as follows: xsl:textnewline;/xsl:text which will be rendered as a \r\n by the

RE: XSL - NewLine

2007-02-13 Thread Gregan, Miroslav
[mailto:[EMAIL PROTECTED] Sent: Tuesday, February 13, 2007 10:14 AM To: fop-users@xmlgraphics.apache.org Subject: Re: XSL - NewLine Just use: xsl:text#13;#10;/xsl:text or xsl:text#xD;#xA;/xsl:text You can also add an entity to your doctype if you tend to use this kind of newlines more often

Re: XSL - NewLine

2007-02-13 Thread Abel Braaksma
Gregan, Miroslav wrote: Thanks you for your answers Actually I afraid I did not ask my question clearly enough. The @value which is the content of an XML File's element which contains a String. This String has to be formatted (a little bit if possible :-) ) with new lines. So that the text:

Re: XSL - NewLine

2007-02-13 Thread Manuel Mall
On Tuesday 13 February 2007 21:52, Gregan, Miroslav wrote: Thanks you for your answers Actually I afraid I did not ask my question clearly enough. The @value which is the content of an XML File's element which contains a String. This String has to be formatted (a little bit if possible :-) )

Re: XSL - NewLine

2007-02-13 Thread Abel Braaksma
Manuel Mall wrote: As mentioned in previous responses you need to add the linefeed characters to the value. However, in addition you need to set the property linefeed-treatment=preserve on the enclosing fo:block otherwise the linefeeds in the text will be treated like / converted to spaces

Re: XSL - NewLine

2007-02-13 Thread Tobias . Soloschenko
Hello, in one of my solutions I solved the problem with the symbol font: fo:inline font-family=Symbol#160;/fo:inline Greez Tobias Manuel Mall [EMAIL PROTECTED] wrote on 13.02.2007 14:10:35: On Tuesday 13 February 2007 21:52, Gregan, Miroslav wrote: Thanks you for your answers Actually

Re: XSL - NewLine

2007-02-13 Thread Laurent Yaish
Why would you store data with line breaks in an XML element attribute that way in the first place? Sounds like instead of havin tag attribute=values with line breaks / you should reformat your data to be more flexible such as something like: tag attr_tagvalue1/attr_tag attr_tagvalue2/attr_tag

Re: XSL - NewLine

2007-02-13 Thread Daniel Noll
Laurent Yaish wrote: Why would you store data with line breaks in an XML element attribute that way in the first place? Sounds like instead of havin tag attribute=values with line breaks / you should reformat your data to be more flexible such as something like: tag attr_tagvalue1/attr_tag

Re: XSL - NewLine

2007-02-13 Thread Andreas L Delmelle
On Feb 14, 2007, at 01:03, Daniel Noll wrote: snip / (We do our own breaking by substituting fo:block/ elements into the appropriate places before running through FOP, although it sounds like this attribute to make linebreaks significant may be cleaner.) FWIW: I've always considered the

XSL - NewLine

2007-02-12 Thread Gregan, Miroslav
Hello all, I need to put manually new line in a pdf document and it has to be for the @value field. I know, to put a new line I should use a new block, but Is it possible to put some kind of \r\n string into the value to format it? fo:block hyphenate=true font-size=10pt font-weight=bold