XSLT/XSL-FO/MathML TechnicsBlock |
|
Q. | In order to preserve the linebreaks, we add a <xsl:attribute name="white-space"> pre </xsl:attribute>statement, which does preserve the linebreaks, but now overruns the right margin and does not word wrap. Why? [No.2002052402] |
---|---|
A. |
the W3C Recommendation for XSL-FO says CSS2 Definition: ... The CSS property shall be treated as a shorthand by XSL and maps as follows:
pre The following property doesn't break line. white-space="pre"
linefeed-treatment="preserve" wrap-option="wrap" |