Apache FOP: keep-together in fo:inline elements isn't working

Hello.

My xsl file looks something like this:

<fo:block>
  text text
  <xsl:if> text </xsl:if>
  <xsl:if> more text </xsl:if>
  return within 14 days
</fo:block>

The problem is: In some cases (if the if condition is satisfied) the "14
days" get split up, leaving the "14" behind on the last line.

I tried to fix this with an inline element:

<fo:block>
  text text
  <xsl:if> text </xsl:if>
  <xsl:if> more text </xsl:if>
  return within <fo:inline keep-together.within-line="always">14
days</fo:inline>
</fo:block>

it seems as if the apache fo processor is just ignoring the whole
keep-together tag... i checked on the compliance page and there is no sign
of an incompatiblity (it says partial, stating that the integer value isn't
supported)

Have i made a mistake somewhere? Can i work around this somehow (last way
out would be a checking if the if conditions are true and making the line
break myself..)

Thanks,
Klaus
-- 
View this message in context: http://www.nabble.com/Apache-FOP%3A-keep-together-in-fo%3Ainline-elements-isn%27t-working-tp18713602p18713602.html
Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.

Received on Tuesday, 29 July 2008 14:34:29 UTC