AW: keep-together.within-column with content 1 page

2010-05-26 Thread Georg Datterl
Hi Brad, keep-together=always doesn't work, because it's a short for three keeps, including keep-together.within-line, which you most likely don't want. Keep-together.within-column is the correct way. But always is too strong. Try keep-together.within-column=5. Numbers are not completely

Re: AW: AW: keep-together.within-column

2008-12-08 Thread Vincent Hennebert
Hi Sandra, sandraB wrote: I'm using a xsl stylesheet to transform an xml file to FO file. I don't know exactly in which cells I can get the classnames. So that means that you don’t have a special markup for classnames? In which case it’s only a guess game indeed. Maybe you can use a regexp

Re: AW: AW: keep-together.within-column

2008-12-08 Thread sandraB
Hi, I'm facing another issue. I keep my solution but with yours it will be the same problem: I transform the text() node by replacing the '.' with '\u200B'. But how can I call the xsl:apply-templates on the result (I can have some bold text text or italic text text in a table cell) ? My

Re: AW: AW: keep-together.within-column

2008-12-08 Thread sandraB
I'm using a xsl stylesheet to transform an xml file to FO file. I don't know exactly in which cells I can get the classnames. I use a template to search '.' and replace it by '\u200B' but I'm facing another problem with the invalid character (\). I'll update this topic when I will have the

AW: keep-together.within-column

2008-12-05 Thread Georg Datterl
Hi Sandra, Most likely the hyphenation method doesn't know where to insert a break. This was discussed on the developer list recently and the suggestion was to insert zero-width spaces. If you know exactly in which cells you can get the classnames, maybe you can replace all . with .+zero width

Re: AW: keep-together.within-column

2008-12-05 Thread sandraB
Hi, Could you give me an example please ? Georg Datterl wrote: Hi Sandra, Most likely the hyphenation method doesn't know where to insert a break. This was discussed on the developer list recently and the suggestion was to insert zero-width spaces. If you know exactly in which cells

AW: AW: keep-together.within-column

2008-12-05 Thread Georg Datterl
Hi Sandra, Basically depends how you get your data and where you manipulate it. I think, in the end the class name should look like com.\u200Bx.\u200Bxxx.\u200Bxxx.\u200Bx.\u200BGenericDecoder (in case Outlook is killing that: after each period is a unicode 200B).