AH Formatter /
XSL Formatter
XSLT/XSL-FO/MathML TechnicsBlock |
|
| Q. | I am trying to set up the formatting for an element that is the equivalent of the HTML <pre> element, in which all text should be presented exactly as entered. However, it doesn't get me what I expected. Why? [No.2002071902] |
|---|---|
| A. |
In your stylesheet, <fo:block white-space-treatment="preserve"
linefeed-treatment="preserve">
apple
4, 7, 7, 12
</fo:block>
Initial value of the You need one more property as follows: <fo:block white-space-treatment="preserve"
linefeed-treatment="preserve" white-space-collapse="false">
apple
4, 7, 7, 12
</fo:block>
|