Hi,
i've created a totally new stylesheet like this:
---------------------
<xsl:template name="myNode">
<xsl:variable
name="mySequence">1,2,3,4,5,6,10,11,20,21,23,30,39,40,50,51,52,53,54,58,59</xsl:variable>
<fo:block>
<fo:table>
<fo:table-body>
<fo:table-row>
<fo:table-cell width="40mm" border="thin solid black">
<fo:block wrap-option="wrap" hyphenate="true"
language="de">
<xsl:value-of
select="replace($mySequence,',',',​')"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</xsl:template>
---------------------
and it wrapped correctly. so it seems that the problem is somewhere in my
(unfortunately very large) old stylesheet that i was originally created by an
colleague for fop 0.20.5. anyway, thanks for your time, i won't hesitate to ask
with further problems ;-)
----- Ursprüngliche Mail ----
Von: Abel Braaksma (online) <[EMAIL PROTECTED]>
An: [email protected]
Gesendet: Donnerstag, den 19. Juli 2007, 14:41:07 Uhr
Betreff: Re: AW: Forced Word Wrap
>
> I replace the comma with the zero width space:
> <xsl:value-of select="replace('1,2,3,4,5,6', ',' ,'​')"/>
>
> my result is - as expected:
> <fo:block wrap-option="wrap" hyphenate="true"
> language="de">1,2,3,4,5,6</fo:block>
>
No, this is not as expected. If you cut and paste your value-of
correctly, and if you are using XSLT 2.0 (1.0 would throw an error),
then your output would not include the comma's anymore.
> On the pdf output the line is wrapped, but the numbers are on top of
> each other.
Sounds like a bug to me. Can you provide a (smallest possible)
snippet of working XSL-FO and explain in natural language where the
ZWSP are supposed to be (the mailer messes them up) then we can test
it here as well.
Can you try it with normal spaces (U+20) to see what it looks like
then?
Cheers,
-- Abel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
__________________________________ Wissenswertes für Bastler und Hobby
Handwerker. BE A BETTER HEIMWERKER! www.yahoo.de/clever
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]