[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: background-image being enlarged in final output

Subject: Re: background-image being enlarged in final output
From: Eric Smith <es@xxxxxxxxxxxx>
Date: Sun, 29 Jun 2003 23:32:39 +0200
background image justify
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.