Re: XSL - NewLine

2007-02-13 Thread Andreas L Delmelle
On Feb 14, 2007, at 01:03, Daniel Noll wrote: (We do our own breaking by substituting 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 insertion of em

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 you should reformat your data to be more flexible such as something like: value1 value2 value3 Depends, maybe that isn't semantically c

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 you should reformat your data to be more flexible such as something like: value1 value2 value3 Just my $.02 Laurent On 2/13/07, [EMAIL PROTECTED] <[EMAIL PROT

Re: XSL - NewLine

2007-02-13 Thread Tobias . Soloschenko
Hello, in one of my solutions I solved the problem with the symbol font:   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 I afraid I did not ask my questio

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 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
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: Mis

RE: XSL - NewLine

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

Re: XSL - NewLine

2007-02-13 Thread Abel Braaksma
Just use: or You can also add an entity to your doctype if you tend to use this kind of newlines more often: and use it as follows: &newline; which will be rendered as a \r\n by the serializer. Of course, you could also use an xsl:variable to do the same. Why do you want a \r *and*

Re: XSL - NewLine

2007-02-13 Thread Stefan Heuer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Miroslav, I used: for generating csv files. Regards Stefan Gregan, Miroslav schrieb: > 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 b

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? This XSL document is used to convert an XML document to