this is a problem with your XSL style sheet, not with FOP processing; you
should review the XSL-FO output from the XSLT process to see what the real
input to FOP is


On Fri, Jun 22, 2012 at 11:57 AM, Rita Greenberg <rgreenb...@medata.com>wrote:

> Hello.
>
> In my xsl:fo stylesheet I'm using wrap-option="wrap" on a fo:cell level.
> I'm printing a hash (#) sign before an xml element if a cetain condition
> is met.
>
> So, my element has, for example, a value of "28" and if the condition is
> met I
> want to print #28. The problem is that I get # 28. A space is being added
> that
> I never asked for!
>
> I've tried using strip-space, and normalize-space but niether of them
> worked.
>
> The interesting thing is that when I wrap the # within a fo:inline, I
> don;t get
> the space but then I don't get the wrapping either.
>
> Here's my code.
>
> [code]
>
> <xsl:if test="RC[.!=''] and RCOVERRIDE[.!='Y']">
>  <xsl:if test="RCMODIFIED[.='Y']">#
>  </xsl:if>
>  <xsl:value-of select="RC"/>
>  <fo:inline font-size="4pt">&#160;</fo:inline>
> </xsl:if>
>
> [code]
>
> Thanks,
> Rita
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
>
>

Reply via email to