I need to display a long text in xsl-fo. I have used wrap-option also but it did not work and still overflowing occurs for the text. Kindly suggest any idea for this.
The code is-
<fo:block font-size="12pt" wrap-option="no-wrap">
<xsl:value-of select="$advertNotes"/>
</fo:block>
Asked
Active
Viewed 137 times
0

ankur777
- 13
- 1
- 7
-
2`wrap-option="no-wrap"` forces the text to not break. See http://www.w3.org/TR/xsl11/#wrap-option. What happens when you don't have `wrap-option="no-wrap"`? – Tony Graham Oct 08 '15 at 11:30
1 Answers
0
wrap-option="wrap"
Allows the text to wrap. But the default of not setting wrap-option to anything should allow wrapping by default. So you must have some code with "no-wrap" if the text is running off the page.

Jeremy Odekirk
- 594
- 3
- 13