RE: xml with html in it - pdf issue

2007-08-02 Thread Louis . Masters
I think you just need something as simple as: xsl:template match=p fo:block xsl:apply-templates/ /fo:block /xsl:template This will create a block area for your paragraph tags. Modify the block as you need. -Lou Steve Osmond [EMAIL PROTECTED] wrote on

Re: xml with html in it - pdf issue

2007-08-02 Thread Manuel Mall
On Wednesday 01 August 2007 23:47, Steve Osmond wrote: Remember, you need to code the XSL that transforms html/xml to fo. Am I missing something obvious here? I have just written an xsl snippet in my first post for fo which should be able to translate right into the pdf, as far as I know.

Re: xml with html in it - pdf issue

2007-08-02 Thread Abel Braaksma
Manuel Mall wrote: Firstly you have HTML embedded as text in your XML. This is why all the HTML tags are escaped with the lt; and gt; entities. This means your stylesheet will not process these as normal tags but sees them simply as text. Your best bet will be: attack the problem at the

Re: fo:table-row split over two pages

2007-08-02 Thread Vincent Hennebert
Hi Nicolas, Nicolas Baumann a écrit : Hello, I'd like to avoid every fo:table-row splitting over two pages. I'm currently using fop 0.93 and I tried the option keep-with-next=always. It worked fine as long as the table could stay on one page. But when I try to put a table over several

fo:table-row split over two pages

2007-08-02 Thread Nicolas Baumann
Hello, I'd like to avoid every fo:table-row splitting over two pages. I'm currently using fop 0.93 and I tried the option keep-with-next=always. It worked fine as long as the table could stay on one page. But when I try to put a table over several pages, I almost always get at least one row over

Re: fo:table-row split over two pages

2007-08-02 Thread Nicolas Baumann
Try keep-together=always on the fo:table-row. Vincent It seems to solve the problem Thanks ! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

specials characters such as Œ

2007-08-02 Thread Nicolas Baumann
Hello, I need to include special characters such as Œ in the XML file given to the FOP processor. My XML is encoded with ISO-8859-1, which supports most characters but not Œ. How can I do this ? Thanks, Nicolas. - To

word too large for a table cell

2007-08-02 Thread Nicolas Baumann
Hello, When a word is too large for a table cell, it overlaps on the next cell. How do I avoid this ? I'm using fop 0.93. Thanks, Nicolas. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: word too large for a table cell

2007-08-02 Thread Abel Braaksma
Look for the thread of around 19/7 this month with the title Force word wrap that discusses the same issue. In a nutshell: either use Soft Hyphens (SHY) or use Zero Width Space (ZWS) depending on whether you want to see a hyphen when it breaks or not. Make sure your font supports them (SHY is

Re: word too large for a table cell

2007-08-02 Thread Nicolas Baumann
Abel Braaksma abel.online at xs4all.nl writes: Look for the thread of around 19/7 this month with the title Force word wrap that discusses the same issue. In a nutshell: either use Soft Hyphens (SHY) or use Zero Width Space (ZWS) depending on whether you want to see a hyphen when it

Re: specials characters such as Œ

2007-08-02 Thread Abel Braaksma
Nicolas Baumann wrote: Hello, I need to include special characters such as Œ in the XML file given to the FOP processor. My XML is encoded with ISO-8859-1, which supports most characters but not Œ. No, ISO-8859-1 supports almost no characters but the very basic ones, in fact, less then