|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: background-image being enlarged in final output
When formatting paragraphs with FO, I use:
<fo:block text-align="justify"
... >
And when I want to preserve space I use the attribute:
white-space-collapse = "false"
I would like some code to justify text _and_ respect empty lines
in the source node.
======================================================================
Example:
<para>
This text will be justified. This text will be justified. This
text will be justified.
will be justified. This text will be justified.
This text will be justified.
text will be justified. This text will be justified. This text
will be justified. This text will be justified.
</para>
So the output I would want is as follows:
This text will be justified. This text will be justified. This
text will be justified. will be justified. This text will be
justified.
This text will be justified. text will be justified. This text
will be justified. This text will be justified. This text will
be justified.
======================================================================
PS. I figured this would be an xslt question as we need to identify
the empty line and can apply a line break with <fo:block/> whenever
an empty line is encountered.
thanks for any help.
--
Eric Smith
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








